Enable FIFOWM

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

Enable FIFOWM

350 Views
ZhangEric
Contributor I

S32k324.pngI want to reduce the CPU load, so I used Lauterbach to set the following registers, and I can see that the load will significantly decrease.
So, I went to Adc_Init (&Adc_Config); Afterwards, the following operations were performed. After the program started, Lauterbach saw that the registers had indeed been changed, but the load did not decrease. 【BCTU_Type * const BctuBasePtr_Eric = IP_BCTU_BASE_PTRS;
BctuBasePtr_Eric->FIFOWM = 0x505;
BctuBasePtr_Eric->FIFOCR = 0x30000; 】
I powered on and off again, connected to Lauterbach, stopped for 30 seconds, and ran the program again. The load significantly decreased, and the configuration worked.
Why doesn't the load drop when starting directly? Using Lauterbach to pause for 30 seconds can cause the load to drop.

0 Kudos
Reply
1 Reply

262 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

hard to say from the description you provided. BCTU FIFOs and its watermark are commonly set based on BCTU LIST and expected results to be moved into FIFOs, you should not modify it in runtime.
Try to share simplified S32DS project so we can check/test.

BR, Petr

0 Kudos
Reply