When I connect IIC0 and IIC1 together (IIC0. SDA - IIC1SDA, IIC0. SCL - IIC1. SCL). Use the command ‘i2ctest - y - r 7’ ”Searching for the devices connected to IIC1 yielded two results: 0x25 and 0x40. So, which one(0x25 and 0x40) is the address of device (IIC0)?
Teacher:
I connected the IIC0 and IIC1 of the Orin nano 4G development board together, so the address read should be the address of the development board IIC0.
How to find the address of development board IIC0?
1.How to use IIC1 to send data and IIC0 to receive data? Achieving mutual debugging effect?
2.I have checked the “device tree” and “pinmux”. Do I need to set IIC0 to SLAVE mode in the device tree?
I have carefully read your reply, and it is almost irrelevant to my question, even irrelevant. May I ask if you are unable to understand the question? Still can’t understand my language?
I can now open the website, thank you teacher.
I have been debugging the SPI function these past few days, and I will reply to you once the SPI debugging is completed.
Yes, you would like to config one of the i2c to slave and connect the another i2c control to check the functionality. Now you need reference to the link to build the kernel Image and device tree for it.
Teacher:
I don’t see any steps in your file to change IIC0 to SLAVE mode, right?
If the file ‘dtb - o tegra234-p3768-0000+p3767-0005-nv.dtb’ is changed internally in the system.
Is it okay to set SPI0 to SLAVE mode?