whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.catirclogs.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
TedSchundler[m] has joined #glasgow
<TedSchundler[m]> Thanks for the recent SPI fixes. I was having some trouble a week or two ago and signals didn't seem quite right on the oscilloscope for mode 3 with the flags about rising edge, etc. Now it seems to be working as expected.
<TedSchundler[m]> I noticed that "--mode 3" flag on the CLI returns an error, but since it's the default now that doesn't matter.
<whitequark[cis]> oh, does it? could you post the error?
<whitequark[cis]> (also, SPI isn't done until it supports every mode; it turns out to be way more prevalent than i expected to have devices that really do only work in a specific mode)
sakirious[m] has joined #glasgow
<sakirious[m]> Anywhere to start if you're developing a custom applet? Referencing the existing applets or is there an example/tutorial I'm just missing?
<whitequark[cis]> copy examples/boilerplate.py, then extend it by looking at existing applets
<whitequark[cis]> despite being the author of the thing, i do the exact same thing every time i make a new applet, there isn't a secret sauce
<sakirious[m]> Ok, will do. Thank you!
<whitequark[cis]> we're currently in the middle of an API migration, so you probably only want to look at "V2" applets for examples of code
<sakirious[m]> Hmm...any easy way to identify the v2 vs legacy applets? I see the commit messages, but any other method?
<whitequark[cis]> just grep the applet __init__.py for `GlasgowAppletV2
<whitequark[cis]> * just grep the applet __init__.py for GlasgowAppletV2
<sakirious[m]> Ah, thanks!
<whitequark[cis]> oh, missing type=int, oops
ali_as has quit [Ping timeout: 260 seconds]
<TedSchundler[m]> Related to working more globally, I wonder if a signal like this might be more universal, where the data is in the valid state for both edges of the clock.
<TedSchundler[m]> (I was noticing a signal like that on my oscilloscope from an arduino)
<TedSchundler[m]> for input, read at the same point I have the output switching there. Then you might need to flip the polarity on clock
<TedSchundler[m]> but then mode might be less important that idle clock level
<whitequark[cis]> the problem with this is that you get frequency-limited
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
lcfr029A has joined #glasgow
lcfr029A has left #glasgow [#glasgow]
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-4> [glasgow] galibert synchronize pull request #930: i2c-initiator conversion to V2 - https://github.com/GlasgowEmbedded/glasgow/pull/930
lxdr533 has quit [Remote host closed the connection]
lxdr533 has joined #glasgow
GNUmoon has quit [Ping timeout: 244 seconds]
GNUmoon has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-4> [glasgow] galibert commented on pull request #930: i2c-initiator conversion to V2 - https://github.com/GlasgowEmbedded/glasgow/pull/930#issuecomment-3045476884
redstarcomrade has joined #glasgow
dne has quit [Remote host closed the connection]
dne has joined #glasgow
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #glasgow
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #glasgow
ali_as has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow