Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:modbus [2023/08/10 22:34] – darron | projects:modbus [2024/11/09 02:20] (current) – [STM32U575] darron | ||
---|---|---|---|
Line 2: | Line 2: | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
\\ \\ | \\ \\ | ||
- | {{: | + | {{: |
\\ \\ | \\ \\ | ||
- | {{: | + | {{: |
\\ \\ | \\ \\ | ||
- | {{projects: | + | {{projects: |
\\ \\ | \\ \\ | ||
- | {{projects: | + | {{projects: |
</ | </ | ||
- | Here are two demos to read (peek) | + | Here are various |
- | using `mbpoll' | + | |
===RTU=== | ===RTU=== | ||
+ | |||
+ | ==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 [[: | ||
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: | ||
+ | its USB OTG port using the TinyUSB stack. | ||
+ | |||
+ | ==RS485== | ||
+ | |||
+ | This demo uses the [[: | ||
+ | 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 [[: | ||
+ | an [[: | ||
+ | [[tools: | ||
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 | + | Another |
- | [[: | + | MAC/PHY. |
- | [[tools: | + | |
===Install=== | ===Install=== | ||
Line 59: | Line 75: | ||
< | < | ||
- | make -f Makefile.u575zi | + | cd NUCLEO-U575ZI-Q |
+ | make program debug | ||
</ | </ | ||
==References== | ==References== |