Page 1 of 1

TD1208 EVB

Posted: Mon Sep 21, 2015 1:29 pm
by francois
Hi
I try to cadence the alimentation of an analog sensor connected to the Vcc and Gnd of the EVB header pinout. I want to power the sensor only when we collect the data.
Is there a way to shutdown the Vcc pinout on command?
Thanks

Re: TD1208 EVB

Posted: Mon Sep 21, 2015 1:32 pm
by lcheminade
If you turn off VCC you will shutdown yourself! Why don't you use a GPIO? How much current does your sensor need?

Re: TD1208 EVB

Posted: Mon Sep 21, 2015 2:17 pm
by francois
I would say 10 mA. Is that ok for the GPIO?

Re: TD1208 EVB

Posted: Mon Sep 21, 2015 2:40 pm
by lcheminade
Will be ok if you change the drive mode (20mA).

GPIO_PinModeSet(port, bit, gpioModePushPullDrive,1);
GPIO_DriveModeSet(port, gpioDriveModeHigh);

Re: TD1208 EVB

Posted: Fri Sep 25, 2015 8:21 am
by francois
As a port and bit values I refer to table in section 4.11.7 of TD1208 reference manual. Is that correct?
Francois

Re: TD1208 EVB

Posted: Fri Sep 25, 2015 8:34 am
by lcheminade
Yes indeed!