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)
brolin has quit [Ping timeout: 252 seconds]
brolin has joined #glasgow
brolin has quit [Remote host closed the connection]
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #glasgow
balrog has quit [Ping timeout: 268 seconds]
balrog has joined #glasgow
redstarcomrade has joined #glasgow
ar-jan has joined #glasgow
ar-jan has quit [Ping timeout: 268 seconds]
ar-jan_ has joined #glasgow
itsmk has quit [Ping timeout: 268 seconds]
joerg has quit [Remote host closed the connection]
joerg has joined #glasgow
joerg has quit [Remote host closed the connection]
joerg has joined #glasgow
joerg has quit [Remote host closed the connection]
joerg has joined #glasgow
joerg has quit [Remote host closed the connection]
joerg has joined #glasgow
redstarcomrade has quit [Quit: Connection closed for inactivity]
<d1b2> <rwhitby> USB-PD add-on now has a 1.2V rail, and level converters and analog muxes for SBU1/2 and D+/-.
<d1b2> <rwhitby> But I need to test out the level converters and analog muxes to see if they are genuine or not (they are unobtanium so came from a random AliExpress shop). Should be able to apply voltages on one side and see them come out the other without damaging anything.
<d1b2> <rwhitby> So to test out these converters, what's the best way to set random pins on port A and B to various directions and levels? Is there an applet already that just provides command line access to wiggling pins?
<d1b2> <rwhitby> Or do I need to hack on the internal.selftest applet?
<whitequark> probably the latter is easiest
<d1b2> <rwhitby> I might as well make it general purpose and contribute it - what would be a good applet name for it?
<d1b2> <Attie> I was conjuring a need for arbitrary CLI pin wiggling earlier today...
<d1b2> <rwhitby> well I'm about to sleep, so maybe the applet pixies will have one waiting for me to use tomorrow 😉
<whitequark> I'm not so keen on accumulating lots of general purpose applets each of which is actually written for some special purpose
<whitequark> for now probably just write it however is convenient for you?
<d1b2> <rwhitby> no worries, Attie and I can collaborate on a fork
<d1b2> <rwhitby> I was thinking just having command line args for dir_a, dir_b, oe_a, oe_b, data_a, data_b.
<d1b2> <rwhitby> could even just make it another test mode which allows you to manually set or read pins
<d1b2> <rwhitby> (in the existing selftest applet)
<whitequark> ah
<whitequark> yeah, a mode that spawns a REPL would be useful
<d1b2> <icb> An applet that lets you just bit bang from Python does sound useful
<whitequark> it's not that useful because of USB latencies
<whitequark> incredibly slow
<whitequark> and very unpredictable
ar-jan has joined #glasgow
ar-jan_ has quit [Ping timeout: 260 seconds]
<d1b2> <rwhitby> Yes, I’m thinking static pin control, not dynamic wiggling.
brolin has joined #glasgow
<electronic_eel> a generic mechanism for static pin control seems useful to me
<whitequark> yeah, agree
<whitequark> let's add one then
redstarcomrade has joined #glasgow
jstein has joined #glasgow
brolin has quit [Remote host closed the connection]
redstarcomrade has quit [Quit: Connection closed for inactivity]
redstarcomrade has joined #glasgow
FFY00 has quit [Read error: Connection reset by peer]
<d1b2> <vivithecanine> @rwhitby do you have a waitlist of your PD addon?
FFY00 has joined #glasgow
<d1b2> <rwhitby> @vivithecanine my original intent was to design it fully able to be assembled at JLCPCB. Component shortages killed that idea.
<d1b2> <rwhitby> What’s your usage scenario?
slurdge09 has joined #glasgow
slurdge0 has quit [Ping timeout: 252 seconds]
slurdge09 is now known as slurdge0
redstarcomrade has quit [Quit: Connection closed for inactivity]
ar-jan has quit [Ping timeout: 260 seconds]
jstein has quit [Quit: quit]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #glasgow