Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


Help with FDCAN configuration and interruptions

Hi,

I am working with a nucleo board H743ZI2 to use with the FDCAN port. I have configured it correctly and I can send and read messages.

Problem
The problem comes when I want to activate interruptions to read messages through interruptions. I activate the HAL_FDCAN_ActivateNotification, but when I receive a message the interruption goes to Abort Transmission, Rx Buffer new message and Message Ram Access Failure that goes into the error routine.

If I just read the port it goes without a problem.

Can you help me out with what am I missing ?

Instead of posting a lot of code, here is the link to the repository https://github.com/jdios89/TestBench_FDCAN_STM32Question

The configuration and activation can be seen in Peripherial/FDCAN library

The code is run in TestWorkbench.cpp in the Src folder.

Thank you for your help .