dsukant 0 Posted March 15, 2019 Share Posted March 15, 2019 How can i use 2 UARTS module on msp432 at same time in energia ? If anyone know, please share some example code or some resource link. Quote Link to post Share on other sites
mgh 11 Posted March 16, 2019 Share Posted March 16, 2019 I think the second serial device is just called Serial1 instead of Serial. It is used the same way. Quote Link to post Share on other sites
NurseBob 111 Posted March 16, 2019 Share Posted March 16, 2019 4 hours ago, mgh said: I think the second serial device is just called Serial1 instead of Serial. It is used the same way. That approach has worked for my msp430F5529 projects. Quote Link to post Share on other sites
JRDavisUF 5 Posted March 18, 2019 Share Posted March 18, 2019 yes, this approach has worked with my MSP432 Launchpad as well. So example code running at 38400 baud for each would be: Serial.begin(38400); Serial.println("Serial UART"); Serial1.begin(38400); Serial1.println("Serial1 UART"); On the MSP432 Launchpad: Serial RX/TX can be connected using the pins connected to the RXD<<, TXD>> jumpers (with the jumpers removed). Serial1 RX/TX can be connected using Pin3 (P3.2), Pin 4 (P3.3) per the pin map that comes with the MSP432. jrd 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.