Hello,
I'm developing a simple custom product with the Teensy 3.2 and I've noticed some bugs that don't occur when the Teensy is plugged into my computer via USB. I am NOT drawing power from USB (I cut the trace on the back of the Teensy).
First, I had several arrays that were global variables (size of 58) functioning as lookup tables. After running for a few seconds, the values of one array were tampered with (bits were somehow set). I decided to make them const such that they were saved in flash, and that problem no longer occurs. But now the Teensy freezes after a little bit of use.
Both of those issues don't happen when the Teensy is plugged into my computer. Does anyone know why?
System setup:
Controls TFT over SPI bus
Reads data from a different device with a clock and data. On CLK rising edge, run interrupt to read data bit. About 58 bits are transferred over 1 millisecond. Repeats every 18 msec or so.
I'm developing a simple custom product with the Teensy 3.2 and I've noticed some bugs that don't occur when the Teensy is plugged into my computer via USB. I am NOT drawing power from USB (I cut the trace on the back of the Teensy).
First, I had several arrays that were global variables (size of 58) functioning as lookup tables. After running for a few seconds, the values of one array were tampered with (bits were somehow set). I decided to make them const such that they were saved in flash, and that problem no longer occurs. But now the Teensy freezes after a little bit of use.
Both of those issues don't happen when the Teensy is plugged into my computer. Does anyone know why?
System setup:
Controls TFT over SPI bus
Reads data from a different device with a clock and data. On CLK rising edge, run interrupt to read data bit. About 58 bits are transferred over 1 millisecond. Repeats every 18 msec or so.