Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for soft serial and parity in MSP432 #15

Open
robertinant opened this issue Aug 29, 2016 · 3 comments
Open

Request for soft serial and parity in MSP432 #15

robertinant opened this issue Aug 29, 2016 · 3 comments

Comments

@robertinant
Copy link
Member

From @Suyogaerospace on January 31, 2016 9:30

Hi
I think all four serial ports should be made available for msp432 with parity support and if possible soft serial too.

Copied from original issue: energia/Energia#835

@robertinant
Copy link
Member Author

From @dronus on June 28, 2016 13:9

Actually the original Arduino variants have this settings now, see: https://www.arduino.cc/en/Serial/Begin
So Energia should just implement the updated API.

This is especially important for the MSP432 boards, as the settings can't be changed by low level poking like it is possible on the Arduino and Energia MSP430 platforms, as it is implemented by precompiled runtime code on the MSP432.

@robertinant
Copy link
Member Author

From @RickKimball on June 28, 2016 15:38

You might look at the change I made for the msp430 with usci. The uart on the msp432 is pretty close to this. You just need to implement the appropriate arm code.

energia/Energia#766
https://github.com/energia/Energia/commits/issue_766
http://forum.43oh.com/topic/9063-usci-patch-for-parity/

@robertinant
Copy link
Member Author

From @dronus on July 14, 2016 14:12

The UART is controlled by TI runtime libraries on the MSP432 EMT core, so this is a completely different thing. No registers are set, but TI libraries linked and configured by config struct's.

Currently these structs are only configured by the baudrate setting of Serial.begin, and this initalisation code is buried in Wiring runtime library binary blob.

So to "implement" those settings, one have to change the Serial.begin source code and rebuild the binary libraries. However, there seems to be no documentation at all how those where built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant