Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:modbus [2023/08/18 14:38] – [RTU] darronprojects:modbus [2024/11/09 02:20] (current) – [STM32U575] darron
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== ==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
 I/O and the other for debug output and was only needed during I/O and the other for debug output and was only needed during
 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== ==RS485==
  
-This demo uses the [[:boards:h7a43ziq|Nucleo H7A3ZI-Q]].+This demo uses the [[:boards:h7a3ziq|Nucleo H7A3ZI-Q]] Cortex-M7 development board. 
 +It depends on FreeRTOS for demo purposes.
  
-The mobbus I/O with this demo uses an MAX485 transceiver+The modbus I/O with this demo uses MAX485 transceiver
 and demonstrates how to utilise it. 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===
Line 67: Line 75:
  
 <code> <code>
-make -f Makefile.u575zi program debug+cd NUCLEO-U575ZI-Q 
 +make program debug
 </code> </code>
 ==References== ==References==