Main Content

Configure Board Parameters and Enable MAT-File Logging

To save signals on an SD card, the target hardware details must be specified.

  1. In your model window, open theConfiguration Parametersdialog box, go to theHardware Implementationpane, and select the name of the target hardware from theHardware boardlist.

  2. In theHardware board settingspane, expandTarget hardware resourcesand selectSD card logging.

  3. SelectEnable MAT-file logging on SD cardoption.

    Note

    • For C2000™ hardware boards, it is advisable to limit the data points for the signals to be logged as C2000 hardware boards have limited memory. In case of memory allocation failure, set *Limit data points to last* to lesser than |512| value.

    • For F2803x, F2805x, F2833x, F280x and Concerto(35x and 36x) processors, select *Save format* as |Array| to avoid memory overflow.

  4. From theSPI modulelist, select the desired SPI module.

    The default values vary based on theHardware boardselected.

  5. From theSPI baud ratelist, select

    • Inherit from SPI settings- Inherits the value from theDesired baud rate in bits/secset in the correspondingSPI_xpane.

    • Maximum achievable supported by the inserted SD Card- The baud rate for SPI interface is automatically selected based on the SD card inserted on the C2000 hardware. In this case, theDesired baud rate in bits/secset in the correspondingSPI_xpane is overwritten.

  6. ClickApply. ClickOKto save your changes.

Related Topics