[WooreeINFO] MicroEJ Java application for RS-485 - on top of STM32F746G-DISCO device


i would like to know if there is any MicroEJ application, in Java, using the RS-485 serial communications that i can try with the reference device of “STM32F746G-DISCO” in your website( http://developer.microej.com/getting-started-stm32f746-disco.html)?

If there is extra hardware and/or software required for this Java application, please advise me on that as well.

Thank you so much in advance.

YH Kwon

Hello @kwonyh,

As I understand it, RS-485 is purely hardware support. As for the software it depends what you really want to use the RS-485 link for. You can pretty much use it as a classical UART through ECOM-COMM, examples are available on GitHub [1][2]. If you want to use the more advanced capabilities of RS-485, you’ll need a protocol such as Modbus RTU [3].
As for the board itself the STM32F746G-DISCO, I’ll need to dive deeper into the BSP to know if some configuration is required to be activated to support the RS-485.

Best Regards,
Gaëtan for MicroEJ

[1] https://github.com/MicroEJ/Example-Standalone-Foundation-Libraries/tree/master/com.microej.example.foundation.ecom.reader
[2] https://github.com/MicroEJ/Example-Standalone-Foundation-Libraries/tree/master/com.microej.example.foundation.ecom.writer
[3] https://en.wikipedia.org/wiki/Modbus

Dear Gaetan Harel,

Thanks much for your sincere feedback here first of all, and could you please share with me also about the availability of the HDLC protocol implementation on top of RS-485?

Thanks again.
YH Kwon (@WooreeINFO)


Unfortunately we do not have an existing implementation of HDLC on top of RS-485.