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

UART communication between Tiva and Beaglebone #2

Closed
ruchaborwankar opened this issue Apr 13, 2020 · 3 comments
Closed

UART communication between Tiva and Beaglebone #2

ruchaborwankar opened this issue Apr 13, 2020 · 3 comments
Assignees

Comments

@ruchaborwankar
Copy link
Collaborator

ruchaborwankar commented Apr 13, 2020

TODO: SEND AND RECEIVE DATA BETWEEN BEAGLEBONE AND TIVA

Data successfully sent from Beaglebone to Tiva
Implemented code to send a string "Hello Beaglebone" to Tiva Board from Beaglebone and obtained the following output using codes:
https://github.com/cu-ecen-5013/final-project-atharvdesai1996/blob/master/writetotiva.c
image

and

https://github.com/cu-ecen-5013/final-project-ruchaborwankar/blob/master/UART%20tiva%20and%20Beaglebone.zip

image

image

Facing issue with the receiving data on Beaglebone side from Tiva board.
image

DoD: Data should also be received on Beaglebone black from TIVA.

@ruchaborwankar ruchaborwankar changed the title UART setup between Tiva and Beaglebone-Part 2 UART setup between Tiva and Beaglebone Apr 13, 2020
@ruchaborwankar ruchaborwankar self-assigned this Apr 13, 2020
@ruchaborwankar ruchaborwankar changed the title UART setup between Tiva and Beaglebone UART setup between Tiva and Beaglebone Continued Apr 13, 2020
@ruchaborwankar ruchaborwankar added the bug Something isn't working label Apr 13, 2020
@ruchaborwankar
Copy link
Collaborator Author

ruchaborwankar commented Apr 13, 2020

Error on Buildroot:
github: Permission denied (publickey).
Could not read repository error.Data corrupted in git commit error.
image

@ruchaborwankar ruchaborwankar changed the title UART setup between Tiva and Beaglebone Continued UART setup between Tiva and Beaglebone Apr 13, 2020
@ruchaborwankar ruchaborwankar changed the title UART setup between Tiva and Beaglebone UART communication between Tiva and Beaglebone Apr 13, 2020
@ruchaborwankar ruchaborwankar removed the bug Something isn't working label Apr 16, 2020
@ruchaborwankar
Copy link
Collaborator Author

ruchaborwankar commented Apr 16, 2020

Build issue resolved.Read issue is still observed.Trying to use different UART on Beaglebone.

@ruchaborwankar
Copy link
Collaborator Author

ruchaborwankar commented Apr 17, 2020

After adding flags c_oflag=0 and c_lflag=0 and connecting grounds of both boards, the data was received on beaglebone!! It was able to transmit characters as well as a string.
Beaglebone side code:
https://github.com/cu-ecen-5013/final-project-atharvdesai1996/blob/master/writetobb.c
Tiva side code:
https://github.com/cu-ecen-5013/final-project-ruchaborwankar/blob/master/UART%20tiva%20and%20Beaglebone.zip
Output:-
image

image

Thus, UART communication established between TIVA and Beaglebone

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

No branches or pull requests

1 participant