![Freescale Semiconductor HCS08 Series Скачать руководство пользователя страница 187](http://html1.mh-extra.com/html/freescale-semiconductor/hcs08-series/hcs08-series_reference-manual_2330628187.webp)
MC9S08JS16 MCU Series Reference Manual, Rev. 4
Freescale Semiconductor
187
Chapter 13
16-Bit Serial Peripheral Interface (S08SPI16V1)
13.1
Introduction
The 8- or 16-bit selectable serial peripheral interface (SPI) module provides for full-duplex, synchronous,
serial communication between the MCU and peripheral devices. These peripheral devices can include
other microcontrollers, analog-to-digital converters, shift registers, sensors, memories, etc.
The SPI runs at a baud rate up to the bus clock divided by two in master mode and up to the bus clock
divided by four in slave mode. Software can poll the status flags, or SPI operation can be interrupt driven.
The SPI also supports a data length of 8 or 16 bits and provides a hardware match feature for the receive
data buffer.
The MC9S08JS16 series have one serial peripheral interface module (SPI). The four pins associated with
SPI functionality are shared with PTA[4:1] See “MC9S08JS16 Series
Data Sheet
,” for SPI electrical
parametric information.
13.1.1
SPI Port Configuration Information
To configure the SPI for high speed operation (operating frequency of greater than 6 MHz), the input filters
on the SPI port pins must be disabled by clearing the SPIFE in SOPT2. Doing so allows data transfers to
occur at the higher frequency but at a risk of introducing noise during data transfers. If running the SPI at
a baud rate of 8 MHz or greater, the application must enable the high output drive strength selection on the
port pins corresponding to the affected SPI port pins.
By default, the input filters on the SPI port pins will be enabled (SPIFE=1), which restricts the SPI data
rate to 6 MHz, but protects the SPI from noise during data transfers.
Содержание HCS08 Series
Страница 2: ......
Страница 4: ......
Страница 8: ......
Страница 28: ...Chapter 2 Pins and Connections MC9S08JS16 MCU Series Reference Manual Rev 4 28 Freescale Semiconductor...
Страница 34: ...Chapter 3 Modes of Operation MC9S08JS16 MCU Series Reference Manual Rev 4 34 Freescale Semiconductor...
Страница 62: ...Chapter 4 Memory MC9S08JS16 MCU Series Reference Manual Rev 4 62 Freescale Semiconductor...
Страница 114: ...Keyboard Interrupt S08KBIV2 MC9S08JS16 MCU Series Reference Manual Rev 4 114 Freescale Semiconductor...
Страница 146: ...Multi Purpose Clock Generator S08MCGV1 MC9S08JS16 MCU Series Reference Manual Rev 4 146 Freescale Semiconductor...
Страница 166: ...Real Time Counter S08RTCV1 MC9S08JS16 MCU Series Reference Manual Rev 4 166 Freescale Semiconductor...
Страница 186: ...Serial Communications Interface S08SCIV4 MC9S08JS16 MCU Series Reference Manual Rev 4 186 Freescale Semiconductor...
Страница 214: ...16 Bit Serial Peripheral Interface S08SPI16V1 MC9S08JS16 MCU Series Reference Manual Rev 4 214 Freescale Semiconductor...
Страница 274: ...Universal Serial Bus Device Controller S08USBV1 MC9S08JS16 MCU Series Reference Manual Rev 4 274 Freescale Semiconductor...
Страница 282: ...Cyclic Redundancy Check Generator S08CRCV2 MC9S08JS16 MCU Series Reference Manual Rev 4 282 Freescale Semiconductor...
Страница 305: ......