As for why you're getting strange results, I'd like to suggest compiling your program (or a small test program) with Arduino IDE.
We regularly hear about problems with PlatformIO which turn out to be caused by using different compiler options...
That should be a good hint. So which io pins exactly? And what does a voltmeter show when you measure from those pins to GND in a not yet failed unit?
What type and voltage are the zener diodes Z7 and Z11?
How exactly do you guarantee that the...
I had same problems a year ago. It was a card that had high peak currents, and a 5v to T4 power supply that could not give more than ~150 mA to that 5V line...
On howto “use the ADC to set up a DMA into a buffer at a fixed acquisition rate, say 10kHz to start with, at 12-bit resolution. “
Yes, too demanding for ChatGPT etc…
But here’s an example that lets you do 12 bits ADC, 1, 2 or 4 channels, up to...
I also went for separate RTC chips when a battery backed RTC is needed by the application. But I'm just wondering if better software in a Teensy 4 could get us lower VBAT drain in general.
Because:
if I power up a T4 with only VBAT, i see 43 uA...
On why T4 and RTC coin cell batteries (CR2032, CR2012 etc) give us months but not >>3 months: is this a software bug / omission after all? Reading the many many register settings in this NXP 2023 Application note, and not getting many hits when...
Maybe you have solder flux leftover or splashes that form a resistor, at delicate points such as nearby the onoff pin, and at points where 5v or even 12v may hit Teensy pins (via flux leftovers) that cannot tolerate that?
On the LDO, in that...
IP66 in the tropics is not keeping the water out. See e.g. https://electronics.stackexchange.com/questions/388866/moisture-trapped-in-ip66-enclosure
The issue is that despite of the rubber seals, such boxes breath in and out on a daily basis...
I can well imagine that the VictorFS systems operate in environments and climates where water may condense where the on/off pin is exposed. Or where insects can creep into the datalogger units and do a short circuit with their body. If water or...
I can't answer about PlatformIO, but under Arduino, if you are building for the Teensy 4.0, the Teensy 4.1, or the Teensy MicroMod, the default for double is 64-bit and constants are 64-bit by default. The hardware has direct support for both...