![Texas Instruments TMS470R1x Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/texas-instruments/tms470r1x/tms470r1x_reference-manual_1097091011.webp)
MibSPI Operation Modes
Multi-Buffer Serial Peripheral Interface (MibSPI) (SPNU217B)
3
2
MibSPI Operation Modes
The MibSPI operates in master or slave mode. The MASTER bit
(SPICTRL2.3) selects the configuration of the SPISIMO and SPISOMI pins
and the CLKMOD bit (SPICTRL2.5) determines whether an internal or
external clock source will be used.
The slave chip select (SPISCS[7:0]) pins are used when communicating with
multiple slave devices. When the master (MibSPI sending out the clock
stream) writes to SPIDAT1, the SPISCS pins are automatically driven to
select the slave connected to that signal. Writing to SPIDAT0 will not drive
any SPISCS pins, thus allowing the master to communicate with all slave
devices connected to the same SPI bus.
In addition, a handshaking mechanism, provided by the SPIENA pin, enables
the slave to delay the generation of the clock signal supplied by the master
as long as it is not prepared for the next exchange of data.
Figure 1 on page 4 shows the MibSPI module block diagram.
Содержание TMS470R1x
Страница 2: ...2 ...