I’m trying to use an SPI connected MCP2515 arduino module with Colibri iMX6DL V1.1A and Aster V1.1B.
The module (Welcome henrysbench.capnfatz.com - BlueHost.com) uses MCP2515 controller and TJA1050 transceiver.
The module was connected to the SPI bus exposed on Aster’s X18 connector and was powered from X15 GND/V_IOREF. Although it was recognised by the linux (Angstrom, latest) for the first try I did not have any success with the module to send or receive CAN messages. Then, by investigating the schematics of the Colibri Eval board I found that you use 16MHz crystal for the MCP2515.
Changing the crystal from 8MHz to 16MHz on the module and changing the JP2 to provide 5V to the V_IOREF, from where the module is also powered, and to set up proper level shifting, it is possible now to send out one can message to the bus (after proper can interface init). This message properly arrives to the other node, however no other message could be sent out from the board and no message could be captured at all.
Interestingly, based on the ifconfig output the can0 RX and TX counters are not changing.
The only difference in my setup with Aster compared to the eval board’s solution (excluding the transceiver, which is not relevant from the issue perspective) is that I cannot connect the module to the CAN_INT signal as this line is not exposed on the Aster.
Could you please let me know that based on your driver support to the SPI connected MCP2515, how an external module should be connected to the Aster board and what other configuration would be necessary to properly operate it?
Thank you in advance