This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ICE AM335x CAN non-linux sample code

Hi,

  I am in need of some working sample CAN bus code for the Industrial Communication Engine AM335x.  I followed some threads but they lead to use under Linux and we are going to use SYS/BIOS.  I found the dcanTxRx project in the StarterWare_02_01_00_01 and have built it and have been trying to run it.

This has not even run much  as the code hangs in an I2C read of the CPLD in main where it is trying to set up the MUX.  

I2CMasterIntRawStatusEx Line 401

   CPLDI2CRead Line 112

      EVMProfileGet Line 178

         DCANPinMuxSetup Line 74

            dcanTxRx Main Line 144

Is there other demo code ? Am I building it wrong ? I had to re-sddress the StarterWare platform project, archive build step from evmskAM335x to evmAM335x and add dcan.c and cpid.c to the project.

Any suggestions would be helpful.

Thanks