<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.
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... :-)