2024-04-03 11:23 AM - last edited on 2024-04-03 12:12 PM by Peter BENSCH
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.
Solved! Go to Solution.
2024-04-03 02:53 PM - edited 2024-04-03 03:31 PM
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:
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:
2024-04-03 02:53 PM - edited 2024-04-03 03:31 PM
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:
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: