jonsger has quit [Ping timeout: 250 seconds]
mzki has quit [Ping timeout: 258 seconds]
chomwitt has quit [Quit: WeeChat 1.0.1]
<wpwrak> now this is a fun little movie: https://www.youtube.com/watch?v=NpN9NzO4Mo8
knttl has quit [Ping timeout: 240 seconds]
knttl has joined #neo900
raoulzecat has joined #neo900
raoulzecat has quit [Quit: byebye]
ecloud_wfh has quit [Ping timeout: 258 seconds]
ecloud has joined #neo900
Kabouik_ has joined #neo900
xmn has quit [Quit: Leaving.]
louisdk has joined #neo900
louis__ has joined #neo900
louis__ has quit [Ping timeout: 240 seconds]
louisdk has quit [Ping timeout: 250 seconds]
neo900 has joined #neo900
Joerg-Neo900 is now known as Guest7574
neo900 is now known as Joerg-Neo900
Guest7574 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #neo900
wpwrak has quit [Ping timeout: 260 seconds]
wpwrak has joined #neo900
Kabouik_ has quit [Ping timeout: 240 seconds]
ahycka has quit [Ping timeout: 258 seconds]
ceene has quit [Ping timeout: 256 seconds]
ahycka has joined #neo900
ceene has joined #neo900
galiven has joined #neo900
galiven__ has quit [Ping timeout: 258 seconds]
rootman has joined #neo900
ecloud has quit [Ping timeout: 248 seconds]
SylvieLorxu has joined #neo900
ecloud has joined #neo900
mzki has joined #neo900
Kabouik_ has joined #neo900
jonsger has joined #neo900
SylvieLorxu has quit [Quit: ZNC - http://znc.in]
Pali has joined #neo900
jonsger has quit [Ping timeout: 265 seconds]
Kabouik_ has quit [Quit: Leaving]
Kabouik has joined #neo900
SylvieLorxu has joined #neo900
<wpwrak> Joerg-Neo900: i'll classify the modem VBUS switch as a v2-only feature, okay ? in case it should turn out we'll need it in final as well, it can always be reclassified
SylvieLorxu has quit [Quit: ZNC - http://znc.in]
<Joerg-Neo900> I don't think it's a v2_only but a classification doesn't hurt
<Joerg-Neo900> we rather should check what's the role and means of implementation of VBUS with a PHY
<Joerg-Neo900> if PHY has support for VBUS (if only in form of a logic line controlling whatever external chargepump or whatever), then the current implementation for sure is v2_only
* Joerg-Neo900 jumps to BD
* Joerg-Neo900 HMMs at http://media.digikey.com/pdf/Data Sheets/Microchip PDFs/USB332x.pdf
<wpwrak> :)
<Joerg-Neo900> VBUS obviously in very first diagram/figure in that pdf
<wpwrak> ideally, suspend/resume will work as it should, and then power cycling vusb_modem won't be needed. the usb architecture doesn't assume that you actually can do that anyway. so that would only be needed post-v2 if either some horrible surprise is found with suspend/resume, or if no conclusive result has been obtained during v2 evaluation
<Joerg-Neo900> power cycling of VBUS is needed anyway to trigger a new session
<wpwrak> that's already somewhere in the fancy feature domain :)
<Joerg-Neo900> the USB architecture assumes you can unplug USB cable, which we can't
<wpwrak> okay, let's say "core architecture". there, if you need to reset/re-enumerate a device, you just send a SE0 but don't touch VBUS.
<wpwrak> and for "sleep", you have suspend/resume
<Joerg-Neo900> >> In addition to the internal VBUS comparators, the USB332x also includes the integrated VBUS pull-up and pull-down resistors used for VBUS Pulsing during OTG Session Request Protocol. To discharge the VBUS voltage so that a Session Request can begin, the USB332x provides a pull-down resistor from VBUS to Ground. This resistor is controlled by the DischargeVbus bit 3 of the OTG Control register. The pull-up resistor is connected between VBUS
<Joerg-Neo900> and VDD33<<
<Joerg-Neo900> so yes, this feature is prolly v2_only :-)
<Joerg-Neo900> though: >> The USB332x does not provide an external output for the DrvVbusExternal ULPI register. For OTG and Host applications, the external VBUS supply or power switch must be controlled by the Link as shown in Figure 8.2.<<
<Joerg-Neo900> so obviously we need "chargepump" aka "VBUS switch" for final too, and we need to control it from APE
<Joerg-Neo900> so we add a switch (FET?) to VBAT_SW (3.3V<VBUS<5.5V) and hook it up to an IO-extender
<wpwrak> already there :)
<Joerg-Neo900> :-D
<wpwrak> but i'm not so sure about the requirement for post-v2. the link controller is outside the scope for the PHY. so even if the PHY insists in being able to monitor VBUS, we could just connect it to VBUS_SWITCHED (and hope it doesn't mind the voltage difference)
<Joerg-Neo900> VBUS control is mandatory for USB
<Joerg-Neo900> actually it's even mandated for host controllers afaik, even while some PC host implementations disregard that
<Joerg-Neo900> for our design anyway VBUS disabling is the only way to "unplug" the USB peripheral, which is a desirable feature no matter what
<Joerg-Neo900> yet to be avaluated if it's even allowed by modem specs to apply >3V to VBUS while VDD is zero
<wpwrak> regarding switching vbus, you may want to read section 7.2.1.1 "Bus-powered Hubs" of usb 1.1. especially "Switching on the non-removable function is not required if the aggregate power drawn by it and the Hub Controller is less than one unit load."
<Joerg-Neo900> o.O
<Joerg-Neo900> how's that related?
<wpwrak> ah yes, VBUS >> VCC could be an interesting case
<wpwrak> that section talks about switching power to downstream ports, and even explicitly references non-removable devices
<Joerg-Neo900> we're not going to gamble and take chances regarding implementation of an available feature that seemingly is useful too
<wpwrak> well, we'll have it in v2. when we can see what to do with it.
<Joerg-Neo900> the spirit of Freerunner and Neo is "let the user see what to do with it"
<Joerg-Neo900> we really don't need to spend hours of discussion about implementing a clearly 100% safe and standard feature, or rather leave it out based on whatever highly specific evaluation for the sake of saving 2 0302 components on bom
<Joerg-Neo900> adding that tiny switch allows us to "unplug" the modem from VBUS. This alone is enough benefit to have it
<Joerg-Neo900> s/VBUS/USB/
<Joerg-Neo900> I don't see the purpose of writing a whitepaper why we considered this feature not worth implementing
<wpwrak> if you're concerned about VBUS >> VDD,perhaps the switch should then be controlled either by MODEM_EM, or route MODEM_EN to the SIM power silego, and control the VUSB_MODEM switch from the silego ? the silego would then implement EN_VBUS_MODEM = MODEM_EN && <i2c-settable-bit>
<Joerg-Neo900> note for final: consider connecting VBUS switch in to PHY VDD33 instead VBAT_SW
<Joerg-Neo900> yeah, good idea if we really need to make sure VBUS<VCC
<Joerg-Neo900> to be evaluated against modem DS
<Joerg-Neo900> we also could power the PHY from VEXT, and VBUS from PHY VDD33
<Joerg-Neo900> that's a topic for final though, not for v2
<wpwrak> controlling the power source from the things being supplied, even if only nominally in this case, seems a little risk-seeking ;)
<Joerg-Neo900> hm?
<Joerg-Neo900> sorry I can't parse that
<Joerg-Neo900> of course powering down PHY with modem is annoyingly laying-violating and introduces issues to (USB)driver init
<wpwrak> yes, the power/control flow has a loop. probably doesn't matter in this case, since it's not about really supplying power
<Joerg-Neo900> when we power PHY from VEXT then PHY will lose initialization on modem shztdown
<Joerg-Neo900> this is no issue neither for modem nor for ULPI hw, but it makes life of USB kernel driver devels a nightmare
<wpwrak> or the lives of those using the driver ;-)
<Joerg-Neo900> or that
<Joerg-Neo900> we would have to mandate modem-USB kernel driver getting unloaded prior to modem shutdown
<Joerg-Neo900> or have a special driver that re-initializes PHY whenever modem gets powered up
<Joerg-Neo900> not exactly a bad concept, but unusual
<Joerg-Neo900> anyway there are more signals than just VBUS on modem that need evaluation if save to be at VIO18 or even VBUS level while modem power shut down
<Joerg-Neo900> safe*
<Joerg-Neo900> seems VBUS is safe
<Joerg-Neo900> we need to check other signal lines though
<Joerg-Neo900> but it doesn't sound like this is catastrophic failure, so I assume we can hanle all this in software
<wpwrak> looks software-ish, yes
<Joerg-Neo900> :-)
<wpwrak> anyway, i've now moved VUSB_MODEM switch control to the SIM pwr silego
<Joerg-Neo900> hmm, ok
<Joerg-Neo900> :-)
<Joerg-Neo900> looks like a natural place for it
<Joerg-Neo900> the silego critters are bored anyway with our design ;-)
<wpwrak> they're perfect for this :)
<Joerg-Neo900> "I can do this too, of course! and could you please find me a TV? I'm bored"
<wpwrak> else, we'd already have another board between UPPER and LOWER, full of 74xx1g and 74xxx2g chips, plus a bunch of comparators :)
<Joerg-Neo900> nah, we prolly had way more clumsy less versatile perfect solutions for a lot of things
<Joerg-Neo900> possibly no dual SIM at all
<Joerg-Neo900> incl smartcard reader functionality
<Joerg-Neo900> and maybe our RF modem monitor would be snakeoil since it either would suffer from frequent false positives and thus suck battery empty by constantly awakening APE CPU, or it wouldn't detect low energy TX at all
<Joerg-Neo900> just like e.g. the SB sleeve will
<Joerg-Neo900> oh wait, do they even implement true RF detection? or only try to monitor a bus for events that never will show up there
jonsger has joined #neo900
SylvieLorxu has joined #neo900
lobito1 has joined #neo900
lobito1 is now known as lobito
lobito has quit [Changing host]
lobito has joined #neo900
louis__ has joined #neo900
louisdk has joined #neo900
chomwitt has joined #neo900
louis__ has quit [Ping timeout: 250 seconds]
louisdk has quit [Ping timeout: 250 seconds]
Kabouik has quit [Ping timeout: 258 seconds]
xmn has joined #neo900
freemangordon has quit [Ping timeout: 265 seconds]
freemangordon has joined #neo900
Pali has quit [Remote host closed the connection]
cc___ has quit [Quit: WeeChat 1.6]
louis__ has joined #neo900
louisdk has joined #neo900
lobito has quit [Read error: Connection reset by peer]
cc___ has joined #neo900
lobito has joined #neo900
jonsger1 has joined #neo900
jonsger has quit [Ping timeout: 250 seconds]
jonsger1 is now known as jonsger
SylvieLorxu has quit [Quit: ZNC - http://znc.in]
Kabouik has joined #neo900