S32K3 BCTU Issue

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

S32K3 BCTU Issue

Jump to solution
2,305 Views
NewbieNerd
Contributor IV

Hello, S32K3 Team,

We are currently experiencing an issue while configuring eMios-BCTU-ADC.

When executing Adc_EnableCtuControlMode, the process frequently halts at the Bctu_ConfigAndUpdateFifoNotification function. Although the notification configured in the FIFO occasionally gets triggered, in most cases, the system stops responding at this point.

We would appreciate your insight into the root cause of this issue, as well as any recommended solutions.

Please find our configuration attached below for your reference.

Best regards,

 

adcbctu6.pngadcbctu5.pngadcbctu4.pngadcbctu3.pngadcbctu2.pngadcbctu1.pngadcbctu0.png

0 Kudos
Reply
1 Solution
2,197 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it looks it has some result in FIFO1 at time of enabling its interrupts. If those are initialized before it would be OK, but I would expect commands come after all is initialized. Lets try to start eMIOS as final steps after all init is done.

BR, Petr

View solution in original post

0 Kudos
Reply
5 Replies
2,290 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

shared configuration looks normal, so hard to say what can be wrong, if other non listed setting or the code you have. For example be sure you enable HW trigger after all init is done, etc.
You can refer to below motor control solutions project which includes eMIOS-BCTU-ADC mechanism as well and contains high-level Autosar project too.
https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Motor-control-SW-examples/ta-p/1804577
Good RTD low level examples are posted at https://community.nxp.com/t5/S32K-Knowledge-Base/RTD400-LLD-K344-ADC-SW-HW-trigger/ta-p/1966179.

BR, Petr

0 Kudos
Reply
2,284 Views
NewbieNerd
Contributor IV

Thank you for your reply.

As you mentioned, I begin by initializing the peripheral modules in the following order:
Mcu → Port → Dio → Adc → Gpt → Mcl → Icu → Pwm,
and then I proceed to call the Adc_EnableCtuControlMode function.

To investigate whether the issue might be related to the operation of the eMIOS module in the MCL, I also tested invoking Adc_EnableCtuControlMode before calling the MCL initialization. However, in both cases, the behavior is inconsistent—the system mostly halts, and only occasionally does it operate successfully.

I would greatly appreciate your advice on this matter.

/* ADC */
Adc_Calibrate(AdcHwUnit_0, &CalibStatus_0);
Adc_Calibrate(AdcHwUnit_1, &CalibStatus_1);


if (CalibStatus_0.AdcUnitSelfTestStatus == E_NOT_OK && CalibStatus_1.AdcUnitSelfTestStatus == E_NOT_OK)
{
  return;
}

/* BCTU */
Adc_DisableCtuControlMode(AdcHwUnit_1);
Adc_EnableCtuControlMode(AdcHwUnit_1);
Adc_CtuEnableHwTrigger(AdcHwTrigger_0);


Adc_SetupResultBuffer(0U, s_usAdcReadBuffer_0);
Adc_EnableGroupNotification(0U);
Adc_StartGroupConversion(0U);
 

Best regards,
Tags (3)
0 Kudos
Reply
2,266 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you share full simplified project, we can test on EVB.

BR, Petr

0 Kudos
Reply
2,212 Views
NewbieNerd
Contributor IV

First of all, I apologize for the delayed response, and I kindly ask for your understanding that, due to company policy, I am unable to upload files.

The issue occurs within the Bctu_ConfigAndUpdateFifoNotification function, specifically in the following code segment:

Mask |= FifoConfig->FifoDmaEnable ? (BCTU_FIFOCR_DMA_EN_FIFO1_MASK << FifoConfig->FifoIndex) : 0U;
Mask |= FifoConfig->bEnNotif ? (BCTU_FIFOCR_IEN_FIFO1_MASK << FifoConfig->FifoIndex) : 0U;
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_65();
BctuBasePtr->FIFOCR &= ~(Mask);
BctuBasePtr->FIFOCR |= Mask;
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_65();


After this code is executed, the system no longer proceeds. It seems to get stuck or halt at this point.

I would greatly appreciate your assistance in identifying the cause of this issue and any potential resolutions.


