CAN FIFO Configuration Issue with S32K148

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAN FIFO Configuration Issue with S32K148

609 Views
kavyakoney
Contributor II

Hello everyone,

I am working on CAN protocol , i want to enable FIFO buffers for my code.

I am bit confused of this.Can anyone tell me what configurations i need to do for this? 

I tried but i am getting the below error. Help me to find the solution

Issue: Since CanHardwareObject_TX is used for Legacy FIFO, the CanHwObjectCount configured must be 6 and Can Object Type is RECEIVE
Level: Error
Type: Tool problem
Tool: Peripherals
Origin: Peripherals
Resource: Sources
Information: Since CanHardwareObject_TX is used for Legacy FIFO, the CanHwObjectCount configured must be 6 and Can Object Type is RECEIVE

Thank you in advance.

Tags (1)
0 Kudos
Reply
3 Replies

540 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@kavyakoney

I made a demo for your reference, the hardware is S32K148EVB, RTD 3.0.0.

2025-11-19_15-08-14.png

 

0 Kudos
Reply

521 Views
kavyakoney
Contributor II

yeah. Thank you @Senlent , i gone through it. 

its a demo for polling and used internal mailboxes right. 

I want to receive CAN data using the Legacy RX FIFO on S32K148.
The required CAN bus speed is 1 Mbps, and I need to configure the RX FIFO filters, ID tables, and interrupts correctly.
Could you please guide me on how to configure the Legacy RX FIFO and how to read FIFO frames when they arrive?


0 Kudos
Reply

518 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@kavyakoney

No, the Legacy FIFO is used in this demo, and the baud rate is 500KBPS.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2206747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECAN%20FIFO%20Configuration%20Issue%20with%20S32K148%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20CAN%20protocol%20%2C%20i%20want%20to%20enable%20FIFO%20buffers%20for%20my%20code.%3C%2FP%3E%3CP%3EI%20am%20bit%20confused%20of%20this.Can%20anyone%20tell%20me%20what%20configurations%20i%20need%20to%20do%20for%20this%3F%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20but%20i%20am%20getting%20the%20below%20error.%20Help%20me%20to%20find%20the%20solution%3C%2FP%3E%3CP%3E%3CSTRONG%3EIssue%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ESince%20CanHardwareObject_TX%20is%20used%20for%20Legacy%20FIFO%2C%20the%20CanHwObjectCount%20configured%20must%20be%206%20and%20Can%20Object%20Type%20is%20RECEIVE%3CBR%20%2F%3ELevel%3A%20Error%3CBR%20%2F%3EType%3A%20Tool%20problem%3CBR%20%2F%3ETool%3A%20Peripherals%3CBR%20%2F%3EOrigin%3A%20Peripherals%3CBR%20%2F%3EResource%3A%20Sources%3CBR%20%2F%3EInformation%3A%20Since%20CanHardwareObject_TX%20is%20used%20for%20Legacy%20FIFO%2C%20the%20CanHwObjectCount%20configured%20must%20be%206%20and%20Can%20Object%20Type%20is%20RECEIVE%3C%2FP%3E%3CP%3EThank%20you%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E