STM32L0 board design
Posted: Thu Dec 15, 2022 11:27 am
Hi all
I'm a experienced arduino maker trying to enter the STM32 world.
I made a prototype with a STM32F103 bluepill and a Lora SX1276 module and now i would like to design a custom board. My requisites are:
- battery powered, most of the time sleeping
- wake each hour to send data from sensors (RTC support)
- USB support to upload code/debug with Arduino IDE
My questions are:
1) I choosed STM32L0x2 family for their low power and USB support, it that ok?
2) I saw some designs with one 32kHz cristal, others with both 32kHz and 8MHz. I need some compromise between speed and low power, and i read somewere Lora needs some fast and precise clock, so do i need both cristals? Just one? None?
3) to use RTC to wake from sleep each hour do i need a CR2032 for power backup? Anything else?
4) Bluepill has BOOT0 and BOOT1 even i just used BOOT0 once to upload bootloader (so i can use USB to upload code). STM32L0X2 does not have BOOT1 pin, is it a problem?
5) Any other major concern?
Thanks
I'm a experienced arduino maker trying to enter the STM32 world.
I made a prototype with a STM32F103 bluepill and a Lora SX1276 module and now i would like to design a custom board. My requisites are:
- battery powered, most of the time sleeping
- wake each hour to send data from sensors (RTC support)
- USB support to upload code/debug with Arduino IDE
My questions are:
1) I choosed STM32L0x2 family for their low power and USB support, it that ok?
2) I saw some designs with one 32kHz cristal, others with both 32kHz and 8MHz. I need some compromise between speed and low power, and i read somewere Lora needs some fast and precise clock, so do i need both cristals? Just one? None?
3) to use RTC to wake from sleep each hour do i need a CR2032 for power backup? Anything else?
4) Bluepill has BOOT0 and BOOT1 even i just used BOOT0 once to upload bootloader (so i can use USB to upload code). STM32L0X2 does not have BOOT1 pin, is it a problem?
5) Any other major concern?
Thanks