Using the I2S in same time with a camera using the i2C

Hello!

Sorry i’m a newbie in all of that, hope it’s not a problem.

I’m using an embedded camera (from e-con systems) wich is plugged on J49 (CAM1)
to use it i’ve downloaded the software provided by e-con systems and it works great.

I’m using too an ADC for audio input which uses I2S protocol.
when i’m modifiying pin configurations with “jetson-io.py” to reconfigure pins in i2s4, the camera stop working.

Does anyone have an answer to this? :/

thanks in advance for your answers and sorry for my bad English!

Sorry for the late response, our team will do the investigation and provide suggestions soon. Thanks

thank you for your answer @kayccc,

I’ve searched a bit on my side to find the answer and this is what i found:

  • To enable I2S and use the camera in the same time I have to add support in device tree overlay
  • I have to create a .dts file and compile it to add it to the dtbo

Unfortunately, on the NVIDIA site which explains how to do so:
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_io.html#wwpID0E03B0HA

I can’t find the “jetson-header-name property values” for the CSI of a Jetson nano

If i’ll find answers, i’ll update this post!

please try using Jetson TX1/TX2 CSI Connector .

thanks @JerryChang for the anwer, unfortunately it doesn’t work
here is my .dts file:

/dts-v1/;
/plugin/;

/{
overlay-name = “Overlay Jetson Nano”;
jetson-header-name = “Jetson TX1/TX2 CSI Connector”;
compatible = “nvidia,p3449-0000-b00+p3448-0000-b00”;

    fragment@0 {
            target-path ="/";
            __overlay__ {
                    my-custom-property = "This is my overlay";
            };
    };

};

and here is the error when i tried to applied this overlay:

Traceback (most recent call last):
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 125, in
main()
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 117, in main
dtbo = configure_jetson(jetson, header, hw)
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 55, in configure_jetson
% (hw, header))
NameError: No configuration found for Overlay Jetson Nano on Jetson 40pin Header!

how can i go further? maybe the .dts has an error?

thanks in advance for your help!

hello vladimirromensky4,

please try have another try with… jetson-header-name = "Jetson Nano CSI Connector".
thanks

Hello again @JerryChang !
i’ve changed the jetson-header-name, but same error…

user@jetson2:~$ sudo /opt/nvidia/jetson-io/config-by-hardware.py -n “My Jetson Overlay”
Traceback (most recent call last):
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 125, in
main()
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 117, in main
dtbo = configure_jetson(jetson, header, hw)
File “/opt/nvidia/jetson-io/config-by-hardware.py”, line 55, in configure_jetson
% (hw, header))
NameError: No configuration found for My Jetson Overlay on Jetson 40pin Header!

if you think there is another way i’ll be glad!
i’ll try other header names!
maybe should I add something in the “fragment” part?

best regards…

hello vladimirromensky4,

you should create a file named my-overlay.dts on the target platform, the file should also contain the property, overlay-name = "My Jetson Overlay"; after that, please compile the DTS source file into an overlay file, my-overlay.dtbo, and place it under /boot/, then python script, config-by-hardware.py -n "My Jetson Overlay" should recognize the file.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.