Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

328PB sleep issues with Canique lib #95

Open
exiledyorkie opened this issue Feb 27, 2020 · 0 comments
Open

328PB sleep issues with Canique lib #95

exiledyorkie opened this issue Feb 27, 2020 · 0 comments

Comments

@exiledyorkie
Copy link

Hello,

I know that the Canique lib is a fork of the Rocketscream lib but just wondering if anybody can help?
First off, thank you for the libs, both have made my life easier, as code isn't my strong point.

Using Rocketscream I got the current consumption reduced to 150uA in sleep mode. Using the following code;
LowPower.idle(SLEEP_8S, ADC_OFF, TIMER2_OFF, TIMER1_OFF, TIMER0_OFF,
SPI_OFF, USART0_OFF, TWI_OFF);

Using a 328PB during powerdown mode, the consumption is reduced to 5mA. I tried to use the idlewake example but when compiled, I get an error. Using code below;

LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);  

I'm using a Minicore bootloader, 328PB, 8MHz external clock, BOD 1.8V. Any ideas would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant