The Serial Peripheral Interface (SPI) module is a synchronous serial interface useful for communicating with other peripheral or microcontroller devices. These peripheral devices can be serial EEPROMs, Shift registers, display drivers, Analog-to-Digital Converters and so on.
- Allows users to setup multiple Host Configurations to interact with multiple clients having different configurations. SPIx_Open and SPIx_Close are the APIs to be used for selecting/switching between different Host configurations at run time.
- Requested Speed , SPI Mode and Data Input Sample Point are configurable items for each Host Configuration table entry.
- Users can provide a Custom Name for each Host Configuration table entry.
- Importer Configurations table, which is only visible when the SPI Host Driver is imported by another module. This table has the same columns as the user configurations table, and displays information being passed down to the SPI Host Driver. This table is read-only and cannot be modified.
- The Host Configurations table automatically adds a default row for reference, but can be modified and removed.
- The SPI Host Driver's custom name can be modified, and will be used in the generated code and any connected module. The modified custom name takes priority over the custom name that is passed down to the SPI Host Driver.
- Calculated speed depends on the Bus Clock source which can be configured as part the the selected PLIB.
- Supports Enhanced Buffer mode with communication width of 8 bit only.
- Currently, dsPIC33 devices support only polling mode. 8-bit devices supports both polling and interrupt modes. User can select the mode using Interrupt Driven toggle button.
All notable changes to this project will be documented in this file.
- CC16SCRIP-9436 :- Updated link for API reference document
- CC16SCRIP-7530 :- Add Interrupt support in Easy View for SPI Host Driver
- CC16SCRIP-6982 :- Display Importer Configurations in Easy View
- CC16SCRIP-6897 :- Support setting custom name in Easy View
- CC16SCRIP-6842 :- Enable ITF Testing for SPI
- CC16SCRIP-6151 :- Support SPI Host and SPI Client Driver Interface
- CC16SCRIP-2045 :- Dependency module names updated in builder view
- CC16SCRIP-3419 :- Dependency Selector label updated with PLIB name