![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 825](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609825.webp)
BAT32G1x9 user manual | Chapter 21 Serial interface SPI
825 / 1149
Rev.1.02
21.4 Serial interface for operation of the SPI
In 3-wire serial I/O mode, data is sent or received in 8-bit or 16-bit units. The data is sent or received
synchronously with the serial clock.
After communication begins, bit 0 (SPTF n) of SPISn is set to 1. When the communication of data is
complete, set the communication completion interrupt request flag (SPIIFn) and clear SPTFn to 0. Then
enable the next communication.
Precautions
1. When SPTFn=1 (during serial communication), access to control registers and data registers is
prohibited.
2. Must be used within the range that satisfies the SCLK Cycle Time (tKCY) characteristics. Please refer
to the data sheet for details.
Note: n=0,1