Trouble Communicating via UART Between EKH-05 Station (TX: PB10, RX: PB11) and Arduino Mega (serial2)

Hello everyone, I’m working on establishing a UART communication between an EKH-05 station and an Arduino. According to the datasheet, the SENS UART is available and uses PB10 for TX and PB11 for RX. I’ve configured the wiring accordingly, and I expect the station to both send and receive data over this serial link.

However, I’m currently unable to either receive or transmit any data through this UART interface.
Has anyone worked with this configuration or encountered similar issues? I would really appreciate more details on the feasibility of this connection, including any necessary settings, or potential limitations in the EKH-05 station.
NB: the voltage is well regulated and the connections are well placed.

Thanks in advance for your help!

Hi @Asma

The MM6108 on its own does not support an AT command like interface over the UART. However, as there is an STM32 microcontroller on the EKH05, you would instead want to program this to read commands from the UART and forward to the MM6108.

Out of the box, the EKH05 is not programmed to do this. However, there are some applications which might be helpful for you. If you clone MM-IoT-SDK you will be able to build and flash the cli example for the mm-mm6108-ekh05. Make sure to configure the cli.mode as m2m in the config store partition.

This will expose a UART which can be used to controller from another host.
Open doc/html/group__MMAGIC__CONTROLLER.html for information on the controller library/API you’ll need to add to your Arduino.

For the MM-IoT-SDK, after cloning, I recommend reading through the docs included in the repository. Open documentation.html from your local copy after cloning,