To configure hardware parameters for Texas Instruments F2838x ARM Cortex-M4 processor:
In the Simulink® Editor, select Modeling > Model Settings.
In the Configuration Parameter dialog box, click Hardware Implementation.
Set the Hardware board parameter to your TI F2838x (ARM Cortex-M4 processor).
The parameter values under Hardware board settings are automatically populated to their default values.
You can optionally adjust these parameters for your particular use case.
For each hardware board you select, you can configure the board parameters according to your requirements.
Define how Embedded Coder® responds when you build your model.
Select your device from the selected processor family.
Select to compile the generated code and driver source codes in parallel order for faster build and deployment speed.
Specify if the application loads to the flash memory.
Indicates that the custom linker command file must be used during the build action.
The path to the memory description file required during linking.
The Code Composer Studio™ file required for downloading the application on the hardware.
Value of this parameter must be same as the value of the parameter 'Connectivity Manager (ARM Cortex-M) clock in MHz' (auto calculated in CPU1 model).
Select this check box to enable data transmission from Tx to Rx buffer.
Specify the desired baud rate of the data transmission.
The value in this parameter is calculated based on the desired baud rate that you specify and the system clock frequency.
Select the number of stop bits used to indicate the end of a byte data transmission.
Select a parity mode that is added at the end of a binary data for error detection.
Select a GPIO pin as the UART pin for data transmission.
Select a GPIO pin as UART pin for data reception.
This parameter is enabled by default for updating DMA configuration after data receive.
Select this parameter to trigger an ISR from an UART Transmit block.
Select this parameter to configure the board to get an IP address from the local DHCP server on the network.
Select this parameter to set the IP address of the board.
Specify the subnet mask for the board.
Set the serial gateway to the gateway required to access the target computer.
Specify the media access control (MAC) address, the physical network address of the board.
|Enable to notify when task overrun occurs.|
|Enable to select GPIO action.|
|Specify the GPIO number of a digital output.|
|Select the GPIO mode.|
|Select the option to notify when task overrun occurs.|
|Specify the interrupt number to trigger on overrun.|
|Specify the name of the C function to call on overrun.|
|Select the CAN type. Classic CAN or CAN-FD.|
|Displays the MCAN module clock frequency in MHz.|
|Displays the MCAN bit clock frequency in MHz.|
|Nominal bit rate prescaler. The value by which the oscillator frequency is divided for generating the bit time quanta.|
|Nominal time segment before sample point.|
|Nominal time segment after sample point.|
|Closest achievable nominal MCAN baud rate in bits/sec.|
|Nominal Resynchronization Jump Width (NSJW).|
|Enables bit rate switching between nominal bit rate and data bit rate.|
|Data Bit Rate Prescaler (DBRP). The value by which the oscillator frequency is divided for generating the bit time quanta.|
|Data time segment before sample point (DTSEG1).|
|Data time segment after sample point (DTSEG2).|
|Closest achievable MCAN data baud rate calculated based on data parameters and given formula.|
|Data resynchronization jump width (DSJW).|
|Select the operating mode for MCAN.|
|Select a GPIO pin for the MCAN data transmission.|
|Select a GPIO pin for the MCAN data reception.|
|Select the mode of transmission.|
|Enable blocking mode for FIFO 0 data reception.|
|Enable blocking mode for FIFO 1 data reception.|
|Enable this parameter to update standard and extended filter IDs.|
|Rejects all remote frames with 11-bit standard IDs when enabled else the remote frames will be filtered as per the settings from Update standard filter elements.|
|Rejects all remote frames with 29-bit extended IDs when enabled else the remote frames will be filtered as per the settings from Update extended filter elements.|
|Defines how received messages with 11-bit standard IDs that do not match any element from Update standard filter elements are treated.|
|Defines how received messages with 29-bit extended IDs that do not match any element from Update extended filter elements are treated.|
|Enable this parameter to update the standard 11bit ID filter elements parameters.|
|Select the standard message ID filter elements.|
|Select the standard filter element configuration.|
|Select the standard filter type.|
|Specify the standard Filter ID 1.|
|Specify the standard Filter ID 2.|
|Enable to update the extended filter elements.|
|Select the extended message ID filter elements.|
|Select extended filter element configuration.|
|Select the extended filter type.|
|Specify the first ID of extended ID filter element.|
|Specify the second ID of extended ID filter element.|
|Click on Display configured extended and standard filters elements in command window button to view the configured standard and extended filter elements in MATLAB® command window.|
|Click Reset standard and extended filters configurations to reset the configured standard and extended filter configurations.|
|Enable to configure the memory and its parameters.|
|Select the maximum data size of CAN FD message in transmit FIFO.|
|Select the maximum data size of CAN FD message in receive FIFO 0.|
|Select the maximum data size of CAN FD message in receive FIFO 1.|
|Select the maximum data size of CAN FD message in receive buffer.|
|Select the number of elements (data + header CAN FD message) in transmit FIFO/Queue.|
|Select the number of elements (data + header CAN FD message) in receive FIFO 0.|
|Select the number of elements (data + header CAN FD message) in receive FIFO 1.|
|Click Validate memory button to validate all the memory configurations.|
For more information on selecting a hardware support package and general configuration settings, see Hardware Implementation Pane (Simulink).