STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to use LPTIM with LSE source clock

Greetings, I am using a Discovery Kit (B-U585I-IOT02A) and I want to use the LPTIM1 to wait 5 seconds (counting x ticks), at the end of the 5 seconds enter in a Callback to do something and then restart the counter again.I want to use as clock source...

j_filipe by Associate II
  • 46 Views
  • 3 replies
  • 1 kudos

RX/TX pin swapping

We are using the STM32U575RIT6 device and performed a RX/TX swap on LPUART1, ports PC0 and PC1. When we enabled the Swap TX is properly transmitting out of PC0. But we are unable to read anything on the new RX pin PC1. Other than enabling the pin swa...

[STM32F405] flash level 2 protection

Hi, I was trying to test the feature of "Level 2 flash lock" on my custom board. I'm having an unexpected behaviour.My total application consists of a bootloader responsable to load an application via CAN BUS through a custom communication protocol.N...

Regarding USB Packet Size changes

Hello there, I'm using USB CDC application. I'm in a situation of receiving more than 250 bytes of data from the Windows(QT). Now my doubt is when the data is more than 64 bytes the USB FS it'll not consider right.But i revised some websites from the...

bsn_14 by Associate II
  • 16 Views
  • 0 replies
  • 0 kudos

STM32L152 UART code missing in driver

Good Day,Recently I started working with a new MCU (STM32L152). I ported some UART code to handle received data from a different MCU, which worked fine. But as soon as I started testing edge cases I saw some weird things happen. I am using the DMA on...

RS485 DE enable

Hi,I am implementing RS-485 communication on the STM32G491. Based on available references, I’m currently using a custom GPIO pin for the DE (Driver Enable) signal, since the default USART1_DE pin is already allocated for another function. In the RS-4...