Difference between GPIO EMC, SD, AD and no descriptor

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

Difference between GPIO EMC, SD, AD and no descriptor

跳至解决方案
1,206 次查看
Shruti1
Contributor I

Hello,

When setting the pinmux setting for PWM in RT1062, I am looking through the fsl_iomuxc.h file. For Pwm2 A3, I see:

IOMUXC_GPIO_EMC_19_FLEXPWM2_PWMA03
IOMUXC_GPIO_AD_B0_00_FLEXPWM2_PWMA03
IOMUXC_GPIO_AD_B0_09_FLEXPWM2_PWMA03
IOMUXC_GPIO_B1_02_FLEXPWM2_PWMA03
IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWMA03
 
For other PWM ports and pins, I see multiple pins as well. How do I determine which is the correct one to use? I need to use all four PWMs (4-8 channels in each). 
 
Thanks.
0 项奖励
回复
1 解答
1,139 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Shruti1 ,

 

IOMUXC_GPIO_B1_02_FLEXPWM2_PWMA03
IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWMA03
 
1. Are these for the same pins, or are they different pins?
=>Answer: Totally not the same pin, the different pin.
 
2. What is the difference between the "EMC" pins? PWM3 and PWM4_Bonly has EMC pins in the fsl_iomuxc.h file. Can I use those?
=>Answer: EMC pins normally used for the SEMC, which is used for the external memory, eg, SDRAM.
If you don't use the related EMC pins, you can use it on your side, just check your board, make sure the pin is valid for use in the HW.
 
Wish it helps you!
Best Regards,
Kerry

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,163 次查看
Shruti1
Contributor I

Thanks Kerry for your response. If you look at the list above:

IOMUXC_GPIO_B1_02_FLEXPWM2_PWMA03
IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWMA03
 
1. Are these for the same pins, or are they different pins?
2. What is the difference between the "EMC" pins? PWM3 and PWM4_Bonly has EMC pins in the fsl_iomuxc.h file. Can I use those?
 
Thank you.
 
0 项奖励
回复
1,123 次查看
Shruti1
Contributor I

Yes, this helps a lot. Thank you.

0 项奖励
回复
1,140 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Shruti1 ,

 

IOMUXC_GPIO_B1_02_FLEXPWM2_PWMA03
IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWMA03
 
1. Are these for the same pins, or are they different pins?
=>Answer: Totally not the same pin, the different pin.
 
2. What is the difference between the "EMC" pins? PWM3 and PWM4_Bonly has EMC pins in the fsl_iomuxc.h file. Can I use those?
=>Answer: EMC pins normally used for the SEMC, which is used for the external memory, eg, SDRAM.
If you don't use the related EMC pins, you can use it on your side, just check your board, make sure the pin is valid for use in the HW.
 
Wish it helps you!
Best Regards,
Kerry
0 项奖励
回复
1,185 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Shruti1 ,

    From the RM, pin, you can find:

kerryzhou_0-1684480627498.png

each PWM can support several pins, you can choose the pin which your board is avaiable, then configure that one.

Eg, IOMUXC_GPIO_AD_B0_09 is available, then you can use this pin.

Determined by your hardware situation.

Best Regards,

Kerry

 

 

0 项奖励
回复