Jetson agx xavier add spi3 channel

We’re trying to porting temperature sensor.The following are the steps of setting.

  1. Use spi3 , add devices tree:
    image
  2. Include dtsi into the tegra194-p2888-0001-p2822-0000-common.dtsi
  3. Add the driver file into misc folder


    Uploading: 3.png…
    4
    4.Change the Makefile
    makefile
    5.Change the spi3 pin_mux

    When we read the spi3, there is none signal wave on the /cs/mosi/miso/sck.
    Please help to check, thanks

Could you confirm the PINs by below command?

sudo cat /sys/kernel/debug/tegra_pinctrl_reg | grep -i spi

Pins show below, please check:

Looks like spi3_* reg didn’t as expect.
Try using devmem to program those REG to try.

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