********************************************************************************
Detailed Description:
Configures the FlexCAN 0 to transmit and receive message into RXFIFO.
LOOPBACK mode is enabled.
Two IDs are set into RXFIFO ID table.
DMA is configured to read the message from RXFIFO.
Within DMA major interrupt the new message is send according to
which Identifier Acceptance Filter was hit.
------------------------------------------------------------------------------
Test HW: S32K144 EVB-Q100
MCU: PS32K144HFVLL 0N77P
Fsys: 160MHz
Debugger: Lauterbach
Target: internal_FLASH
********************************************************************************
Revision History:
1.0 Sep-4-2017 Petr Stancik Initial Version
*******************************************************************************
where did you added the above code ..I am also facing the same issue
solved after aligning the CAN software buffer memory.
union
{
uint8_t buffer[64];
struct
{
uint32_t Buff1;
uint32_t Buff2;
uint32_t Data1;
uint32_t Data2;
}MBS[8];
}CAN_RxData __attribute__((aligned(64)));;
I have the same problem as you. Have you solved it yet
Hi,
I am trying to do CAN using DMA in the s32K144 Eval kit. Softyware triggered DMA works fine but it is not working fine when I configured it for CAN RX FIFO. No DMA major loop complete interrupt is received. I am using SDK's and processor expert generated code to initialize the CAN and DMA. Did you have sample code with SDK's? The attached code is not working for me...it is entering the default ISR.