cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Values transfer from one STM32F446RE to another STM32F446RE with CAN Bus

Murali3252
Associate

Hi 

 

I am here to seek help from the community.I am a Research Student I just want to know how to send  ADC values from one  STM32F446RE to other  STM32F446RE (i have two). and I am using MCP2515 Transceivers at both ends.

need help in this 

 

thanks.

Murali.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

MCP2515 is not a transceiver but it's a CAN controller using SPI interface.  You need to add a transceiver to use this kind of controller.

Are you sure this is the right part number? if yes, why are you using an external CAN controller while STM32F446 already embeds two CAN instances?

I can recommand either SN65HVD230 or MCP2562 as CAN 2.0 transceivers.

Example of schematics from STM32446E-EVAL board:

SofLit_0-1712182465215.png

 

Start using loopback mode for first CAN tests. You can inspire from this example: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32446E_EVAL/Examples/CAN/CAN_Loopback

Then if all went fine, move to normal mode. You can inspire from this example: 

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324x9I_EVAL/Examples/CAN/CAN_Networking

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.

View solution in original post

1 REPLY 1
SofLit
ST Employee

Hello,

MCP2515 is not a transceiver but it's a CAN controller using SPI interface.  You need to add a transceiver to use this kind of controller.

Are you sure this is the right part number? if yes, why are you using an external CAN controller while STM32F446 already embeds two CAN instances?

I can recommand either SN65HVD230 or MCP2562 as CAN 2.0 transceivers.

Example of schematics from STM32446E-EVAL board:

SofLit_0-1712182465215.png

 

Start using loopback mode for first CAN tests. You can inspire from this example: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32446E_EVAL/Examples/CAN/CAN_Loopback

Then if all went fine, move to normal mode. You can inspire from this example: 

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324x9I_EVAL/Examples/CAN/CAN_Networking

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.