135
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
When UCPHA=1, the slave begins to drive its MISO output when SS goes active low, but the data is not defined until
the first XCK edge. The first XCK edge shifts the first bit of data from the shifter onto the MOSI output of the master
and the MISO output of the slave. The next XCK edge causes both the master and slave to sample the data bit value
on their MISO and MOSI inputs, respectively. At the third XCK edge, the USART shifts the second data bit value out to
the MOSI and MISO output of the master and slave respectively. When UCPHA=1, the slave’s SS input is not required
to go to its inactive high level between transfers.
Because the SPI logic reuses the USART resources, SPI mode of operation is similar to that of synchronous or
asynchronous operation. An SPI transfer is initiated by checking for the USART Data Register Empty flag (UDRE=1)
and then writing a byte of data to the UDATA Register. In master mode of operation, even if transmission is not
enabled (TXE=0), writing data to the UDATA register is necessary because the clock XCK is generated from
transmitter block.
11.7.11 Register Map
Name
Address
Dir
Default
Description
UCTRL01
E2H
R/W
00H
USART Control 1 Register 0
UCTRL02
E3H
R/W
00H
USART Control 2 Register 0
UCTRL03
E4H
R/W
00H
USART Control 3 Register 0
USTAT0
E5H
R
80H
USART Status Register 0
UBAUD0
E6H
R/W
FFH
USART Baud Rate Generation Register 0
UDATA0
E7H
R/W
FFH
USART Data Register 0
UCTRL11
FAH
R/W
00H
USART Control 1 Register 1
UCTRL12
FBH
R/W
00H
USART Control 2 Register 1
UCTRL13
FCH
R/W
00H
USART Control 3 Register 1
USTAT1
FDH
R
80H
USART Status Register 1
UBAUD1
FEH
R/W
FFH
USART Baud Rate Generation Register 1
UDATA1
FFH
R/W
FFH
USART Data Register 1
Table 11.16
Register Map
11.7.12 USART Register Description
USART module consists of USART Control 1 Register (UCTRLx1), USART Control 2 Register (UCTRLx2), USART
Control 3 Register (UCTRLx3), USART Status Register (USTATx), USART Data Register (UDATAx), and USART
Baud Rate Generation Register (UBAUDx).
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...