Page 1 of 1

Put UART in High Z

Posted: Wed Oct 07, 2015 7:47 am
by giovanni
Hello,

To limit current leakage from the TD1204 uart we're disabling it when not in use.
However disabling it only limits leakage to 60uA (whilst not disabling it leaks 180uA).
Is there a possibility to do this? We're using the uart in combination with a USB-self-powered FTDI chip (so it's floating when not used, hence the current leakage).

Kind regards!

Re: Put UART in High Z

Posted: Wed Oct 07, 2015 7:51 am
by lcheminade
Hi,

Sounds like a lot of leakage... Are you sure this is due to the FTDI chip?

Anyway setting the pin in high Z can be done by using:

GPIO_PinModeSet(gpioPortD,4,gpioModeDisabled,0);
GPIO_PinModeSet(gpioPortD,5,gpioModeDisabled,0);

Loïc

Re: Put UART in High Z

Posted: Wed Oct 07, 2015 9:00 am
by giovanni
Thanks Loic!

This did the trick, sleep current is back to 5uA.

Kind regards,
Giovanni.