<niklas>
do you have a strong opinion regarding the reset controller?
<niklas>
would you hate me alot if I just replaced U7, U8 and U36 with two AMS1117? :D
* apo
replaces niklas with three 555s
<whitequark>
regarding U8 and U36: the specific part number is not critical, but please make sure that the LDO will be stable with the amount of ceramic capacitance we have. that was a factor in choosing the current LDOs and we had to reject a few
<whitequark>
AMS1117 is also pretty huge even in SOT223 and I'm not sure if they'll fit?
<niklas>
it would
<whitequark>
hng on
<whitequark>
you can't use AMS1117 for the 1.2V rail
<whitequark>
first, they don't make the 1.2V variant
<whitequark>
second, it has a minimum load current that under most conditions is larger than the FPGA core current
<whitequark>
certainly during reset
<whitequark>
the datasheet says AMS1117 requires a 22uF tantalum cap on the output
<whitequark>
but I'd still like electronic_eel to take another look in case I missed anything
<whitequark>
now, regarding the reset generator
<whitequark>
it actually serves two purposes. first, the FX2 datasheet says it does not have an internal reset circuit and requires an external reset generator
<whitequark>
similarly, the FX2 doesn't have a brownout detector
diverger has joined #glasgow
divergence has quit [Ping timeout: 256 seconds]
<whitequark>
so after crowbaring an IO port, if the voltage does sag after all, the FX2 will glitch out
<whitequark>
we actually did hit such a problem on revC0 because I screwed up the resistors for the reset generator
<whitequark>
oh, also the FX2 has power sequencing requirements as well
<whitequark>
er
<whitequark>
the FPGA has
<niklas>
okay but FPGA-reset is controlled by the FX
<niklas>
so a simple single channel reset controller for the FX would be sufficient
<whitequark>
don't forget FPGA power sequencing
<whitequark>
actually, wait
<whitequark>
iCE40UP5K has specific power sequencing requirements
<whitequark>
but iCE40HX8K doesn't
<whitequark>
that's kind of strange, but convenient for this. maybe daveshah knows why?
<whitequark>
niklas: ok, so, the 3 channel reset generator is a holdover from revAB and AFAICT we can safely replace it with a 1 channel reset generator
<whitequark>
ok, so, we are actually only using 6 bits of resolution of the ADC (why did we use a 12 bit ADC for that?..)
<whitequark>
since the UI actually just truncates after one decimal place and we don't guarantee anything beyond a 100 mV step
<whitequark>
that means 10 nF Cext is just fine
<whitequark>
can be as low as 2.5 nF
<whitequark>
niklas: TPD3S014 is quite critical for overall board operation because it integrates a current limiter
<whitequark>
TPD3S014, TPS73101, and LM3880 currently work together to ensure that shorting Vio to ground (or another power rail) is safe and ideally never causes the board to brown out, but if it does brown out, that the board will recover on its own
<whitequark>
so any change to these parts requires repeating these tests
<whitequark>
there's also a concern about damaging poorly designed motherboards with USB overcurrent conditions
<whitequark>
this doesn't happen frequently but it does happen often enough that I'd like to see a tool which is inherently likely to overloa USB ports to try and prevent that
<whitequark>
especially on revD which will have 5V exposed for the addons
<niklas>
it's missing some parts even through tey are available at jlc, because you can only select up to 10 different "extended components"
<whitequark>
niklas: stackup: I don't think it matters for any of the signals on this board, and besides, we never required a particular stackup, so it would be too late now
<niklas>
so I will have to check tomorrow if we can further simplify the design
<whitequark>
doesn't C87 interfere with U36 etc?
Stary has joined #glasgow
<niklas>
yup, the rendering is too big
<niklas>
should fit through
<whitequark>
ah ok
<whitequark>
that looks pretty good; I think so far I'm on board with all of the schematic changes you suggested, and they seem like a significant improvement in DFM
<whitequark>
schematic/component rather
<whitequark>
regaring further simplification, all that comes to mind is eliminating a few resistor values, but that won't help you with JLCSMT, will it?
<whitequark>
... also wait, is that $20@10 per board cost?
<whitequark>
right, the main thing is they aren't Y5V
<whitequark>
that's quite excellent then
<whitequark>
niklas: here's what I think: the DFM component changes (and things like the internal 3V3/1V2 LDOs) should definitely make it to upstream since they greatly benefit everyone
<whitequark>
the changes to layout, power and protection circuits should be tested and if they work well, then they should ideally also get to upstream. but if for some reason they don't (don't currently see why but things happen), I would have no issue supporting Edinburgh as a functionally equivalent spin-off board and link it to everyone who wants a cheaper version
<whitequark>
that said, if we can make it cheaper yet functionally equivalent then ideally everyone should be able to use that design.
<awygle>
nice job niklas
<awygle>
gonna have to go through those changes in detail
<awygle>
i've been really into DF(Cheap) recently
<whitequark>
awygle: can you open an issue tracking each of these changes as you do that?
<awygle>
oof, responsibility
<awygle>
yes, but not on any particular schedule, and only if nobody beats me to it. fair?
<whitequark>
totally
<awygle>
cool :D
* awygle
bookmarks the relevant log page
<whitequark>
depending on esden's schedule I suspect we might end up with revC2 that has DFM changes alone, and revC3 that goes all the way to one sided PCBA
<awygle>
is esden the one that's been doing all the DFM on rev C? you've been cryptic about it on twitter :p
<esden>
I was giving some suggestions...
<whitequark>
it's a group effort
<esden>
I do like the changes proposed by niklas though...
<awygle>
i see
<awygle>
i have been trying to learn about DFM and designing for cost and whatnot. although on my last board i apparently did that to such an extent that i completely fucked up an entire IC >_> oops
<whitequark>
entire IC?
<whitequark>
as in you killed it?
<awygle>
you may have seen azonenberg posting about it on twitter, but i ... don't know what i was thinking. i didn't ground a thermal pad, shorted two regulators together, the decoupling is all wrong
<whitequark>
ahh
<awygle>
he's been trying to help me hack something into working well enough for me to test the design but at this point i may have to just respin :/ ah well that's what happens when you get sloppy
<whitequark>
happens to all of us
niklas has quit [Ping timeout: 256 seconds]
niklas has joined #glasgow
gregdavill has joined #glasgow
niklas has quit [Ping timeout: 246 seconds]
bgamari has quit [Remote host closed the connection]
bgamari has joined #glasgow
_whitelogger has joined #glasgow
_whitelogger has joined #glasgow
<_whitenotifier-3>
[glasgow] jeremyherbert commented on issue #179: python modules not found after install - https://git.io/JvMOr
uberushaximus has quit [Ping timeout: 256 seconds]
uberushaximus has joined #glasgow
midnight has quit [Ping timeout: 246 seconds]
midnight has joined #glasgow
diverger has quit [Read error: Connection reset by peer]
diverger has joined #glasgow
audionerd has joined #glasgow
<electronic_eel>
janhenrik: niklas: nice work with the Edinburgh!
audionerd has left #glasgow [#glasgow]
<noopwafel>
it is super cool to see; I spent a while trying to work out how it could be $30 but then I realized, connectors/headers/shipping/etc not included, I guess?
<noopwafel>
but <$50 glasgow equivalent would be amazing
<electronic_eel>
I saw the polymer cap is planned to be populated by JLC, I think that will make it hard to hand solder the fx2. I suggest to chose another extended part to be populated at jlcsmt instead
gregdavill has quit [Quit: Leaving]
nmolo has joined #glasgow
RaYmAn_ is now known as RaYmAn
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
ali_as has joined #glasgow
Stary has quit [Read error: Connection reset by peer]
futarisIRCcloud has joined #glasgow
Stary has joined #glasgow
diverger has quit [Read error: Connection reset by peer]
Stary has quit [Ping timeout: 246 seconds]
diverger has joined #glasgow
niklas has joined #glasgow
m4ssi has joined #glasgow
Getorix has joined #glasgow
Getorix_ has quit [Ping timeout: 264 seconds]
<niklas>
electronic_eel: my thoughts exactly
ExeciN has joined #glasgow
tomtastic has quit [Ping timeout: 250 seconds]
tomtastic has joined #glasgow
m4ssi has quit [Remote host closed the connection]
m4ssi has joined #glasgow
m4ssi has quit [Remote host closed the connection]
niklas has quit [Ping timeout: 246 seconds]
carl0s has joined #glasgow
bvernoux has joined #glasgow
diverger has quit [Read error: Connection reset by peer]
diverger has joined #glasgow
niklas has joined #glasgow
<electronic_eel>
niklas: do you want me to do a review of your component changes?
niklas has quit [Ping timeout: 246 seconds]
diverger has quit [Read error: Connection reset by peer]
diverger has joined #glasgow
<gruetzkopf>
i might be interested in aquiring a board of this testrun ;) (i currently have a revB)
andres48 has joined #glasgow
<andres48>
Hey there, I just finished my assembly of a revC1 board, and I'm trying to run the self test
<andres48>
I'm getting this: ERROR: Parser error in line 619: syntax error
<tnt>
Pastebin the complete error and command line please.
<andres48>
Does anyone know if it is a python/environment/mainstream issue or it can be the board ?