Skip to content

ozgedurgut/STM32_rs485_communication_rxtx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs485 communication with RS485 to TTL module

  • Sending and receiving data is done in "rs485_communication_rxtx". Data receiving was carried out with the polling method, and data sending was carried out with the interrupt method.

  • In "uart_dma_stm32f103", data retrieval was performed by DMA method. For the project of importing data with dma, after selecting usart1 asynchronous in the pinout section, it is necessary to add the USART1_RX option by clicking Add in the DMA setting section. Mode Normal, Memory, Data Width Byte will be made. And then it is necessary to enable USART1 global interrupt in NVIC setting.