cancel
Showing results for 
Search instead for 
Did you mean: 

CAN2 on NUCLEOF446RE is not working.

pawatJoy
Associate II

I am working on NUCLEO F446RE, I need to use CAN1 and CAN2 on the STM32 NUCLEO-F446RE board. I tested CAN1, which works normally for sending and receiving data, but when I tried CAN2, it didn’t work at all. I looked for solutions in https://community.st.com/t5/stm32-mcus-products/how-to-configure-can-filters-to-use-can1-and-can2-parallelly/td-p/56553?attachment-id=595  and https://community.st.com/t5/stm32-mcus/stm32-in-dual-can-configuration-bxcan-filter-bank-explanation/ta-p/698739 , but CAN2 still doesn’t work. here is my code 

12 REPLIES 12
pawatJoy
Associate II

I need to desolder my shield. Please wait. I think there might be an issue with my hardware.

Hello,

I've created a project with CAN1 and CAN2 are communicating together on NUCLEO F446RE in Normal mode using two MCP2561 transceivers and the communication is working well. I didn't change any SB solder bridge on the board.

I'm using Interrupts instead of polling. In CubeIDE See live expression CAN1_RxData[] and CAN2_RxData[]: the data are changing. CAN1 is sending data to CAN2 and vice versa.

Use the attached project and connect CAN1 to CAN2. Remove the other nucleo from the bus and get back to me with the result.

Hope it helps.

 

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.
pawatJoy
Associate II

After I desoldered the shield connected to the Nucleo board, I found that there was a short circuit on the CAN2 transceiver IC. It works fine now. Thank you for your help, and I apologize for wasting your time.