This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: Coding MSP432 and using it for controlling LCD 16X2

Part Number: MSP432P401R

Hello,

I am using MSP432P401R.

I want to know the following things-

1. Where can I find example of coding MSP432 using CCS.

2. How can I control a 16x2 lcd with the MSP432? I am not able to do it with Energia existing libraries as they are compatible only with MSP430. Are there libraries on CCS for the same purpose?

Kindly tell how can I program MSP432 for controlling 16X2 lcd

  • be careful, most of the 16x2 parallel lcd around are 5V CMOS parts and so are not directly compatible with the 432 which is a 3.3V only device... other than that the core is a standard ARM M4 and driving the lcd only involves driving the ports (no timers or peripherals) so you can adapt easily code made for other devices
  • Update:-
    I was able to connect and code the 16X2 lcd.
    For energia 18 version
    1. Copy liquid crstal library from hardware-> energia -> msp430-> libraries
    2. Paste it into main library.
    3. use the connectons as-
    Connections-

    01 - GND GND
    02 - VCC +5V
    03 - Contrast GND
    04 - RS Pin35 (P6_7)
    05 - R/W GND
    06 - EN Pin34 (P2_3)
    07 - DB0 GND
    08 - DB1 GND
    09 - DB2 GND
    10 - DB3 GND
    11 - DB4 Pin39 (P2_6)
    12 - DB5 Pin38 (P2_4)
    13 - DB6 Pin37 (P5_6)
    14 - DB7 Pin36 (P6_6)
    15 - BL+ +5V
    16 - BL- GND

**Attention** This is a public forum