Difference between revisions of "Embedded System Tutorial UART"
From Embedded Systems Learning Academy
Proj user10 (talk | contribs) (→Assignment) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | Socialledge is moving to two portals. | ||
+ | * The Wiki will remain here for general references about the SJ-One board, and to document student reports. | ||
+ | * The bookstack will now be used for SJSU assignments | ||
+ | |||
+ | [http://books.socialledge.com/books/embedded-drivers-real-time-operating-systems/chapter/lesson-uart This article has been moved here] | ||
+ | |||
+ | <!-- | ||
== Introduction == | == Introduction == | ||
The objective of this lesson is to understand UART, and use two boards and setup UART communication between them. | The objective of this lesson is to understand UART, and use two boards and setup UART communication between them. | ||
Line 96: | Line 103: | ||
*: Connect your UART to your partner's UART (to his board) | *: Connect your UART to your partner's UART (to his board) | ||
*: Prove that you can send/receive data across multiple boards. | *: Prove that you can send/receive data across multiple boards. | ||
+ | *: Upload Logic Analyzer Screenshot for the UART Frame. | ||
* <b>Extra Credit</b>: | * <b>Extra Credit</b>: | ||
*: Use Uart interrupt to queue the received data to avoid polling. You just need to enable UART RX interrupt and then hookup an interrupt callback to do the receive. | *: Use Uart interrupt to queue the received data to avoid polling. You just need to enable UART RX interrupt and then hookup an interrupt callback to do the receive. | ||
− | |||
− | |||
* <b>Steps</b> | * <b>Steps</b> | ||
*: Locate the physical pins for a UART that is not already used by your board | *: Locate the physical pins for a UART that is not already used by your board | ||
Line 106: | Line 112: | ||
*: Write uart_putchar(char) and uart_getchar() functions | *: Write uart_putchar(char) and uart_getchar() functions | ||
*: Interface your UART with someone else's board, and test the communication. | *: Interface your UART with someone else's board, and test the communication. | ||
+ | --> |
Latest revision as of 20:05, 25 January 2019
Socialledge is moving to two portals.
- The Wiki will remain here for general references about the SJ-One board, and to document student reports.
- The bookstack will now be used for SJSU assignments
This article has been moved here