CPU-310-12 User manual Rev. 1-0 Contents
9.9 TTL Serial Console 53
9.9.1 TTL Serial Console connector specifications 53
9.10 MicroSD card holder 54
9.10.1 How to insert / remove the MicroSD card in the holder 54
9.11 RTC (Real Time Clock) 55
9.11.1 The RTC Device "/dev/rtc1" 55
9.11.2 The RTC backup battery 55
9.11.2.1 How to replace / install the battery 55
9.11.2.2 How to enable/disable the battery 56
9.12 Watchdog 56
9.13 Accelerometer and Gyroscope 56
9.14 Programmable pushbutton 56
9.15 The TPM 57
10 The Software 59
10.1 The Linux OS distribution 59
10.2 The bootloader procedure 59
10.3 How to create and use a bootable MicroSD card for a Linux release 59
11 How to login the Administration Console 61
11.1 Default credentials 61
11.2 How to login using the Serial Console 61
11.3 How to Login Via Secure Shell (SSH) 61
11.3.1 How to Login Via eth0 62
11.3.2 How to Login via eth1 62
11.4 How to change the password 62
12 How to manage the interfaces in Linux 63
12.1 How to drive the GPIOs: the GPIO Utility 63
12.2 How to know which version of Linux is installed 64
12.3 How the storage memory is exposed 64
12.4 How to manage Wi-Fi and Bluetooth 64
12.5 How to manage the Internal Cellular Modem 65
12.5.1 How to select the MicroSIM card holder to use 65
12.5.2 Note for LE910-NA1 Modem: AT&T / Verizon firmware support 65
12.5.2.1 How to select the AT&T firmware 66
12.5.2.2 How to select the Verizon firmware 66
12.5.3 How to disable/enable the diversity (CELL DIV) function 66
12.6 How to manage the CAN ports 67
12.6.1 How to enable the CAN Bus 5V 67
12.6.2 How to setup a CAN port 67
12.6.3 How to send/receive a message via a CAN port 67
12.7 How the TTL Serial Console is exposed 67
12.8 How to manage the COM ports 68
12.8.1 How to set the termination resistors for COM 0 in RS-485 mode 68
12.8.2 How to set the RS-422/485 modes for COM 0 68
12.8.2.1 How to use the ethsetserial utility to configure the COM ports 68
12.8.2.2 How to implement the ioctl in the source code to configure the COM ports 69
12.8.3 How to set the RS-232/485 modes for COM 1 72
12.8.3.1 How to use the ethsetserial utility to configure the COM ports 72
12.8.3.2 How to implement the ioctl in the source code to configure the COM ports 73
12.8.4 How to test a serial port 75
12.9 How to manage the Digital I/Os 76
12.10 How to manage the LED Indicators 76
12.11 How the Ethernet ports are exposed 76
12.12 How to enable the 3.3V and 5V power supply on the Expansion connector 77
7 / 106