Thunderpack STM32L072xx

Post Reply
razvitm
Posts: 28
Joined: Sat Apr 11, 2020 12:35 pm

Thunderpack STM32L072xx

Post by razvitm »

Hello everyone,

I saw that there is a small development board that uses the MCU mentioned in the title, it can be found at the following link:
https://hackaday.io/project/161054-thunder-pack

Now on the webpage it says that it is supported by the STM32duino core.

Could that mean that I could use a STM32L072RZT6 on the STM32duino official core on a custom PCB?

User avatar
fpiSTM
Posts: 664
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 25
Location: Le Mans
Contact:

Re: Thunderpack STM32L072xx

Post by fpiSTM »

You can try but no support will be provided if this not work ;)
This variant use the HSI so, I guess it should work anyway.

razvitm
Posts: 28
Joined: Sat Apr 11, 2020 12:35 pm

Re: Thunderpack STM32L072xx

Post by razvitm »

So I went ahead and soldered a STM32L072 on a breakout PCB.
I can run blinky on any digital pin I choose.
I cannot use all the serial ports.
Serial.begin works and I can Serial.println on the serial port I use to program the uC, but all the other 4 ports don't work, even after HardwareSerial Serial2 (USART2) for example.
Any ideas on how to use all 5 serial ports with ThunderPack board in Arduino STM32 official core?

User avatar
fpiSTM
Posts: 664
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 25
Location: Le Mans
Contact:

Re: Thunderpack STM32L072xx

Post by fpiSTM »

razvitm wrote:
Tue Sep 15, 2020 8:59 am
So I went ahead and soldered a STM32L072 on a breakout PCB.
I can run blinky on any digital pin I choose.
I cannot use all the serial ports.
Serial.begin works and I can Serial.println on the serial port I use to program the uC, but all the other 4 ports don't work, even after HardwareSerial Serial2 (USART2) for example.
Any ideas on how to use all 5 serial ports with ThunderPack board in Arduino STM32 official core?
Good news. For USART, well for USART2 it seems there is only USART2 TX available so it can be used in Half Duplex.
See: https://github.com/stm32duino/wiki/wiki ... uplex-mode

You could try with:

Code: Select all

HardwareSerial(USART2, HALF_DUPLEX_ENABLED);

razvitm
Posts: 28
Joined: Sat Apr 11, 2020 12:35 pm

Re: Thunderpack STM32L072xx

Post by razvitm »

After HardwareSerial(USART2, HALF_DUPLEX_ENABLED);
The TX pin is pulled HIGH (measured with oscilloscope) but it just stays HIGH, although in loop there is a println.
No data is coming out through the port.

User avatar
fpiSTM
Posts: 664
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 25
Location: Le Mans
Contact:

Re: Thunderpack STM32L072xx

Post by fpiSTM »

Well in that case I suspect a clock issue.

Post Reply

Return to “STM32L0 based boards”