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.

SK-TDA4VM: Build a Kernel Module to stream bytes over CAN Interface.

Part Number: SK-TDA4VM

Hello,

It can seem strange but I am looking to build a kernel module or you can guide me if there is anything present which can fulfil my requirement.

Requirement is:

  • Build a kernel module that can stream bytes through CAN interface like (can0, can5 and can9).
  • This streaming of bytes will not follow CAN protocol instead simple transferring of bytes from one physical destination to another.

Why this requirement ?

We have a third party product that is taking UART data over CAN Physical layer (through TJA1044v3 chip) which is basically shifting UART voltage level to CAN differential voltage level. In order to communicate with this either of the methods can be done:

  1. Connect a similar TJA1044V3 interface with SK-TDA4VM and transmit UART data over that, or
  2. Build a kernel module that can transfer UART data (stream of bytes in certain order) over CAN interfaces.

I wish to opt for 2nd method as that will decrease the latency giving us better response time as that is also one requirement of system.

Please let me know how can I proceed with this.

Cordially,
Alark Mishra