S32K344 eMIOS trigger BCTU ADC List

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K344 eMIOS trigger BCTU ADC List

跳至解决方案
1,548 次查看
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 项奖励
回复
1 解答
1,518 次查看
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 项奖励
回复
3 回复数
1,534 次查看
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 项奖励
回复
1,527 次查看
oskarjohansson
Contributor I

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

Best regards,

Oskar

 

0 项奖励
回复
1,519 次查看
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 项奖励
回复