ali_as has quit [Ping timeout: 240 seconds]
pjustice has quit [Ping timeout: 268 seconds]
pjustice has joined #glasgow
ali_as has joined #glasgow
minicom is now known as minicomocinim
minicomocinim is now known as minicom
ExeciN has joined #glasgow
diverger has joined #glasgow
ZirconiumX has quit [Quit: Love you all~]
divergence has quit [Ping timeout: 265 seconds]
_whitelogger has joined #glasgow
ZirconiumX has joined #glasgow
nicexe has joined #glasgow
nicexe has quit [Ping timeout: 268 seconds]
nicexe has joined #glasgow
ali-as has joined #glasgow
ali_as has quit [Read error: Connection reset by peer]
diverger has quit [Quit: ZNC 1.7.4 - https://znc.in]
diverger has joined #glasgow
nicexe has quit [Ping timeout: 268 seconds]
nicexe has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 260 seconds]
Stormwind_mobile has joined #glasgow
nicexe has quit [Ping timeout: 260 seconds]
nicexe has joined #glasgow
nicexe has quit [Ping timeout: 240 seconds]
nicexe has joined #glasgow
nicexe has quit [Ping timeout: 240 seconds]
bvernoux has joined #glasgow
_florent_ has quit []
_florent_ has joined #glasgow
sorear has quit []
sorear has joined #glasgow
bvernoux has quit [Quit: Leaving]
nicexe has joined #glasgow
<electronic_eel> whitequark: I was just browsing through the selftest code to get an idea how to fix/improve it, but then I stumbled upon something else
<electronic_eel> the OE signal goes from the fx2 to the ice40. do we really need it that way?
<electronic_eel> couldn't we just tap the enva and envb signals on the ice40 instead? I don't really see an application where you would enable the ice40 outputs but not any of the ports
<electronic_eel> that would save us one additional pin on the fx2. we were struggling to free some for revD, so this move might give us one extra
<electronic_eel> or did I misunderstand the use/importance of the OE signal?
midnightmagic is now known as midnight
JimGM0UIN has quit []
JimGM0UIN has joined #glasgow
<whitequark> electronic_eel: er
<whitequark> that OE signal is for the FX2 bus
<electronic_eel> ok, so I probably misunderstood that. So it is not the one switched by REQ_IOBUF_ENABLE?
<whitequark> that request only changes ENA/ENB pin state
<electronic_eel> hmm, I'm confused by the code in dac_ldo, iobuf_enable() there switches PIND_OEQ_N
<whitequark> let me check things again
<whitequark> ok so, first, take a look at GlasgowPlatformRevC1
<whitequark> there is no OE input other than on the FX2 bus, right?
<whitequark> oh
<whitequark> sorry, I see what you mean now
<whitequark> electronic_eel: you are 100% right to be confused
<whitequark> because that part *is* confusing :)
<whitequark> PIND_OEQ_N does not exist on revC at all
<whitequark> it was driving the nOE input on FXMAs on revAB
<electronic_eel> ah, ok, that explains it
<electronic_eel> thanks
<electronic_eel> so no new pin to spare :(
<whitequark> yeah
<whitequark> IIRC we did settle on some solution though?
<electronic_eel> yes, we did find a solution IIRC
<electronic_eel> but would be easier if we had one more
<electronic_eel> do you know offhand why the selftest enables nOE after the tests in https://github.com/GlasgowEmbedded/glasgow/blob/master/software/glasgow/applet/internal/selftest/__init__.py#L175
<electronic_eel> while setting the io-voltage to 0
<whitequark> yes
<whitequark> the reason it manipulates _iobuf_enable at all is revAB
<electronic_eel> yeah, that part is clear, nOE is only on A and B
<electronic_eel> but why not disable it at the end of the int/ext/pull tests?
<whitequark> iirc nOE is normally always enabled or something
<whitequark> yes, it is enabled in iobuf_init_dac_ldo()
<whitequark> in fact it is only exposed for selftest
<electronic_eel> ah, ok, so you just set it to disabled in selftest to get the pins-int test not to interfere with the outside
<whitequark> yes
<electronic_eel> ok, thanks for explaining. understanding the details of selftest is key to fixing it
<whitequark> I think the main thing we need to decide is whether to keep revAB support in selftest
<whitequark> elsewhere it doesn't hurt, in selftest it's troublesome