AnsweredAssumed Answered

how to set SD2 pins voltage as 1.8v

Question asked by wen zhu on Aug 3, 2015
Latest reply on Aug 3, 2015 by igorpadykov

hi,everyone,

      I want to set these pins voltage as 1,8v on  i.MX6SoloLite:

  • SD2_CLK
  • SD2_CMD
  • SD2_DAT0
  • SD2_DAT1
  • SD2_DAT2
  • SD2_DAT3

 

  These pins were connect to SDIO card,so we need init these pins as:

MX6SL_PAD_SD2_CLK__USDHC2_CLK_50MHZ,
MX6SL_PAD_SD2_CMD__USDHC2_CMD_50MHZ,
MX6SL_PAD_SD2_DAT0__USDHC2_DAT0_50MHZ,
MX6SL_PAD_SD2_DAT1__USDHC2_DAT1_50MHZ,
MX6SL_PAD_SD2_DAT2__USDHC2_DAT2_50MHZ,
MX6SL_PAD_SD2_DAT3__USDHC2_DAT3_50MHZ,

 

then I call below funtion to set these pins voltage:

int mx6sl_setSDIOCardVoltage(void)

{

 

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_CLK,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

 

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_CMD,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

 

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_DAT0,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_DAT1,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_DAT2,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

  mxc_iomux_set_specialbits_register(MX6SL_PAD_SD2_DAT3,

  PAD_CTL_LVE, PAD_CTL_LVE_MASK);

 

return 0;

}

but after complied,the voltage still is 3.3v.

 

Can you help me to check where was wrong?  How to solve this problem?

 

Thanks very much!

Outcomes