Skip to main content
AOliv.8
Visitor II
May 29, 2023
Solved

SPC58 4B Line: ErrorProblem: Acknowledgement error on can analyzer

  • May 29, 2023
  • 1 reply
  • 1414 views

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?


_legacyfs_online_stmicro_images_0693W00000bl3NeQAI.png #[STM32 MCUs]​ #STM32CubeIDE​ #[SPC5 Automotive MCUs]​ #SPC5Studio​ #SPC5x​ #CAN​ 

This topic has been closed for replies.
Best answer by DCARR

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

1 reply

DCARR
DCARRBest answer
Visitor II
May 30, 2023

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