Freescale SPI eTPU Function Application Note

Below you will find brief information for MPC5554, MCF5235. This application note describes the eTPU Serial Peripheral Interface (SPI) function, providing simple C interface functions for easy implementation. It details how to use the SPI function to add serial capabilities to devices or enhance existing ones without host CPU intervention, utilizing three eTPU channels for bi-directional synchronous serial communication.

PDF
Document
MPC5554, MCF5235 Application Note: AI Chat & PDF Access | Manualzz

Advertisement

Advertisement

/

Advertisement

Key features

  • Programmable baud rate

  • MSB/LSB first shift selection

  • Variable transfer size (1-24 bits)

  • Programmable clock polarity

  • Master mode operation

  • DMA/Interrupt completion signaling

Frequently asked questions

The SPI function uses three eTPU channels to create a bi-directional, synchronous serial port for communicating with devices.

The main features if SPI function are as follows: Programmable baud rate period over a 23-bit range of TCR1 or TCR2 counts, Selection of msb or lsb first shift direction, Variable transfer size from 1 to 24 bits, Programmable clock polarity and Master mode only.

The SPI function's clock channel sends an interrupt and DMA request when a transfer of data is complete.

Preparing document for printing…
0%