Because M5Stack's Module series products adopt a stacking design, when multiple products are used simultaneously, pin conflicts may occur. Therefore, Module LLM supports manual switching of communication pins. Since it uses serial communication, the user only needs to adjust the RX and TX pins. Depending on the connected host, you can flexibly choose the appropriate pins.
When connecting Module LLM with different hosts, the selectable RX and TX pins are as follows:
| Host | Host RXD | Host TXD |
|---|---|---|
| Core (Basic) | G16/G13/G34/G35 | G17/G15/G12/G0 |
| Core2 | G13/G19/G34/G35 | G14/G2/G27/G0 |
| CoreS3 | G18/G7/G14/G10 | G17/G13/G6/0 |
After switching, the CoreS3 uses G7 for RX and G17 for TX. In Arduino, configure the port with Serial2.begin(115200, SERIAL_8N1, 7, 17).