I used the OLED as a test since my other Pico project has the OLED library and it was easy enough to test with. I needed this to test some of my software that communicates with an I2C device and I want to write my own code to mimic the device so I need to see if the transfers are correct or not.One thing I have always found useful is to develop 'as a pair', create the protocol analyser and create something which can drive that, so you can try all sorts of variants of legitimate transactions and invalid ones. That helps shake out any issues which may not otherwise be spotted until deeper into development.There is an OLED on the bus at 0x3c Now it makes sense.
You could potentially do that on a single Debug Probe with the two JST looped back to each other. You can initially start slow and with bit-banged output before moving to using I2C or other hardware more representative of the real world it will ultimately be operating in.
This code uses both cores of RP2040 and a good chunk of the RAM I'm not sure there is much left. I would have liked to get clock measurements to see if my clock is the correct speed I can do that with other tools that I have but this I2C probe is just handy.
Statistics: Posted by DarkElvenAngel — Sat Apr 06, 2024 5:10 pm