Lora SX1278 sleep current high. #1378
-
Dear jgromes, #include "STM32LowPower.h" SPIClass SPI_2(PB7, PB6, PB8); HardwareSerial Serial1(PA10, PA9); void setup() { int state = radio.begin(); } void loop() { delay(2000); i replaced lora module with new one...still same issue of high sleep current. Earlier when i was using atmega328 the sleep current was under 10uA. But i migrated to STM32 I am facing this issue. **Please note that I tested sleep current of bare microcontroller, its below 5uA... I think that i am using SPI2 while library is using SPI1 default so this might be some issue i am unaware of. I need your kind suggestion in this matter. By the way i am using your encryption and decryption ECB mode methods, working good... Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
56mA is way high for a do-nothing sketch with a radio on idle, do you have a schematic to show what & how you've wired up? |
Beta Was this translation helpful? Give feedback.
Dear HeadBoffin,
As a last resort i went furthur and relaced the microcontroller itself with brand new one...the problem solved... the whole system now sits at 15uA in sleep sleep mode and its now good for me...it was microcontroller that went bad somehow....
Thanks for your reply,
Thanks,
Regards,
Anand Pathak,
"BHARAT"