AnsweredAssumed Answered

Flexcan configuration in linux

Question asked by Santiago López Pina on Feb 14, 2020
Latest reply on Feb 20, 2020 by TomE

Hi, all!

 

I have an STKa6Ulx development board with a TQMa6ulx embedded system. I'm trying to start the CAN bus. The board, has two CAN interfaces. I've developed two applications to send and receive data over the CAN. If I connect CAN0 to CAN1 the data is sent and received correctly.

 

However, I want to communicate the embedded system with a  HC12 micro controller system over the CAN. The HC12 has the follow configuration in the busCAN:

BAUDRATE CAN: 250000

Sinc Jum: 2

T. Seg 1: 11

T. Seg 2: 4

I don't know how to establish this configuration via linux terminal. If I show the can0 configuration in terminal I get the follow data:

In the image, I see the data 'flexcan' but I don't know how to acces to that configuration.

 

I've connected both system, but I can't communicate each other.

 

Please, Could someone helps me?


Thanks, Santi.

Outcomes