Questions and discussions about the software that runs on the TD RF module itself.
giovanni
 
Posts: 10
Joined: Mon Jun 22, 2015 1:04 pm

Put UART in High Z

by giovanni Wed Oct 07, 2015 7:47 am

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!
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: Put UART in High Z

by lcheminade Wed Oct 07, 2015 7:51 am

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
giovanni
 
Posts: 10
Joined: Mon Jun 22, 2015 1:04 pm

Re: Put UART in High Z

by giovanni Wed Oct 07, 2015 9:00 am

Thanks Loic!

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

Kind regards,
Giovanni.
Return to Firmware

Who is online

Users browsing this forum: No registered users and 24 guests