Hello,
first of all excuse me for my bad english
I have to program a microcontroller (STM32) with the programming language C.
I know the basics of C but I don't know how to accomplish this project, because I don't have any experiences with microcontroller programming. So I really hope that someone can help me
The protocol I have to use is Modbus RTU. The STM 32 is connected via serial port (UART) to an embedded SPS controller.
My task is 1.) to read the values in the registers of the SPS and 2.) to set values in the registers of the SPS. That two tasks should be achieved over the STM32. I have also a list with the registers (data frames) I can address. The operating system that runs on the STM32 is Nut/OS and is given.
The serial port is already initialized and works.
Hopefully someone can help me!?
Maybe there is someone who already made something similar to this. Or maybe someone who can help me to write the code.
I really need help!
Much Thanks in advance!
Sincerley,
Marcus
first of all excuse me for my bad english
I have to program a microcontroller (STM32) with the programming language C.
I know the basics of C but I don't know how to accomplish this project, because I don't have any experiences with microcontroller programming. So I really hope that someone can help me
The protocol I have to use is Modbus RTU. The STM 32 is connected via serial port (UART) to an embedded SPS controller.
My task is 1.) to read the values in the registers of the SPS and 2.) to set values in the registers of the SPS. That two tasks should be achieved over the STM32. I have also a list with the registers (data frames) I can address. The operating system that runs on the STM32 is Nut/OS and is given.
The serial port is already initialized and works.
Hopefully someone can help me!?
Maybe there is someone who already made something similar to this. Or maybe someone who can help me to write the code.
I really need help!
Much Thanks in advance!
Sincerley,
Marcus