MicroBlaze Micro Controller System v1.3
16
PG048 December 18, 2012
Chapter 4:
Customizing and Generating the Core
•
Enable Receiver
- Enables UART receiver for character input. This is automatically
connected to standard input (
stdin
) in the software program.
•
Enable Transmitter
- Enables UART transmitter for character output. This is
automatically connected to standard output (
stdout
) in the software program.
•
Define Baud Rate
- Sets the UART baud rate. To get the correct baud rate, the input
clock frequency must also be correctly defined.
•
Programmable Baud Rate
- Determines if the UART baud rate is programmable. The
default baud rate is calculated based on the input clock frequency and the defined
baud rate.
•
Number of Data Bits
- Defines the number of data bits used by the UART. Should
almost always be set to 8.
•
Use Parity
- Enable this parameter to use parity checking of the UART characters.
•
Even or Odd Parity
- Select odd or even parity. Only available when parity is used.
•
Implement Receive Interrupt
- Generate an interrupt when the UART has received a
character. When the interrupt is not enabled the UART must be polled to check if data
has been received.
•
Implement Transmit Interrupt
- Generate an interrupt when the UART has sent a
character. When the interrupt is not enabled the UART must be polled to wait until data
has been transmitted.
•
Implement Error Interrupt
- Generate an interrupt if an error occurs when the UART
receives a character. This error can be a framing error, an overrun error or a parity error
(if parity is used), When the interrupt is not enabled the UART must be polled to check
if an error has occurred after a character has been received.