I believe that this does the trick:
USBCON |= (1 << USBE);
PLLCSR |= (1 << PLLE); // Resume the USB Clock (PPL)
USBCON &= ~(1 << FRZCLK); // Resume the USB Clock
Type: Posts; User: amowry
I believe that this does the trick:
USBCON |= (1 << USBE);
PLLCSR |= (1 << PLLE); // Resume the USB Clock (PPL)
USBCON &= ~(1 << FRZCLK); // Resume the USB Clock
Just in case anyone else has this question, I found that the LowPower library that I am using doesn't turn off the USB clock. When I do that using the code below before putting the MCU in idle mode,...
Thanks for this reply, Paul! I was beginning to think that the datasheet is indeed misleading. I am testing idle current with most peripherals (USB, ADC, SPI, etc. turned off), and still getting 4.5...
My apologies that this is about an older product, but here goes:
On this page the idle current for the Teensy 2.0 is quite a bit higher than the 32U4 datasheet seems to suggest on page 396 (around...