SLAZ172P October 2012 – May 2021 MSP430F235
PORT Module
Functional
Pullup for P3.6 controlled by bit 0
According to the user's guide, the internal pullup of an I/O should be enabled when a corresponding bit from PxREN and PxOUT are both set. For example, in the case of P3.6, this should be bit 6. However, P3.6 is currently controlled by bit 0 instead. Bit 0 also controls P3.0, as expected. The pulldown resistors operate properly and are not affected by this errata.
If bit 6 of PxREN is set, bits 0 and 6 of PxOUT should be set/cleared together. If P3.6 is to be configured for pullup/down, P3.0 must have the same configuration. So the workaround options are:
- Configure both P3.0 and P3.6 with pulldowns. (bits 0/6 of PxREN set, bits 0/6 of PxOUT cleared)
- Configure both P3.0 and P3.6 with pullups. (bits 0/6 of PxREN set/cleared, bits 0/6 of PxOUT set)
- Do not use the pullup/pulldown feature on these pins. (bits 0/6 of PxREN cleared)