Search found 33 matches

by razvitm
Thu Oct 08, 2020 2:19 pm
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

But if I modify the PeripheralPins.C to include all the ports, possibly copy this from the discovery board, don't I have to set peripheral clocks for the other serial ports in order for them to work?
by razvitm
Thu Oct 08, 2020 12:06 pm
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

Why can I use all the serial ports with the Discovery L072 board but I can't get all the 5 serial ports to work on the PX-HER0 or the THUNDERPACK boards? What am I missing? Are they not enabled in some files in their respective Variants folder? The reason I'm asking is because all 5 serial ports and...
by razvitm
Tue Sep 22, 2020 12:07 pm
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

I'm happy to report that all 5 serial ports are working in Arduino on a STM32L072 on a breakout PCB without external oscillator or quarts using the Discovery LRWAN1 board with a small modification of one of the core's file. The question is if it can be done from the sketch rather than modifying one ...
by razvitm
Tue Sep 22, 2020 10:36 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

I just found out that the Discovery L072CZ LRWAN1 uses the same MCU, and I tried selecting this board in Arduino and now I have 3 serial ports working. USART1 USART4 and LPUART1.
by razvitm
Tue Sep 22, 2020 9:29 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

Update: With the core untouched, using the PX-HER0 board selected in Arduino, I got Serial1 and Serial4 to work, I had to instantiate Serial4, I can print on both Serial1 and Serial4 but if I enable Serial2, it doesn't work, and in the PX-HER0 board user manual there is a Serial2 on PA2 and PA3 but ...
by razvitm
Tue Sep 15, 2020 10:54 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

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.
by razvitm
Tue Sep 15, 2020 8:59 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Re: Thunderpack STM32L072xx

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...
by razvitm
Wed Jun 17, 2020 11:10 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 15
Views: 4857

Thunderpack STM32L072xx

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 ST...
by razvitm
Thu May 21, 2020 12:29 pm
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 2155

Re: Hardware flow control for USART2 port on STM32F103RC

Currently not. I guess the best way would be to add or extend API to be enable the hw flow control Well, can't someone modify the Serial.begin() function of the official STM32 arduino core to accept more input parameters that set HW flow control on or off? And also make it backwards compatible by a...
by razvitm
Thu May 21, 2020 12:06 pm
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 2155

Re: Hardware flow control for USART2 port on STM32F103RC

Is there a more elegant way of enabling hardware flow control than editing a file in the core?
Like the way we can modify clock speed by copying some lines from what cubemx generates into the arduino sketch?

Go to advanced search