Why no AFE peripheral is enabled in twrkm35z75m_afe_polling example?!

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

Why no AFE peripheral is enabled in twrkm35z75m_afe_polling example?!

跳至解决方案
359 次查看
GanesanGuru
Contributor IV

Hi team,
I've used example project - evkmimxrt1064_flexio_pwm - for iMX RT1064 EVK board. The pin config tool is shown as below, where FLEXIO2 - pin 5 is used for PWM.Screenshot from 2023-10-20 15-53-32.png

 

similarlt, for the twrkm35z75m_afe_polling example project - in twrkm35z75m board, the pin config tool is shown as below:

Screenshot from 2023-10-20 15-50-25.png

 

You can see both the project compiles without any error - yet the PWM pin mapping is done perfectly in iMX board, while AFE pin mapping is not done in pin config tool. Why is it so? 

0 项奖励
1 解答
339 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @GanesanGuru,

If you search for the AFE pins in ConfigTools you might see them in grey. That means those pins do not need to be routed because these pins are AFE dedicated and routed by default. So, there is no need to do a pin initialization. As a matter of fact, if you click on those pins to route the signal, you will not see a change in the code of the pin_mux.c

RaulRomero_0-1698087255041.png

[afe_polling_example in Pins Tool of ConfigTools]

Kind regards, Raul.

在原帖中查看解决方案

1 回复
340 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @GanesanGuru,

If you search for the AFE pins in ConfigTools you might see them in grey. That means those pins do not need to be routed because these pins are AFE dedicated and routed by default. So, there is no need to do a pin initialization. As a matter of fact, if you click on those pins to route the signal, you will not see a change in the code of the pin_mux.c

RaulRomero_0-1698087255041.png

[afe_polling_example in Pins Tool of ConfigTools]

Kind regards, Raul.