@mchp-mcc/spi-host-driver

1.2.1 • Public • Published

MCC Melody SPI Host Driver

Overview

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.

Features

  • 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.

Changelog

All notable changes to this project will be documented in this file.

[1.2.1] - 2024-07-19

New Features

  • CC16SCRIP-9436 :- Updated link for API reference document

[1.2.0] - 2023-11-21

New Features

  • CC16SCRIP-7530 :- Add Interrupt support in Easy View for SPI Host Driver

[1.1.0] - 2023-08-09

New Features

  • 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

[1.0.2] - 2022-06-01

New Features

  • CC16SCRIP-2045 :- Dependency module names updated in builder view

[1.0.1] - 2022-01-17

New Features

  • CC16SCRIP-3419 :- Dependency Selector label updated with PLIB name

Readme

Keywords

none

Package Sidebar

Install

npm i @mchp-mcc/spi-host-driver

Weekly Downloads

1,087

Version

1.2.1

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

2.02 MB

Total Files

39

Last publish

Collaborators

  • mchp-nate
  • dan.ionescu
  • albyj
  • suriya_anandhan
  • niladree
  • i52346
  • yash.godbole
  • rd_mchp
  • harish.agari
  • ajivani007