To use UART, CFNET, and PCIe SSD functions on the Modular Pi, you must add the following content to the config.txt configuration file.
※ This is a mandatory requirement for using expansion modules (CFNET I/O).
sudo nano config.txt[pi5] pciex1=on dtoverlay=uart0-pi5 dtoverlay=uart4-pi5 dtoverlay=i2c0-pi5,pins_8_9,baudrate=100000 dtoverlay=i2c1-pi5,pins_2_3,baudrate=1000000 dtoverlay=i2c3-pi5,pins_22_23,baudrate=1000000
CFNET I/O expansion modules are designed to be controlled via I²C (CFNET) communication. Therefore, to use I²C communication in Python, you must install the smbus2 library as shown below.
sudo apt-get install -y python3-smbusdpkg -l | grep python3-smbus
After completing the settings above, you can verify the expansion modules (CFNET) connected to the Modular Pi using a simple command.
sudo apt-get install -y i2c-toolssudo i2cdetect -y 3
The Operating System (OS) should be kept up to date through update and upgrade commands. Using older versions may cause compatibility issues; maintaining the latest version ensures the system operates more stably. Additionally, development tools such as Python, Node.js, and GCC should be kept at their latest versions to guarantee compatibility with modern libraries.
sudo apt-get upgrade -y