I'm trying to initialize and send data via DCAN of AM3358 using PRU of the same SOC for the same I have referred DCAN driver "dcan.c" from https://github.com/BeaglePilot/PRUSS-C/tree/master/PRUSS_LIB/AM335X_StarterWare_02_00_01_01/drivers. Here I'm not exactly aware of sequence to initialize DCAN core and send daa.
I was able to succeed the same using ARM core running on Linux but my requirement is to do the same using PRU under C based environment. Attached a sample file written in C, which uses DCAN functions from dcan.c, which is not working at this moment, can some one help me here?
I see some here, https://github.com/embest-tech/AM335X_StarterWare_02_00_01_01/tree/master/examples/evmAM335x/dcanTxRx.
Thanks,
Suresh