Ele parece afirmar que o hardware das LaunchPads do G2231 e G2553 é diferente devido à existência de resistores externos.
Anteriormente (G2231), o P1REN habilitava em "1" ou "0" sem a necessidade de um comando P1OUT, pela existência de resistores externos ao microcontrolador?
O diagrama de blocos do 2231 mostra somente resistores internos à CPU:
Analisando o Esquemático do 2231 abaixo é possível identificar o acionamento direto da chave de alimentação do resistor interno, através do sinal presente em PxREN.y, mas não sabemos que tipo de chave é esta, ou, qual é a lógica funcional
O sinal PxOUT.y é a variãvel de seleção do MUX que escolhe no resistor interno o valor de VSS ou VCC.
8.2.2 Output Registers PxOUT
Each bit in each PxOUT register is the value to be output on the corresponding I/O pin when the pin is configured as I/O function, output direction, and the pullup/down resistor is disabled.
Bit = 0: The output is low
Bit = 1: The output is high
If the pin's pullup/pulldown resistor is enabled, the corresponding bit in the PxOUT register selects pullup or pulldown.
Bit = 0: The pin is pulled down
Bit = 1: The pin is pulled up
8.2.4 Pullup/Pulldown Resistor Enable Registers PxREN
Each bit in each PxREN register enables or disables the pullup/pulldown resistor of the corresponding I/O pin. The corresponding bit in the PxOUT register selects if the pin is pulled up or pulled down.
Bit = 0: Pullup/pulldown resistor disabled
Bit = 1: Pullup/pulldown resistor enabled
8.2.8 Configuring Unused Port Pins
Unused I/O pins should be configured as I/O function, output direction, and left unconnected on the PC board, to prevent a floating input and reduce power consumption. The value of the PxOUT bit is irrelevant, since the pin is unconnected. Alternatively, the integrated pullup/pulldown resistor can be enabled by setting the PxREN bit of the unused pin to prevent the floating input. See the System Resets, Interrupts, and Operating Modes chapter for termination of unused pins.
No MSP430G2553, foram adicionados mais 2 MUX entre PxREN.y e PxOUT.y, um buffer inversor, entre outros elementos que influenciam na habilitação/definição do resistor interno.
Então, que resistores externos a CPU seriam esses citados pelo Raul?
A chave de alimentação continua sendo ativada diretamente pelo sinal de PxREN.y, mas a seleção do MUX do resistor interno depende do sinal presente no pino do microcontrolador ou PxOUT.y.
Att,