-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98954da
commit eb73f3d
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# UART | ||
|
||
To communicate with the outside world, a memory-mapped UART module was added to | ||
the system. It contains a receiver and a transmitter. | ||
|
||
## Hardware block | ||
|
||
The receiver uses an oversampling technique to estimate transmitted bits on the | ||
data line. In the absence of a clock line, detection of a start bit (0 value) | ||
followed by sampling of data at the middle of a bit's transmission ensures | ||
accurate retrieval. A standard oversampling factor of 16 minimizes the error to | ||
1/16 from the middle point. | ||
|
||
```{figure} img/uart-rx-proto.svg | ||
:width: 200px | ||
:align: center | ||
|
||
Transmission of a byte | ||
``` | ||
|
||
Specification: | ||
|
||
- 8 data bit | ||
- 1 stop bit | ||
- parity bit supported | ||
- AHB data interface | ||
|
||
The hardware has been tested at baud rates of 115200, 19200 and 9600. | ||
|
||
## Software interface |