Problem resolved.
I decided to shotgun the problem and just start removing components. The issue was caused by one of the daughter boards in my system.
So while I don’t know the root cause yet, I plan to leave the offending board unplugged and...
I connected a thicker ground wire to the ground between 3.3v and 5V, then to the first ground pin on the other side, then to the another ground, one at a time with no success.
Installed a new Teensy 4.1, with the same result.
Measure the...
maybe “start up” wasn’t the right word.
The issue happens at the start of every one second loop.
Another thing I noticed is that SDA looks fine, only SCL has the ramping issue, as shown below:
I'm using 2K pull up resistors.
This simplified code exhibits the same issue, though I'm not sure it's the code (though I've been wrong before):
#include <Arduino.h>
#include <i2c_device.h>
enum class Switch_Digital : uint16_t {
Address =...
I’m having communication errors with the first I transmission. If I immediately send the same message again it is fine.
I noticed that the signal isn’t pulled down properly at first. Here is a screenshot:
I’ve checked for grounding issues...
EDIT: SPI communication is working. There may be somthing else going on non-teensy related. The warnings below sent me down the rabbit hole.
SPI communication stopped working on my project, even after I reverted the code back to a known...