pinmuxing tool for IMX8QXP

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

pinmuxing tool for IMX8QXP

526 Views
krunaldhonde
Contributor I

We are having custom board based on IMX8QXP , for that we want to change device tree and pin muxing.

We have downloaded pin muxing tool from below site.

https://www.nxp.com/design/designs/config-tools-for-i-mx-applications-processors:CONFIG-TOOLS-IMX

Does this link is correct ?

After this for custom board we selected following configuration.

krunaldhonde_0-1640785368649.png

 Then we have enabled adc.

DTS generated from tool : 

fsl,pins = <
SC_P_ADC_IN0_ADMA_ADC_IN0 0x00000040
SC_P_ADC_IN1_ADMA_ADC_IN1 0x00000040
SC_P_ADC_IN2_ADMA_ADC_IN2 0x00000040
SC_P_ADC_IN3_ADMA_ADC_IN3 0x00000040
SC_P_ADC_IN4_ADMA_ADC_IN4 0x00000040
SC_P_ADC_IN5_ADMA_ADC_IN5 0x00000040
>;

But from one of the sample we used following setting which worked perfectly for us.

pinctrl_adc0: adc0grp {
fsl,pins = <
IMX8QXP_ADC_IN4_ADMA_ADC_IN4 0xc0000060
IMX8QXP_ADC_IN5_ADMA_ADC_IN5 0xc0000060
>;
};

So, we are having doubt regarding pin muxing tool. Are we doing something wrong here?

0 Kudos
Reply
1 Reply

518 Views
igorpadykov
NXP Employee
NXP Employee

Hi Krunal

 

seems pin muxing tool provides general settings, which could be adjusted in

particular use case. Settings (like 0x00000040 or 0xc0000060) can be found in

sect.9.2.5.1.108 ADC_IN1 (ADC_IN1) i.MX8QXP Reference Manual

https://www.nxp.com/webapp/Download?colCode=IMX8DQXPRM

 

Best regards
igor

0 Kudos
Reply