STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_UARTEx_ReceiveToIdle_IT Causing Hard fault

I was using HAL_UARTEx_ReceiveToIdle_IT to receive data on modbus. After running for couple minutes without any issues it hits the HardFault_Handler. My registers at the time of HardFualtany help would be much appreciated

_legacyfs_online_stmicro_images_0693W00000bVeq9QAC.png _legacyfs_online_stmicro_images_0693W00000bVf4xQAC.png
JThom.15 by Associate III
  • 385 Views
  • 3 replies
  • 0 kudos

Wordlength setting when using Modbus RTU as UART

Hello, Now I'm using Modbus RTU and UART. Modbus RTU communication is being performed through UART. Modbus RTU setting is data 8 bytes, but communication is possible only when uart wordlength is set to 9 in STMcubeIDE. Why is wordlength 9 when data i...

dkim.3 by Associate
  • 300 Views
  • 2 replies
  • 0 kudos

STM32 and sim900a tcp/ip

Hi, i'm using an stm32F446re to read modbus rtu buffer from plc using usart1. now i need to send this data to a server using the gprs module sim900a on uart4 via tcp/ip. Any help please???????????

0693W00000YAoQQQA1.png 0693W00000YAokjQAD.png
fchai.1 by Associate
  • 259 Views
  • 1 replies
  • 0 kudos

STM32 MODBUS

Im using nucleo stm32f103. Does a modbus library exist or how would one go on with using modbus? Could not find any tutorials online.

rtek by Associate II
  • 11286 Views
  • 7 replies
  • 0 kudos