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...
Okay, thanks Paul. I just wanted to make sure I wasn't missing something. I also found the TI TLC5916, which seems like just what I need. I can control it with SPI and use one resistor to set the...
Maybe something like the TPIC2810D LED driver would be my best option?
I apologize that this is a pretty basic question, but I'm making a project that uses 8 QRE1113 IR reflectance sensors, and I'm trying to figure out the easiest/most efficient/proper way to...
Great, thanks Paul! I should have played around some more before asking the question ;) It's just breadboarded right now, but I ran AGND on one side of the board and GND on the other, and the noise...
Okay, the library is working fine. One more quick question, if I may-- is it normal for servos to inject noise into the ADC? I'm working on a model train controller where we want to send sound from...
Okay, I figured out what I did wrong-- I made a copy of the original cpp file and renamed it but left it in the same folder. I didn't realize it couldn't be in there. It compiles fine now. I haven't...
Thank you Paul-- I did that and I still seem to get compile errors like the ones above and these below. Would I need to delete some temp files, or...?:
Invalid library found in...
I made the changes, but it won't compile-- I'm getting multiple errors like the following. My apologies for my ineptitude ;)
...
Oops, sorry, for some reason I couldn't find this earlier. I'll give it a shot. Thanks again!
Okay, thanks! Part of question is that I don't seem to have servo.cpp, but rather two files, servo.cpp.d and servo.cpp.o, neither of which I can edit. Any thoughts on these?
Could someone give me a little more info on how to do this? I found the servo.cpp.o file, but can I edit this directly (I haven't been able to open it)? Or does someone have an edited version that I...
It will be a class B consumer device, so I'm pretty sure I need a declaration for it. I was hoping to get some idea of the cost before I proceed much further so I can get a sense of whether it will...
I'm curious what to expect if I go through this process. Does anyone have experience that would give me a rough estimate of cost? My understanding is that a USB peripheral requires a declaration of...
Thank you, that sounds similar to what I'm getting--there are rapid oscillations in the touchpad readings, like the speakers are injecting noise back into the ipad through the common ground.
I'm making a USB MIDI device with capacitive touchpads. If I'm NOT grounded to the chassis it works great under the following conditions: It's plugged into a PC or it's plugged into an ipad with or...
This is great! Have you found how changing these variables affects sensitivity? I'm working on a device where I'd like to sense through a few mm of plastic, but the default settings don't seem to...
Great, thanks! What is the lowest voltage at which it woud still function?
Is it possible to power Teensy 3.* directly from 2 AA batteries, bypassing the regulator (assuming that USB isn't needed)? It looks like the chip is rated to run down to 1.7V, but I've seen it...