Introduction
GR5xx SoCs support both SPI master and slave modes, and can be used with various commercially available SPI-to-CAN transceiver chips (such as TCAN4550-Q1; hereinafter referred to as the "CAN chip") to achieve efficient communication with other CAN modules.
To help users rapidly develop applications, GR5xx SDK provides an adaptation layer driver and a supporting demo project for CAN communication implemented via SPI (hereinafter referred to as "SPI2CAN"). This simplifies the development process for users, allowing them to focus more on designing and implementing upper-layer functions.
Note:
- For more information on the GR5xx SPI module, refer to the corresponding datasheet and GR5xx APP Driver User Manual.
- The SPI2CAN driver files are in SDK_Folder\components\drivers_ext\spi2can, and the SPI2CAN demo project is in SDK_Folder\projects\peripheral\spi\app_spi2can. SDK_Folder is the root directory of GR5xx SDK. Currently, only GR5405 SDK provides the SPI2CAN driver and demo project.
- The low-level driver for the CAN chip must be obtained by users from the CAN chip manufacturer. GR5xx SDK only provides the adaptation layer driver for interfacing with the CAN chip.