I have connected I2C interface sensor module to Expansion Header Pin
I2C_GP5_DAT (PIN3), I2C_GP5_CLK (PIN5)
and then, ‘sudo i2cdetect -y -r 1’ command can not find device.
I installed OS from Jetpack 4.1,
but do I need to install a kernel program or activate an I2C port separately?
Also, in which of these documents are there?
(I already confirmed the OEM Design Guide, but I did not understand the procedure)
@Naruru you used:
sudo i2cdetect -y -r 1
which indicated I2C Bus 1.
I believe that all of the Expansion Header pins (other than power and ground) are currently marked as GPIO, and it is up to the developer to assign SFIO (“Specific Function Input Output” such as I2C). This requires a little digging through the pinmux, gpio-names.h and other documentation. I think the idea here is to build a custom device tree with the configuration that you need.
I haven’t dug through the documents yet so I don’t have the exact details, but need to.