Jeffery 0 Posted January 29, 2018 Share Posted January 29, 2018 Part Number: MSP432P401R I'm using MSP432P401R launchpad and I'm trying to use Energia software program my LCD screen. however, Energia has pre-define I/O pins map. For example, on this launchpad the pins P3_0,P3_1,P3_2 are defined, but I did not see P3_1 anywhere. so is there anyway I could define this add to the pin map? and I have to use P3_1 for my design. Thank for your help Quote Link to post Share on other sites
Fmilburn 445 Posted January 30, 2018 Share Posted January 30, 2018 Hi Jeffery, Have a look at the schematic in the MSP432P401R LaunchPad Development Kit User's Guide. P3.1 does not appear accessible, i.e. it does not appear to be brought out to the headers. From the datasheet: What are you doing that you must use that pin? Jeffery 1 Quote Link to post Share on other sites
terjeio 134 Posted January 30, 2018 Share Posted January 30, 2018 @fmilburn It is brought out to JP4.1 as RTS for the backchannel UART so it is accessible if a jumper is removed (it is not in place on my LaunchPad and I cannot remember if I removed it earlier, I believe not). I have a black edition if that matters. Terje Jeffery 1 Quote Link to post Share on other sites
Fmilburn 445 Posted January 30, 2018 Share Posted January 30, 2018 Hi Terje, You are right - I was actually looking for that and missed it. On mine the jumper was not in place when received. Jeffery 1 Quote Link to post Share on other sites
Jeffery 0 Posted January 30, 2018 Author Share Posted January 30, 2018 @Fmilburn @terjeio So how can I reassign a new pin number for this P3_1 like every other pre-defined pin number. Quote Link to post Share on other sites
Fmilburn 445 Posted February 1, 2018 Share Posted February 1, 2018 I don't use Energia for the MSP432 so I don't know if you can - I am not sure it has a pins.h file. You can look in github and see what has been provided there, e.g. https://github.com/energia/Energia/tree/master/hardware/msp432/cores/msp432/driverlib I imagine you could use #define and DriverLib to set something up. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.