MMUART Peripherals
UG0331 User Guide Revision 15.0
490
13.3.2.1.1 Software Design Flow
This section explains MMUART initialization and data transfers between MMUART peripheral and Host
PC.
Initialization of MMUART Peripheral
Initialize the MMUART instance MMUART_0 by using MSS_UART_init API. Specify the baud rate and
line configuration information like bit length, parity, and stop bits to configure the MMUART instance.The
same baud rate and line information should be used to configure the Host PC HyperTerminal program.
Data Transfer
Use MSS_UART_polled_tx API with MMUART_0 instance and data buffer to send the data to the Host
PC. Use MSS_UART_get_rx API with MMUART_0 instance and data buffer to receive the data from the
Host PC.
13.4
MMUART Register Map
The MMUART_0 base address resides at 0x40000000 and extends to address 0x40000FFF in the
Cortex-M3 processor memory map. The MMUART_1 base address resides at 0x40010000 and extends
to address 0x40010FFF in the Cortex-M3 processor memory map. The following table summarizes the
control and status registers for MMUART _0 and MMUART_1.
Table 467 •
MMUART Register Definitions
Register
Name
Divisor Latch
Access Bit (DLAB)
1
1.
DLAB is the MSB of the line control register (LCR bit 7).
Addres
s Offset Read/Write
Reset
Value
Description
0
0x0
R
N/A
Receiver buffer register
0
0x0
W
N/A
Transmit holding register
1
0x0
R/W
0x01
Divisor latch (LSB)
1
0x04
R/W
0
Divisor latch (MSB)
N/A
0x3C
R/W
0
Fractional divisor register
0
0x04
R/W
0
Interrupt enable register
N/A
0x24
R/W
0
Multi-mode interrupt enable register
N/A
0x08
R
0x01
Interrupt identification register
N/A
0x28
Clear on R 0
Multi-mode interrupt identification register
N/A
0x08
W
0
FIFO control register
N/A
0x0C
R/W
0
Line control register
N/A
0x10
R/W
0
Modem control register
N/A
0x14
R
0x60
Line status register
N/A
0x18
R
0
Modem status register
N/A
0x1C
R/W
0
Scratch register
N/A
0x30
R/W
0
Multi-mode control register0
N/A
0x34
R/W
0
Multi-mode control register1
N/A
0x38
R/W
0
Multi-mode control register2
N/A
0x44
R/W
0
Glitch filter register
N/A
0x48
R/W
0
Transmitter time guard register
N/A
0x4C
R/W
0
Receiver time-out register
N/A
0x50
R/W
0
Address register
Содержание SmartFusion2 MSS
Страница 1: ...UG0331 User Guide SmartFusion2 Microcontroller Subsystem ...
Страница 166: ...Cortex M3 Processor Reference Material UG0331 User Guide Revision 15 0 132 ...
Страница 200: ...Embedded NVM eNVM Controllers UG0331 User Guide Revision 15 0 166 Figure 87 System Builder Window ...
Страница 407: ...Universal Serial Bus OTG Controller UG0331 User Guide Revision 15 0 373 ...
Страница 806: ...Fabric Interface Controller UG0331 User Guide Revision 15 0 772 Figure 345 FIC Master AHB Lite Subsystem ...