11.4.1 Hardware Design Flow
The following figure shows how to enable the CAN controller in the MSS configurator for the Libero SoC design project.
When the CAN is enabled, CAN_RX, CAN_TX, and CAN_TX_EN_N gets promoted to the top MSS component.
Generate the component by clicking Generate Component or by selecting Generate Component from the SmartDesign menu. The firmware driver folder and the SoftConsole workspace are generated and included in the project automatically.
For firmware development, double-click Export Firmware under Handoff Design for Firmware Development in the Libero SoC design flow window to generate the SoftConsole Firmware Project. The SoftConsole folder contains the required mss_driver, which provides a set of functions to control the MSS CAN peripheral.