How to Use/Test Interface Guide1) I2C Use the following command to display all available I2C buses $ i2cdetect -l Use the below command to scan and list the I2C devices connected to bus 1. $ i2cdetect -y 1 Similarly, Use the below command to scan and list the I2C devices connected to bus 2. $ i2cdetect -y 2 Run i2cdetect -l to list available I2C buses. Only the available buses can be used with i2cdetect -y <bus_number>, where <bus_number> should be replaced with the correct bus number, Bus 1,2 and 7 in below case. 2) GPIOThis table lists the corresponding pin numbers for the CN1001 MRAA, CHIPSET, and GPIO interfaces. It provides the mapping for GPIO pins used in testing the GPIO interface, For SX1509 GPIO, the assignments are: CN1001 MRAA CHIPSET GPIO PIN7 4 16 PIN11 4 18 PIN13 4 19 PIN15 4 20 PIN12 4 17 PIN16 4 15 PIN18 4 3 PIN22 4 2 For MCU GPIO pins, the assignments are: CN 1001 MRAA CHIPSET GPIO PIN29 5 0 PIN31 5 1 PIN32 5 2 PIN33 5 3 PIN35 5 4 PIN36 5 5 PIN37 5 6 PIN38 5 7 To configure GPIO pins on the expansion for input or output, follow these steps: For GPIO input, use the command: $ gpioget -c 4 2 For GPIO output, to set the GPIO line high, use: $ gpioset -c 4 2=1 To set the GPIO line low, use: $ gpioset -c 4 2=0 3) SPI Connect pins 19 and 21 on CN1001 header to establish a link between SPI0 RX and TX. Similarly Connect pins 27 and 28 on CN1602 header to establish a link between SPI1 RX and TX. Subsequently, run the spidev_test command to transmit data from SPI TX to RX. The command executed is as follows: SPI0$ spidev_test -D /dev/spidev0.0 -p "12345" -v SPI1$ spidev_test -D /dev/spidev1.0 -p "12345" -v 4) CANTo configure the CAN interface, make the following connections on the CN1602 header: CAN0_H (Pin 13) → CAN1_H (Pin 14) CAN0_L (Pin 15) → CAN1_L (Pin 16) This setup enables a loopback connection for testing CAN communication This creates a loopback setup for testing communication between CAN0 and CAN1. Open two terminal , and follow the below commands. Terminal 1 $ ip link set can0 up type can bitrate 500000 dbitrate 2000000 fd on$ ip link set can1 up type can bitrate 500000 dbitrate 2000000 fd on$ ifconfig can0 up$ ifconfig can1 up$ candump can0 Terminal 2 $ cansend can0 102#8877665544332211 The output will appear on Terminal 1. 5) EthernetUse the command below to obtain Ethernet information, which will display details related to the Ethernet connection. $ ifconfig eth0 $ ifconfig eth1 The following command sends ICMP Echo Requests to a public DNS server to check internet connectivity and network latency. A response confirms that the network can reach external servers. $ ping 8.8.8.8 6) Audio(Line-In/Line-Out)The below command is used to test the audio interface by playing a specified .wav file through the selected audio device (plughw:0,0). Replace <audiofile> with the desired file to check audio output. $ aplay -D plughw:0,0 <audiofile>.wav 7) SDTo confirm the presence of the SD card,Insert the SD card in board, then power on the board and execute the command below. $ lsblk The output should show the connected block devices. Typically, an SD card is recognized as a device such as /dev/mmcblk0, /dev/sdX, or similar. 8) Camera(USB)The USB webcam was evaluated using the following command $ gst-launch-1.0 v4l2src device=/dev/videoX ! video/x-raw,width=1280,height=720 ! waylandsink. Here “X” corresponds to camera device connected to the module .