2023-05-29 04:49 AM - edited 2023-11-20 04:26 AM
Problem: Acknowledgement error on can analyzer
We are able to get the transmit data on TxFIFO Registers for CAN channel 2 but hardware is unable to transmit the message on the CAN channel 2.
May I know what we can do to correct this problem asap?
#[STM32 MCUs] #STM32CubeIDE #[SPC5 Automotive MCUs] #SPC5Studio #SPC5x #CAN
Solved! Go to Solution.
2023-05-30 12:30 AM
Hi,
if I`m well understanding you are using the CAN_SUB_0_MESSAGE_RAM for both controllers MCAN0_0 and MCAN1_1.
This configuration is wrong because the controllers are from different subsystems, and you are only using the shared ram from subsystem 0. To avoid errors, you should configure the CAN_SUB_0_MESSAGE_RAM for MCAN0_0 and CAN_SUB_1_MESSAGE_RAM for MCAN1_1.
Controllers from subsystem 0 should use the subsystem 0 shared ram and the same is for controllers from subsystem 1 that should use subsystem 1 shared ram.
Best regards
Domenico
2023-05-30 12:30 AM
Hi,
if I`m well understanding you are using the CAN_SUB_0_MESSAGE_RAM for both controllers MCAN0_0 and MCAN1_1.
This configuration is wrong because the controllers are from different subsystems, and you are only using the shared ram from subsystem 0. To avoid errors, you should configure the CAN_SUB_0_MESSAGE_RAM for MCAN0_0 and CAN_SUB_1_MESSAGE_RAM for MCAN1_1.
Controllers from subsystem 0 should use the subsystem 0 shared ram and the same is for controllers from subsystem 1 that should use subsystem 1 shared ram.
Best regards
Domenico