Dear Igor,
This is my original question for this issue. You gave me the tips to fix the problem for this question as you see above..
*******************************************************************************************************************************************************************************
Dear Freescale supporters,
Since my customer is developing phone module with i.MX28, they face high leakage power consumption thru. UART pins at mem mode. Actually those UART pins are connected to other peripherals. When the mem mode starts, those UART pins go to level low while other peripherals are still active mode in some cases. That's there are current flowing from peripheral devices thru. UART pins and the total leakage current is about max. 100mA now.
Is there any way to change the UART ports (UART0_RX, UART1_RX, UART1_CTS, UART3_RX and UART3_CTS) to tri-state mode not to flow the current in mem mode
**********************************************************************************************************************************************************************************
The customer is confusing how to set the those UART ports ( UART0_RX, UART1_RX, UART1_CTS, UART3_RX and UART3_CTS) to high impednace state when it goes to mem mode. Based on your recommendation, the customer can set HW_PINCTRL_DOE0 to output HW_PINCTRL_DOUT0 register with the recommendation of 9.2.3.1 Output Operation like following :
9.2.3.1 Output Operation
Programming and controlling a digital pin as a GPIO output is accomplished by
programming the appropriate bits in four registers, as shown in the figure below.
• After setting the field in the HW_PINCTRL_MUXSELx to program for GPIO
control, the HW_PINCTRL_DRIVEx register bit is set for the desired drive strength
and pin voltage. Set bits in HW_PINCTRL_PULLx as required to enable pullups.
• The HW_PINCTRL_DOUTx register bit is then loaded with the level that will
initially be driven on the pin.
• Finally, the HW_PINCTRL_DOEx register bit is set.
• Once set, the logic value the HW_PINCTRL_DOUTx bit will be driven on the pin
and the value can be toggled with repeated writes.
1) However we don't know memory map of UART ports for those UART0_RX, UART1_RX, UART1_CTS, UART3_RX and UART3_CTS pins to set to high impedance state. Pls advise which bank of the GPI is for this UART port. Is it Bank 0 as you said ? In that case, what's the bit assignement for those UARTx_RX, UARTx_TX and UARTx_CTS. Pls advise.
2) I need to know how to select high impedance state, not low ot high state for those port. Pls advise.
Regards,
SU Jang