A96G150 User's manual
16. USART2
223
16.4
Synchronous mode operation
When synchronous mode or SPI mode is used, the XCK pin will be used as either clock input (slave)
or clock output (master). The dependency between a clock edge and data sampling or data change is
the same. The basic principle is that data input on RXD2 (MISO2 in SPI mode) pin is sampled at the
opposite XCK clock edge at the edge in the data output on TXD2 (MOSI2 in SPI mode) pin is changed.
UCPOL bit in UCTRL1 register selects which XCK clock edge is used for data sampling and which is
used for data change. As shown in Figure 99, when UCPOL is zero, data will be changed at XCK rising
edge and sampled at XCK falling edge.
Figure 99. Synchronous Mode XCK Timing
XCK
TXD2/RXD2
UCPOL = 1
TXD2/RXD2
XCK
UCPOL = 0
Sample
Sample
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...