How to port OAK8x module to Jetson Nano

Hi Will,

I am not sure why you are seeing this problem. I did not see it at my end. I think this can be checked separately. But are you able to proceed now with what you originally wanted to do?

Thanks,
Sameer.

Hi Sameer,

I want to transfer 1 byte data (0x55) using devmem2 tools as the following command, but I only see 1 clock, not 8 clocks.

echo on > /sys/devices/7000d400.spi/power/control

devmem2 0x7000d58c h
devmem2 0x7000d58c h 0x0000
devmem2 0x7000d58c b 0x00
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w
devmem2 0x7000d58c h
devmem2 0x7000d58c h 0x0000
devmem2 0x7000d58c b 0x00
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w
devmem2 0x7000d58c h
devmem2 0x7000d58c h 0x0000
devmem2 0x7000d58c b 0x00
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w

devmem2 0x7000d414 h
devmem2 0x7000d416 b
devmem2 0x7000d410 w
devmem2 0x7000d410 w 0xff0000

devmem2 0x7000d400 w 0x73e01807
devmem2 0x7000d508 b 0x55
devmem2 0x7000d424 h 0x0000
devmem2 0x7000d400 w 0xf3e01807
devmem2 0x7000d414 h
devmem2 0x7000d416 b
devmem2 0x7000d410 w
devmem2 0x7000d410 w 0x40ff0001

devmem2 0x7000d588 w
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w 0x73d08000
devmem2 0x7000d400 w
root@pesi-desktop:/home/pesi# cat /sys/kernel/debug/clk/clk_summary | grep sbc1*
          sbc4                                              1            1    12000000    12000000          0 0
                            sbc4.sclk                       0            0    51000000   102000000          0 0
                            sbc3.sclk                       0            0    51000000   102000000          0 0
                            sbc2.sclk                       0            0    51000000   102000000          0 0
                            sbc1.sclk                       0            0    51000000   102000000          0 0
       sbc1                                                 1            1      984616     1000000          0 0
       sbc3                                                 0            0    19200000    19200000          0 0
       sbc2                                                 0            0    19200000    19200000          0 0

Thanks,
Will

Hi Will,

I don’t think you would need all the clocks. Are you able to write and readback the expected values? If yes, then you are good to proceed with your experiment.

However I have requested internally to provide you expert advice on SPI usage.

Thanks,
Sameer.

Hi Sameer,

Yes, I can write/read the register, but how do I send 1 byte (8 clocks) with devmem2 tool?

Thanks,
Will

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Could you try the REG access from the driver to confirm it.

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