====== cfnet-fs I²C Mode ====== {{ :modularpi:modularpi_main-system.png }} For I²C mode, run `cfnet-fs` as shown below: cfnet-fs {mount-point} {i2c1-device} {i2c2-device} {i2c3-device} For the [[:modularpi:index|ModularPi]]: cfnet-fs /tmp/cfnet-fs /dev/i2c-0 /dev/i2c-1 /dev/i2c-3 * ''mount-point'' can be any directory the user running the program has access to. * ''/dev/i2c-0'' is the I²C port for analog modules * ''/dev/i2c-1'' is the I²C port digital input modules * ''/dev/i2c-3'' is the I²C port digital output modules The [[:modularpi:index|ModularPi]] must have the following in its ''/boot/firmware/config.txt'' file for the I²C ports to work. [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 NOTE: I²C port 0 can also be configured for 1MHz, if you are only using CFADC-A4L and CFDAC-2V modules on that port. [[cfnet-fs:getting_started:index|Back]]