I am trying to transmit and receive CAN using SPE.
but I have some issues with SPE CAN implementation.
first, I am trying running demo-sw according to Jetson Sensor Processing Engine (SPE) Developer Guide: Welcome.
my demo-sw is configured to receive can messages. and I modified device-tree (disable mttcan@c310000 in kernel), pinmux(tegra19x-mb1-pinmux-p3668-a01.cfg) and SCR(tegra194-mb1-bct-scr-cbb-mini-p3668.cfg) according to the guideline.
I send messages using CAN simulator like CANoe.
but it is not working.
I checked below,
- check RXD line which is from transceiver (NCV7344-3) : no problem.
(I can see that CAN signal is received via RXD. 0-3.3V)
- check kernel device tree : no problem. (disabled]
- check pinmux : no problem [pinmux is set according to the guideline]
but…is it correct to check kernel pinmux setting for SPE??
$sudo cat /sys/kernel/debug/tegra_pinctrl_reg | grep "can0"
- check secure control register : ??? HOW ???
there is CAN ack error in the CAN bus.
it means that there is no can controller which sends dominant level in ack slot when simulator send a message. so I think that CAN controller (mttcan) seems not to be activated.
but I can not figure out the reason.
please, let me know how to check pinmux and scr configuration are changed correctly. (and I also want to know what is SCR)