]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Ensure that uC input pin P1.2_CP_RTS is valid when the CP2103 is off.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Mon, 2 Nov 2009 20:43:24 +0000 (20:43 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:44 +0000 (20:01 -0700)
commit6b620e461f73eabb91ffd9c0ae4d4c6b6a686415
tree6709e02d9bc16d11629c2ea34111bb852a46a7dd
parentc62eb5a8f569e1a267d10a4c4aa24e8f5151fb8b
Ensure that uC input pin P1.2_CP_RTS is valid when the CP2103 is off.

We accomplish this by enabling an internal pull-down on P1.2 of the MSP430.
It would be better to enable a pull-up, but then we are sending a voltage to
the CP2103 when it is off, which may cause a latch-up problem.  The pull-down
isn't terrible, since it represents the condition whereby the USB host is ready
to receive data from the RWS.  When the USB is connected, this is likely to be
the most common condition.
tos/platforms/tmicore/MotePlatformC.nc
tos/platforms/tmirws/MotePlatformC.nc