STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F401RE UART Interrupt

Hello, I'm new to embedded software and I have 2 questions about UART communication.I've coded UART interrupt and have no problem with the transmit function, but the HAL_UART_Receive_IT(&huart2, rx, 10);only read the first byte I passed to the serial...

Kabeone by Associate
  • 703 Views
  • 3 replies
  • 0 kudos

Resolved! External RAM on STM32H743IIT6

I am trying to set up FMC to work with external RAM. The code compiles and works with KEIL, but I am trying to make it work with STM32CubeIDE. The code compiles and runs, but the RAM is not initialized. I copied all of the code, including the .ioc fi...

GGowi.1 by Associate II
  • 3069 Views
  • 18 replies
  • 0 kudos

Function for printing values

Hello,I'm working with the NUCLEO-F722ZE EVB on STM32CubeIDE.I want to use the main USB connection to the PC as a UART.The default CubeMX pin configuration already has PD8 and PD9 configured as a UART, so I proceeded with code generation (the auto ge...

skon.1 by Senior
  • 3599 Views
  • 13 replies
  • 0 kudos

HAL_UART_Receive doesn't block execution

Helllo,I'm working on the NUCLEO-F722ZE EVB.I want my code to wait for a character to be received from UART 3 and do nothing.This is what I wrote:unibt8_t received_character = 0 ; HAL_UART_Receive(&huart3, received_character, 1,1000) ;From what I und...

skon.1 by Senior
  • 2042 Views
  • 9 replies
  • 0 kudos

How to do MODBUS communication over the UART.

I m using Nucleo-f413zh controller. i want to know how we can do the modbus communication over it using UART tx and rx.plzz provide me the basic code of the modbus i m having a modbus library.plzz provide me the any example code of sending or receivi...

AVasi.3 by Associate
  • 2138 Views
  • 2 replies
  • 0 kudos