Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:modbus [2023/08/18 14:43] – [RTU] darron | projects:modbus [2024/11/09 02:20] (current) – [STM32U575] darron | ||
---|---|---|---|
Line 13: | Line 13: | ||
</ | </ | ||
- | Here are three demos to read a value from STM32 devices | + | Here are various |
- | using `mbpoll' | + | |
===RTU=== | ===RTU=== | ||
==RS232== | ==RS232== | ||
+ | |||
+ | This demo uses the [[: | ||
+ | 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 [[: | ||
- | depends on FreeRTOS for demo purposes. | ||
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: | ||
+ | its USB OTG port using the TinyUSB stack. | ||
==RS485== | ==RS485== | ||
Line 35: | Line 38: | ||
It depends on FreeRTOS for demo purposes. | It depends on FreeRTOS for demo purposes. | ||
- | The mobbus | + | The modbus |
and demonstrates how to utilise it. | and demonstrates how to utilise it. | ||
===TCP=== | ===TCP=== | ||
- | |||
This demo uses the [[: | This demo uses the [[: | ||
Line 46: | Line 48: | ||
VREFINT is read as an input to the STM32 internal ADC. | VREFINT is read as an input to the STM32 internal ADC. | ||
+ | Another demo for the [[: | ||
+ | MAC/PHY. | ||
===Install=== | ===Install=== | ||
Line 71: | Line 75: | ||
< | < | ||
- | make -f Makefile.u575zi | + | cd NUCLEO-U575ZI-Q |
+ | make program debug | ||
</ | </ | ||
==References== | ==References== |