Difference between GPIO EMC, SD, AD and no descriptor

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Difference between GPIO EMC, SD, AD and no descriptor

ソリューションへジャンプ
2,226件の閲覧回数
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 解決策
2,159件の閲覧回数
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 返答(返信)
2,183件の閲覧回数
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 件の賞賛
返信
2,143件の閲覧回数
Shruti1
Contributor I

Yes, this helps a lot. Thank you.

0 件の賞賛
返信
2,160件の閲覧回数
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 件の賞賛
返信
2,205件の閲覧回数
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 件の賞賛
返信