I want to evaluate HDMI to SDI on our custom carrier board for Orin NX p3768.
I want to configure the GS Chip - GS12170-IBE3 over SPI because we need to send the processed video in SDI format for our requirement.
Over the GS chip i need to write certain data in the registers.
I need to know what extra configuration needs to be flashed on my board for enabling SPI.
$ ls /dev/spidev*
/dev/spidev0.0 /dev/spidev0.1 /dev/spidev2.0 /dev/spidev2.1
It seems you are using SPI0/CS0 currently.
As a result, you should use /dev/spidev0.0 node.
Do you need to port GS chip? (i.e. is there any custom driver for it? Or it can work with current spidev driver?)
Please share the full device tree and dmesg for further check.
Its JP5.1.2
yes i am using spidev0.0 node
Yes i need to port GS chip and for that i write data to certain registers over spidev0.0 to initialize HDMI to SDI mode. I just need to know if there is additional SPI configuration i need to flash to my board…
According to the manual i have to initialize HDMI to SDI mode by writing certain data to registers.
For this i open spidev0.0 and set max frequency to 10Hz
i use a python script to do write data to registers
Do you mean that it doesn’t need specific driver and just need few data from SPI to be configured?
What’s the result after you perform them?
Do you also get a scope to check if the data is sent correctly?
yes just need to write data from spi for configuration
we will check with a scope and verify…
according to the logs my SPI device is available i just need to initialize it and write data to it am i correct?
Yes, SPI would work if you’ve enabled it in device tree and also configured the pinmux for those SPI pins.
You can just use spidev_test tool to send SPI data as following.