STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Using IDLE Line Detection + DMA on STM32L42x

In my opinion one of the simplest ways to receive an unknown amount of data has been this post which details how to use IDLE line detection to trigger the DMA to call the HAL_UART_RxCpltCallback function. This then reads the data received via UART fr...

B Zikhali by Associate III
  • 1254 Views
  • 2 replies
  • 0 kudos

I use STM32F030R8T8 programming with CUBE and TrueStudio. I have a problem with the frame error in UART communication on RS485 line. I have implemented the error_callback function to reset the error, but receiving remains blocked.

In a similar question it is recommended to carry out the instructions:void HAL_UART_ErrorCallback (UART_HandleTypeDef * huart){ // I implement this .. but eventually you can decide with different approach // Many macros / proc on this code .. is just...

SDeGr by Associate
  • 393 Views
  • 0 replies
  • 0 kudos

Resolved! After PIC is stm32 good start ?

I am trying to jump into embedded world but i have very less prior experience .... I have been programming PIC16f877a and i felt comfortable with it but now i want to go deep ... Should i opt for STM32 ?Thanks in Advance :)

MAZ.1 by Associate II
  • 1393 Views
  • 5 replies
  • 0 kudos

STM32L496: Unable to go in DFU when use HAL_SPI_Transmit_DMA

Hello guys,I'm not new using DFU but I have this strange problem.When I try to jump in DFU from my code, I get an "Unknown usb device" from my PC.I have also 2 push button in my board. Reset and DFU pin (keep PH3 high ).If I keep pressed DFU button a...

M4R10 by Associate III
  • 629 Views
  • 2 replies
  • 0 kudos

Is here any reason for using HSE crystal with STM32L431 ?

Every L4 board that I've seen had footprint for HSE crystal routed but not populated. As I understand it is because MSI has automatic calibration on LSE clock. In my latest design I did the same - reserved place for HSE but marked it DNP. The 32.768k...

maple by Associate II
  • 1988 Views
  • 8 replies
  • 2 kudos

Resolved! why can't program FLASH when FLASH all bit is 1?

I use STM32L431, it only possible to program double word, I want program a new data to FLASH if the 64 bits all is '1' in FLASH, otherwise, if the 64 bits is not all '1', I erase it first before program. But when I program a 0xffffffffffffffff to...

Zzhou.2 by Associate
  • 2206 Views
  • 7 replies
  • 2 kudos

DMA With Multichannel ADC in STM32F302R8

Hello , I have validated your code & single ADC channel is working completely fine. But when I move for Multiple ADC channel ,I'm unable to read the buffer memory. Can you please guide me through it and feel free to pin point if I'm wrong at some poi...

SChan.9 by Associate
  • 918 Views
  • 2 replies
  • 0 kudos

Resolved! How to install STM32Cube suite

The suite seems to consist of STM32CubeMX, STM32CubeIDE, STM32CubeProgrammer, STM32CubeMonitor, STM32Cube MCU Packages, and STM32Cube Expansion Packages. Do I need to download and install each of these separately, or is there a single installer that ...

MWide.1 by Associate
  • 894 Views
  • 2 replies
  • 0 kudos

detecting STM32 via coolterm / teraterm to send a char

Hi , i wanted to connect and send a char from my stm32 blue pill but i cant connect it to the serial monitor via tera twerm or cool term ( the stm32 is connected to usb via an st link v2 and it is detected) making an led blink is possible but i cant...

0693W000004JxGCQA0.png
AMat.1 by Associate II
  • 1031 Views
  • 1 replies
  • 0 kudos