whitequark changed the topic of #glasgow to: digital interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow (FUNDED)
<d1b2> <rwhitby> Testing the analog muxes and level converters before plugging it into Glasgow …
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #glasgow
<d1b2> <rwhitby> Sweeping the external input to the 1.2V to 3.3V level converter is interesting ...
<d1b2> <rwhitby> This is the circuit - "EXTERNAL" is the signal on the right, "GLASGOW" is SBU1_3V3 (connected to Glasgow), SBU1_DIR is low, SLV_N is low.
<d1b2> <rwhitby> The plateau on the GLASGOW signal is around 1.6V to 1.7V and occurs around 0.6V on the EXTERNAL signal.
<d1b2> <rwhitby> Feeding in a square wave looks good enough for picking up 1.2V UART or SWD off SBU1/2 or D+/-
<d1b2> <rwhitby> Sine wave input shows the VIL/VIH transition areas.
<d1b2> <rwhitby> Finally found a use for the signal generator on the Miniware tweezers :-)
brolin has joined #glasgow
brolin has quit [Remote host closed the connection]
<d1b2> <rwhitby> So I'm trying to add repl support to my applet. It's based on the i2c_initiator (I subclass from I2CInitiatorApplet, and use I2CInitiatorSubtarget and I2CInitiatorInterface). Since I don't know how to add an interrupt signal from the FUSB302I want to have a background task which polls te
<d1b2> <rwhitby> I use asyncio.Lock() to ensure that the repl and the background task don't try and access the I2C gateware at the same time (they have to operate one after the other in sequence), and that seems to be working.
<d1b2> <rwhitby> I use asyncio.create_task() to create a monitor task, which itself is a loop which checks the status registers over I2C and then does asyncio.sleep() for a short polling period.
<d1b2> <rwhitby> If I hold down the enter key on the repl, I can see the monitor task executing in the background at the polling period rate.
<d1b2> <rwhitby> Is there a way to have that background task execute periodically even if I am just sitting at the repl prompt and not doing anything?
<d1b2> <vivithecanine> @rwhitby running it through the paces once my glasgow and luna are in, I'm interested in using it with m1n1 but also learning a bit about pd/pps
<d1b2> <vivithecanine> I'm fine with going through a board house though too
joerg has quit [Ping timeout: 268 seconds]
joerg has joined #glasgow
<d1b2> <rwhitby> @vivithecanine I'm building 5 boards at the moment. 3 of them (including 2 for myself) are already spoken for. Once they are all assembled and tested, I'll review where the interest is, and who is most likely to be able to collaborate on driving the applet forward.
<d1b2> <rwhitby> Well, I'm learning that my soldering setup is only barely up to the task of SOT-363/SC-70 components. And my flux is opaque, and IPA wipes are not enough to get in between the components to get it off.
redstarcomrade has joined #glasgow
<marcus_c_> @rwhitby Did you test with Hi-Z input? That looks _really_ interresting on some level shifters... :-)
Lilian has quit [Quit: ZNC 1.8.2 - https://znc.in]
Lilian has joined #glasgow
Lilian has quit [Quit: ZNC 1.8.2 - https://znc.in]
Lilian has joined #glasgow
ar-jan has joined #glasgow
cyrozap has joined #glasgow
ar-jan has quit [Ping timeout: 268 seconds]
redstarcomrade has quit [Quit: Connection closed for inactivity]
ar-jan has joined #glasgow
brolin has joined #glasgow
ar-jan has quit [Ping timeout: 252 seconds]
brolin has quit [Remote host closed the connection]
brolin has joined #glasgow
ar-jan has joined #glasgow
ar-jan has quit [Ping timeout: 252 seconds]
ar-jan has joined #glasgow
lxdr has quit [Read error: Connection reset by peer]
lxdr has joined #glasgow
jstein has joined #glasgow
jstein has quit [Quit: quit]
ar-jan has quit [Ping timeout: 268 seconds]
brolin has quit [Remote host closed the connection]