#Switch to RS-485 (two-wire system)
echo RS485 > /sys/class/gpio_switch/com1Mode
Device node mapping: In the Linux application layer, COM1 corresponds to/dev/ttymxc2, and COM2 corresponds to/dev/ttymxc3. Upper level applications (such as Node RED or Python PySerial) need to read and write to this node.

4G/5G cellular module software activation process
After the installation of the hardware physical layer is completed (see the hardware guide in the next chapter), software activation is crucial. MXA-200 uses NetworkManager for cellular connection management.
Check modem recognition:
bash
nmcli d
Confirm the presence of cdc-wdm0 or similar character devices in the list.
New cellular connection:
bash
nmcli c add type gsm ifname cdc-wdm0 con-name cellular
Activate connection:
bash
nmcli c up cellular
Connection test:
Check if the wwan0 interface has obtained the operator IP (usually 10. x.x.x or 100. x.x.x) through ifconfig. Use ping-I wwan0 8.8.8.8 to force the specified interface to test external network connectivity.
Wireless Module Hardware Integration Guide (Physical Layer Disassembly)
For models that are not pre installed with wireless modules at the factory, users need to disassemble and install them themselves. The following is a standardized operating procedure organized according to the manual.
5.1 Preparation work
Tools: Cross screwdriver, open-end wrench (for antenna nut), thermal pad (included with module).
Dismantling: Unscrew the 8 screws at the bottom of the chassis and remove the top cover.
5.2 Antenna feeder layout strategy
The manual specifies in detail the antenna positions for different modules, which must be strictly followed to pass EMC testing:
Wi Fi module: Usually uses ANT1 and ANT2 (specific holes on the front or side panel).
4G module (such as Quectel EM05-G): using ANT3 and ANT4 (main and diversity).
5G module (such as Telit MV32-W-AD): All four antenna interfaces (ANT1-ANT4) need to be used to achieve MIMO 4x4, and installation should correspond to the "MAIN", "DIV", "MIMO1", and "MIMO2" labels on the module.
5.3 Key installation steps and torque specifications
Install RF coaxial cable: Thread the SMA connector through the antenna opening, insert the gasket, and tighten the hex nut. The torque value should be controlled within 6-8 kgf · cm. Tightness can damage the SMA interface pin, while looseness can result in poor contact.
Fix M.2 module: Insert the module diagonally into the M.2 slot, press down and fix it with hexagonal bolts. Torque value: 4-5 kgf · cm.
Adhesive thermal conductive aluminum block (the most important):
Special note in the manual: Both sides of the heat-conducting aluminum block are covered with protective film (Release Paper), which must be removed before installation.
Cover the aluminum block on the RF chip and fix it with M2.5 and M3 screws, with a torque value of 3.5-4 kgf · cm. This design is used to conduct heat from high-power 5G chips to the metal casing. If this step is missed, the device will experience frequency reduction or even restart due to overheating under high loads.
Common "brick rescue" and recovery mechanisms
Factory reset: The device is equipped with a "Function Button" on the side. Press and hold this button until the system automatically restarts to reset all network and user configurations (suitable for IP forgetting or password loss scenarios).
BSP firmware update: When flashing eMMC through microSD card, the PGM LED (programmable indicator light) will remain on, please do not power off during the process.
Safety compliance and working environment
The manual clearly states that the device complies with UL 61010-1 and IEC 62368-1 safety standards. Special attention should be paid to the following environmental restrictions:
Working temperature: Although the chip supports -20 ° C~70 ° C, the safety section of the manual recommends an operating environment temperature of 5 ° C to 50 ° C, which is based on the surface temperature touch limit of IEC 60950-1/62368-1.
Altitude limit: The maximum working altitude is 5000 meters.
California Proposition 65 warns that products containing chemicals such as lead, cadmium, phthalates, etc. must comply with local WEEE regulations when disposing of waste.