There are rare cases where the execution succeeds, so I am wondering if there are specific conditions that must be met when setting the FIFOCR register.

In normal operation, the value of the FIFO1DR register changes.

(picture adc0 <-> adc1)

In abnormal operation, it does not.

(only adc1)

Thank you for your continued support.

Best regards,

Tags (1)
0 Kudos
Reply
2,198 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it looks it has some result in FIFO1 at time of enabling its interrupts. If those are initialized before it would be OK, but I would expect commands come after all is initialized. Lets try to start eMIOS as final steps after all init is done.

BR, Petr

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2067660%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067660%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20S32K3%20Team%2C%3C%2FP%3E%3CP%3EWe%20are%20currently%20experiencing%20an%20issue%20while%20configuring%20eMios-BCTU-ADC.%3C%2FP%3E%3CP%3EWhen%20executing%20Adc_EnableCtuControlMode%2C%20the%20process%20frequently%20halts%20at%20the%20Bctu_ConfigAndUpdateFifoNotification%20function.%20Although%20the%20notification%20configured%20in%20the%20FIFO%20occasionally%20gets%20triggered%2C%20in%20most%20cases%2C%20the%20system%20stops%20responding%20at%20this%20point.%3C%2FP%3E%3CP%3EWe%20would%20appreciate%20your%20insight%20into%20the%20root%20cause%20of%20this%20issue%2C%20as%20well%20as%20any%20recommended%20solutions.%3C%2FP%3E%3CP%3EPlease%20find%20our%20configuration%20attached%20below%20for%20your%20reference.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu6.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu6.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329595i6E524F6F74470D99%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu6.png%22%20alt%3D%22adcbctu6.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu5.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu5.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329596i1A107F01CA6DBF7D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu5.png%22%20alt%3D%22adcbctu5.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu4.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu4.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329593i125B1BE9974C70F1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu4.png%22%20alt%3D%22adcbctu4.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu3.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu3.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329594i965E0C14C14B3356%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu3.png%22%20alt%3D%22adcbctu3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu2.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu2.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329597i65C171F3965C0E77%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu2.png%22%20alt%3D%22adcbctu2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329598i509317D66DCF1FC3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu1.png%22%20alt%3D%22adcbctu1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adcbctu0.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adcbctu0.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329599iDE62C5ACDFFAF780%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22adcbctu0.png%22%20alt%3D%22adcbctu0.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2073681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2073681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eit%20looks%20it%20has%20some%20result%20in%20FIFO1%20at%20time%20of%20enabling%20its%20interrupts.%20If%20those%20are%20initialized%20before%20it%20would%20be%20OK%2C%20but%20I%20would%20expect%20commands%20come%20after%20all%20is%20initialized.%20Lets%20try%20to%20start%20eMIOS%20as%20final%20steps%20after%20all%20init%20is%20done.%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2072707%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2072707%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFirst%20of%20all%2C%20I%20apologize%20for%20the%20delayed%20response%2C%20and%20I%20kindly%20ask%20for%20your%20understanding%20that%2C%20due%20to%20company%20policy%2C%20I%20am%20unable%20to%20upload%20files.%3C%2FP%3E%3CP%3EThe%20issue%20occurs%20within%20the%20Bctu_ConfigAndUpdateFifoNotification%20function%2C%20specifically%20in%20the%20following%20code%20segment%3A%3C%2FP%3E%3CP%3EMask%20%7C%3D%20FifoConfig-%26gt%3BFifoDmaEnable%20%3F%20(BCTU_FIFOCR_DMA_EN_FIFO1_MASK%20%26lt%3B%26lt%3B%20FifoConfig-%26gt%3BFifoIndex)%20%3A%200U%3B%3CBR%20%2F%3EMask%20%7C%3D%20FifoConfig-%26gt%3BbEnNotif%20%3F%20(BCTU_FIFOCR_IEN_FIFO1_MASK%20%26lt%3B%26lt%3B%20FifoConfig-%26gt%3BFifoIndex)%20%3A%200U%3B%3CBR%20%2F%3ESchM_Enter_Adc_ADC_EXCLUSIVE_AREA_65()%3B%3CBR%20%2F%3EBctuBasePtr-%26gt%3BFIFOCR%20%26amp%3B%3D%20~(Mask)%3B%3CBR%20%2F%3EBctuBasePtr-%26gt%3BFIFOCR%20%7C%3D%20Mask%3B%3CBR%20%2F%3ESchM_Exit_Adc_ADC_EXCLUSIVE_AREA_65()%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAfter%20this%20code%20is%20executed%2C%20the%20system%20no%20longer%20proceeds.%20It%20seems%20to%20get%20stuck%20or%20halt%20at%20this%20point.%3C%2FP%3E%3CP%3EI%20would%20greatly%20appreciate%20your%20assistance%20in%20identifying%20the%20cause%20of%20this%20issue%20and%20any%20potential%20resolutions.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThere%20are%20rare%20cases%20where%20the%20execution%20succeeds%2C%20so%20I%20am%20wondering%20if%20there%20are%20specific%20conditions%20that%20must%20be%20met%20when%20setting%20the%20FIFOCR%20register.%3C%2FP%3E%3CP%3EIn%20normal%20operation%2C%20the%20value%20of%20the%20FIFO1DR%20register%20changes.%3C%2FP%3E%3CP%3E(picture%20adc0%20%26lt%3B-%26gt%3B%20adc1)%3C%2FP%3E%3CP%3EIn%20abnormal%20operation%2C%20it%20does%20not.%3C%2FP%3E%3CP%3E(only%20adc1)%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20continued%20support.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2069480%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2069480%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eif%20you%20share%20full%20simplified%20project%2C%20we%20can%20test%20on%20EVB.%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2068296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2068296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EAs%20you%20mentioned%2C%20I%20begin%20by%20initializing%20the%20peripheral%20modules%20in%20the%20following%20order%3A%3CBR%20%2F%3EMcu%20%E2%86%92%20Port%20%E2%86%92%20Dio%20%E2%86%92%20Adc%20%E2%86%92%20Gpt%20%E2%86%92%20Mcl%20%E2%86%92%20Icu%20%E2%86%92%20Pwm%2C%3CBR%20%2F%3Eand%20then%20I%20proceed%20to%20call%20the%20Adc_EnableCtuControlMode%20function.%3C%2FP%3E%3CP%3ETo%20investigate%20whether%20the%20issue%20might%20be%20related%20to%20the%20operation%20of%20the%20eMIOS%20module%20in%20the%20MCL%2C%20I%20also%20tested%20invoking%20Adc_EnableCtuControlMode%20before%20calling%20the%20MCL%20initialization.%20However%2C%20in%20both%20cases%2C%20the%20behavior%20is%20inconsistent%E2%80%94the%20system%20mostly%20halts%2C%20and%20only%20occasionally%20does%20it%20operate%20successfully.%3C%2FP%3E%3CP%3EI%20would%20greatly%20appreciate%20your%20advice%20on%20this%20matter.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%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E%3CDIV%3E%3CSPAN%3EAdc_StartGroupConversion%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3E0U%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CBR%20%2F%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20BCTU%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eshared%20configuration%20looks%20normal%2C%20so%20hard%20to%20say%20what%20can%20be%20wrong%2C%20if%20other%20non%20listed%20setting%20or%20the%20code%20you%20have.%20For%20example%20be%20sure%20you%20enable%20HW%20trigger%20after%20all%20init%20is%20done%2C%20etc.%3CBR%20%2F%3EYou%20can%20refer%20to%20below%20motor%20control%20solutions%20project%20which%20includes%20eMIOS-BCTU-ADC%20mechanism%20as%20well%20and%20contains%26nbsp%3B%3CSPAN%3Ehigh-level%20Autosar%26nbsp%3Bproject%20too.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K3-Motor-control-SW-examples%2Fta-p%2F1804577%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K3-Motor-control-SW-examples%2Fta-p%2F1804577%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSPAN%3EGood%20RTD%20low%20level%20examples%20are%20posted%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FRTD400-LLD-K344-ADC-SW-HW-trigger%2Fta-p%2F1966179%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FRTD400-LLD-K344-ADC-SW-HW-trigger%2Fta-p%2F1966179.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E