So, I did some more trials regarding to this issue, and wanted to report my observation here, as short as possible, in case someone has an explanation.
It seems, when bus frequency is set below 100 MHz (arm frequency is at 200-150 MHz range and...
After studying set_arm_clock() at clockspeed.c file, clock trees and timers at IMXRT1060 manual, I see my lack of knowledge and some numeric coincidences had misled me. Now I have a solution, which is not nice but enough for my case.
Teensy 4...
Ok, while testing I've come to a weird point. I made clock speed being adjusted by a pot, and swept down from 600 MHz to 150 MHz, with 50 MHz steps. Code lights leds when available() methods return true, so that I can see.
When the speed input...
Try building it at 150 MHz and running it there first.
Have an audio sketch here playing back SD WAV files that works doing that and bar charts on an SPI display that works as well as it does at 600 MHz.
It may be there is something that...
Hi,
Audio result availabilities like peak1.available() and fft256_1.available() are working as expected from normal 600 MHz to 300 MHz clock speeds, as I set via set_arm_clock(), for power reduction purposes. But below 300 MHz (i.e. 240 MHz and...
After writing complete code for the instructions[1], current draw has dropped 6.6 mA (109.8 -> 103.2 mA). Still not much, but worth doing for my case 😌
Powering USB2 down does nothing, as jmarsh stated above.
// USB power-down sequence, with...
So, I ended up with below code to disable 2 USB ports:
// clear USBPHY_CTRL_ENAUTOCLR_CLKGATE
USBPHY1_CTRL &= ~USBPHY_CTRL_ENAUTOCLR_CLKGATE;
USBPHY2_CTRL &= ~USBPHY_CTRL_ENAUTOCLR_CLKGATE;
// set USBPHY_CTRL_CLKGATE to disable...
I looked that section, it mentions a low power suspend mode, which seems not a shut down/disable. I found below code in this forum, for switching off USB by disabling USB clock at Teensy 3.6.
SIM_SCGC4 &= ~SIM_SCGC4_USBOTG;
This is documented...
Hi,
I want to disable both USB ports (main and host) at Teensy 4.1, at setup(), for power reduction. I checked forums/web but found answers for older Teensy boards. There is an end() method at usb_serial_class, which is not implemented. I also...