Modbus RTU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modbus RTU

220 Views
jkx
Contributor I

Hi. I want to know if there is already a library for the Modbus RTU protocol for S32K344. If anyone has nan example it would help me a lot. Greetings to all.

0 Kudos
Reply
1 Reply

177 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @jkx 

NXP doesn’t provide an official Modbus stack for the S32K344, but the MCU is capable of supporting Modbus RTU or TCP. You can implement it yourself using third-party libraries depending on your needs.
Here are a few options you can look into (I believe you can find more on the web):
https://www.embedded-experts.at/en/freemodbus/
https://www.softdel.com/modbus-stack/
https://www.rapidseasuite.com/modbus-protocol-stack
These can be adapted to work with the S32K344 depending on your platform setup (e.g., RTOS, communication interfaces).

Regards,
Lukas

%3CLINGO-SUB%20id%3D%22lingo-sub-2184258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EModbus%20RTU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi.%20I%20want%20to%20know%20if%20there%20is%20already%20a%20library%20for%20the%20Modbus%20RTU%20protocol%20for%20S32K344.%20If%20anyone%20has%20nan%20example%20it%20would%20help%20me%20a%20lot.%20Greetings%20to%20all.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184516%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Modbus%20RTU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184516%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255716%22%20target%3D%22_blank%22%3E%40jkx%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENXP%20doesn%E2%80%99t%20provide%20an%20official%20Modbus%20stack%20for%20the%20S32K344%2C%20but%20the%20MCU%20is%20capable%20of%20supporting%20Modbus%20RTU%20or%20TCP.%20You%20can%20implement%20it%20yourself%20using%20third-party%20libraries%20depending%20on%20your%20needs.%3CBR%20%2F%3EHere%20are%20a%20few%20options%20you%20can%20look%20into%20(I%20believe%20you%20can%20find%20more%20on%20the%20web)%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.embedded-experts.at%2Fen%2Ffreemodbus%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.embedded-experts.at%2Fen%2Ffreemodbus%2F%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.softdel.com%2Fmodbus-stack%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.softdel.com%2Fmodbus-stack%2F%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.rapidseasuite.com%2Fmodbus-protocol-stack%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.rapidseasuite.com%2Fmodbus-protocol-stack%3C%2FA%3E%3CBR%20%2F%3EThese%20can%20be%20adapted%20to%20work%20with%20the%20S32K344%20depending%20on%20your%20platform%20setup%20(e.g.%2C%20RTOS%2C%20communication%20interfaces).%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E