cancel
Showing results for 
Search instead for 
Did you mean: 

F767 CAN Bus issue

mprzybulski
Associate

Hi,

I have an issue with the CAN1 controller in my MCU. I have connected the CAN transceiver to PA12(TX) and PA11(RX). When connected to the CAN Bus I can see the frames coming to the MCU(RX line) and the ACK bits are visible on the TX line. Unfortunately attempting to send any frame fails without any error in any of the registers. 

After changing the TX Pin to PD1 everything runs smoothly. I did not apply any other changes in the parameters of the CAN controller in the CubeMX - just the pin change.

Any ideas for such behaviour?

Thanks.

2 REPLIES 2
SofLit
ST Employee

Hello,

Could you check on your HW what is connected on PA12 apart of the transceiver?

If nothing is connected apart of the transceiver, if you try to toggle PA12 pin, is it working as expected?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Assume people know next to nothing about your board, or implementation.

Is this a custom board? Provide schematic and code initializing CAN and GPIO's

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..