S32K344 eMIOS trigger BCTU ADC List

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

S32K344 eMIOS trigger BCTU ADC List

Jump to solution
1,547 Views
oskarjohansson
Contributor I

I am using S32K344 with RTD 2.0.0 D2203 and trying to implement a PWM center triggered ADC list reading.

I have tested the example when the BCTU is software triggered https://community.nxp.com/t5/S32K/How-BCTU-LIST-items-works/m-p/1577227#M19813 and it seems to work good and I am able to configure the ADC channels I want to use. 

Then I am trying to add a eMIOS channel, for now eMIOS_0_0 in MCB_UP_DOWN_COUNTER in Emios_Mcl_Ip_1 and use it as the trigger source in BCTU, which is default from the example above.

oskarjohansson_0-1675769969318.png

But the BCTU is never triggered and it is not possible to software trigger the BCTU anymore. 

Regards,

Oskar Johansson

0 Kudos
Reply
1 Solution
1,517 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

have below option selected in the BCTU setting

PetrS_0-1675936252787.png

It clears MCR[FRZ] bit within BCTU init so HW triggers will be enabled.

BR, Petr 

View solution in original post

0 Kudos
Reply
3 Replies
1,533 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

can you share modified project to see whole setting and code used? So we can test it?

BR, Petr

0 Kudos
Reply
1,526 Views
oskarjohansson
Contributor I

Here is the whole project attached. I have tested it against the evaluation board: S32K3X4EVB-Q257.

Best regards,

Oskar

 

0 Kudos
Reply
1,518 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

have below option selected in the BCTU setting

PetrS_0-1675936252787.png

It clears MCR[FRZ] bit within BCTU init so HW triggers will be enabled.

BR, Petr 

0 Kudos
Reply