I am able to detect my I2C device with sudo i2cdetect -y -r 8. I have found python libraries that does the i2c communications but im looking to develop mine with C/C++.
There are many resources for RPI but it seems BCM2835 doesnt work on Jetson Nano. Any help is appreciated.
are you asking for the kernel APIs for I2C reading/writing?
please also check kernel documentation for the reference,
i.e. $L4T_Sources/r32.6.1/Linux_for_Tegra/source/public/kernel/kernel-4.9/Documentation/i2c/writing-clients