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.

TMS320F28075: How to receive a CAN message on CANA and transmit it on CANB.

Part Number: TMS320F28075

Hi,

Is it possible to receive a CAN message on CANA and then immediately transmit it on to the CANB? Like a bridge function.

It would be nice if it was possible to do it all, or close to all, in the HW because of the large amount of data (CAN messages) that have to

be bridged through from CANA to CANB.

I hope you can help me!

Thanks!

Best regards,

Carsten

   

 

  • Hello Carsten,

    Thank you for you question. Unfortunately, there is no direct way to do this purely in hardware. However, it is worth noting that this can be done efficiently by immediate transmission at CANB upon reception at CANA (using interrupts). Further efficiency can be gained by viewing the disassembly and reducing cycles (potentially by writing parts of the interrupt in assembly).

    My assumption is that this system will have two separate CAN busses, and you would like a bridge between the two busses. If this is the case, then please view the following CAN repeater reference design that may be able to assist with this (and provide isolation if needed):

    https://www.ti.com/tool/TIDA-01487

    If this is not the case (if it is a single bus), then it may be more effective to simply utilize the bus traffic instead of re-transmitting to the network.

    Regards,

    Vince

  • Hi Vince,

    We hoped that it was possible to fix in the HW setup but we had our doubt.

    Thanks a lot for your quick response and answer.

    Best regards,

    Carsten