Hi everyone,
I've encountered a concerning issue while overclocking the Teensy 4.0's CPU to 816 MHz using methods from the `clockspeed.c` file. In our application, the overclocked CPU is tasked with reading high-speed data from an ADC via the SPI bus and transmitting this data to a host computer using the Serial library. Additionally, it controls two indicator LEDs drawing approximately 2 mA each.
After operating smoothly for several hours, we've had two Teensy units overheat suddenly upon program execution. Despite the program continuing to run, the temperature escalates rapidly. If unchecked, the microcontroller overheats and eventually fails. We've been monitoring the junction temperature with the `InternalTemperature.h` library and noticed this issue seems irreversible post-failure. Post-mortem analysis also shows an unusual increase in USB current consumption, regardless of the CPU frequency, once the units fail.
Upon reviewing the MIMXRT1062DVL6B datasheet (NXP Documentation), I observed that the maximum voltage is listed as 1.3V (see Table 10), contradicting the 1.6V mentioned in the library. Although Paul's comments suggest 1.3V as the recommended limit, the OVERCLOCK_MAX_VOLT is set to 1.575V in the library. In a previous version of the file, it seems he did limit the voltage to 1.3V. I'm uncertain if the datasheet was updated after the latest library's release or if this discrepancy might be causing the observed failures.
Has anyone else experienced similar issues when overclocking Teensy 4.0, or does anyone have insights into using the clockspeed.c library effectively without risking hardware failure?
Thank you for your help.
--
Missael Garcia
I've encountered a concerning issue while overclocking the Teensy 4.0's CPU to 816 MHz using methods from the `clockspeed.c` file. In our application, the overclocked CPU is tasked with reading high-speed data from an ADC via the SPI bus and transmitting this data to a host computer using the Serial library. Additionally, it controls two indicator LEDs drawing approximately 2 mA each.
After operating smoothly for several hours, we've had two Teensy units overheat suddenly upon program execution. Despite the program continuing to run, the temperature escalates rapidly. If unchecked, the microcontroller overheats and eventually fails. We've been monitoring the junction temperature with the `InternalTemperature.h` library and noticed this issue seems irreversible post-failure. Post-mortem analysis also shows an unusual increase in USB current consumption, regardless of the CPU frequency, once the units fail.
Upon reviewing the MIMXRT1062DVL6B datasheet (NXP Documentation), I observed that the maximum voltage is listed as 1.3V (see Table 10), contradicting the 1.6V mentioned in the library. Although Paul's comments suggest 1.3V as the recommended limit, the OVERCLOCK_MAX_VOLT is set to 1.575V in the library. In a previous version of the file, it seems he did limit the voltage to 1.3V. I'm uncertain if the datasheet was updated after the latest library's release or if this discrepancy might be causing the observed failures.
Has anyone else experienced similar issues when overclocking Teensy 4.0, or does anyone have insights into using the clockspeed.c library effectively without risking hardware failure?
Thank you for your help.
--
Missael Garcia