Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:modbus [2023/08/18 14:35]
darron [Modbus RTU/TCP]
projects:modbus [2023/09/07 10:39] (current)
darron [RTU]
Line 13: Line 13:
 </wrap> </wrap>
  
-Here are three demos to read a value from STM32 devices +Here are various demos read a values from STM32 devices using `mbpoll' in Linux.
-using `mbpoll' in Linux.+
  
 ===RTU=== ===RTU===
 +
 +==RS232==
 +
 +This demo uses the [[:boards:u575|Nucleo U575ZI]] Cortex-M33 development board. It
 +depends on FreeRTOS for demo purposes.
  
 The current temperature of an LM75 I2C sensor is read The current temperature of an LM75 I2C sensor is read
 in Q8.8 format. in Q8.8 format.
  
-This demo uses the [[:boards:u575|Nucleo U575ZI]]. 
  
 Two TTYs are utilised. The ST-LINK tty is used for the modbus Two TTYs are utilised. The ST-LINK tty is used for the modbus
Line 27: Line 30:
 development so can be ignored. development so can be ignored.
  
 +Another demo for the [[boards:stm32f4|STM32 F4 Discovery]] performs modbus rtu over
 +its USB OTG port using the TinyUSB stack.
 +
 +==RS485==
 +
 +This demo uses the [[:boards:h7a3ziq|Nucleo H7A3ZI-Q]] Cortex-M7 development board.
 +It depends on FreeRTOS for demo purposes.
 +
 +The modbus I/O with this demo uses a MAX485 transceiver
 +and demonstrates how to utilise it.
 ===TCP=== ===TCP===
 +
 +This demo uses the [[:boards:g491|Nucleo G491RE]] Cortex-M4 development board and 
 +an [[:interfaces:enc28j60|ENC28J60]] ethernet MAC/PHY. It depends on
 +[[tools:freertos|FreeRTOS]] with FreeRTOS-PLUS-TCP.
  
 VREFINT is read as an input to the STM32 internal ADC. VREFINT is read as an input to the STM32 internal ADC.
  
-This demo uses the [[:boards:g491|Nucleo G491RE]] and  +Another demo for the [[:boards:h563zi|Nucleo H563ZI]] utilises its built-in 
-the [[:interfaces:enc28j60|ENC28J60]]. It depends on +MAC/PHY.
-[[tools:freertos|FreeRTOS]] with FreeRTOS-PLUS-TCP.+
  
 ===Install=== ===Install===