This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Senseless send CAN frame

Hi everyone, 

I want to develop my CAN driver for the UT32M0R500 micrcontroller. I send a CAN frame on the principal bus. I should get the the send frame signal on the Tx pin.

However, when I tested it, it produced the the following result.

The green signal is the generated signal on the Tx pin.

I tried to modify my code and I tried to add a transciever to look at the CAN HIGH, but nothing has changed (the transciever return a 0 signal... It seems that it does not understand the Tx input)

So I decided to inspire my code from the example provided by CAES : it produces the same thing.

I directly tested the exemple provided by CAES :  it produces the same thing.

Then, I wrote the simpliest test as possible that follows : 

MAIN.C

TYPESGENERAL.H

CANREGISTERTYPES.H

....... And the result whas exactly the same !!!

Do you see any clear error that could generate this strange behaviour ?

According to tou, what could be the origin of the problem ?

I thank you for your help by advance.

Best regards.

Rémi G

0