This is STM32 CAN Protocol project
This Program gets data and sends that to the CAN bus again, also it can be configured in Standard or Extended Frame
- NUCLEO-F446RE
- PEAK IPEH-002021
- SN65HVD231
- BreadBoard (Optional)
- 120ohm Resistor *2 (Optional)
- Keil uVision 5
- PCAN-View
- STM32CubeMX (Optional)
- Connect devices Like this :
PEAK IPEH-002021 | SN65HVD231 | NUCLEO-F446RE |
---|---|---|
GND | GND | GND |
GND | Rs | GND |
-- | Vcc | 3V3 |
CAN_H | CAN_H | -- |
CAN_L | CAN_L | -- |
-- | D | PA12 (CAN1 on STM32) |
-- | R | PA11 (CAN1 on STM32) |
-
To configure the CAN Speed Use this WEBSITE
-
The CAN Speed is
1MBit/s
so The CAN Mode isHigh-Speed
The CAN Address for Receive is0x541
Can be changed from main.c
The CAN Address for Transmit is0x123
Can be changed from main.c