Model Configuration Parameters for Texas Instruments F29x (C29x)
R2026bThe F29x family (F29H85x) uses the C29x CPU architecture, which introduces UART peripherals (replacing SCI), RTDMA (replacing DMA), and ePWM X-BAR. To configure hardware parameters for F29x processors:
In the Simulink® Editor, select Modeling > Model Settings.
In the Configuration Parameter dialog box, click Hardware Implementation.
Set the Hardware board parameter to TI F29x Based or TI F29H85x LaunchPad.
Select the processing unit (c29xCPU1, c29xCPU2, or c29xCPU3).
Click Apply.
For peripherals shared with C28x-based processors (ADC, DAC, CMPSS, ePWM, eCAP, eQEP, I2C, SPI, MCAN, SDFM, CLB, Input X-BAR, Output X-BAR, CLB X-BAR, GPIO, Watchdog, and External Interrupt), the parameter structure is similar to the main Model Configuration Parameters for Texas Instruments C2000 Processors section. This section documents the peripherals and settings that are unique to the C29x architecture.
Hardware Board Settings
For each hardware board you select, you can configure the board parameters according to your requirements.
Build Options
| Parameter | Description | Default Value |
|---|---|---|
Define how Embedded Coder® responds when you build your model. |
| |
Select the target device series within the F29x family. | ||
Store the generated executable in on-chip flash memory so the application runs after a power cycle without a debugger connection. |
| |
Enable the Trigonometric Math Unit for hardware-accelerated trigonometric operations in generated code. |
| |
Disable parallel compilation during the build process. |
| |
Specify a custom linker command file instead of the auto-generated one. |
| |
Path to the Code Composer Studio target configuration file (.ccxml) for the debug probe connection. |
|
Clocking
| Parameter | Description | Default Value |
|---|---|---|
Target CPU clock frequency. The PLL settings are computed to achieve this frequency from the selected clock source. |
| |
Select the oscillator source for the system PLL. Options: Internal oscillator (INTOSC1), Internal oscillator (INTOSC2), External oscillator (XTAL), Single-ended external oscillator (XTAL_SE). |
| |
Frequency of the selected oscillator clock input to the PLL. |
| |
Automatically calculate PLL multiplier and divider values to achieve the desired CPU clock from the oscillator frequency. |
| |
PLL input reference divider. Valid range: 1–32. |
| |
PLL integer multiplier. Valid range: 1–127. |
| |
PLL output divider. Valid range: 1–32. |
| |
Divider applied to the PLL output to produce SYSCLKOUT. PLLSYSCLK = PLLRAWCLK / SYSDIVSEL. |
|
UART_x
| Parameter | Description | Default Value |
|---|---|---|
Enable internal loopback from Tx to Rx buffer for self-test and diagnostics. |
| |
Specify the desired baud rate for data transmission. |
| |
Calculated baud rate based on the desired baud rate and the system clock frequency. This value is read-only. | ||
Number of stop bits to indicate the end of a data frame. Options: 1, 2. |
| |
Parity mode for error detection. Options: None, Odd, Even, One, Zero. |
| |
Select a GPIO pin for UART data transmission. Available pins vary by UART module. |
| |
Select a GPIO pin for UART data reception. Available pins vary by UART module. |
| |
Trigger a UART transmit interrupt when data is copied to the transmit FIFO. |
| |
Enable the UART receive interrupt for incoming data. This parameter is enabled by default for DMA configuration after data receive. |
|
The F29x family provides six UART modules (UART_A through UART_F). Each module has independent pin assignment and configuration. UART replaces the SCI peripheral used on C28x-based processors.
RTDMA
| Parameter | Description | Default Value |
|---|---|---|
Select the channel arbitration mode. Options: Round-robin, Software. |
| |
Enable a specific RTDMA channel for configuration. Each RTDMA module provides 4 channels. |
| |
Size of data transferred per burst element. Options: 8 bit, 16 bit, 32 bit, 64 bit. |
| |
Select the peripheral interrupt event that triggers a DMA burst for the channel. |
| |
Number of data words in a single burst transfer. Valid range: 1–32. |
| |
Number of bursts in one complete transfer. Valid range: 1–65536. |
| |
Starting address for the source address pointer. |
| |
Starting address for the destination address pointer. |
| |
Address increment applied to the source pointer after each word in a burst. Valid range: −4096 to 4095. |
| |
Address increment applied to the destination pointer after each word in a burst. Valid range: −4096 to 4095. |
| |
Address increment applied to the source pointer after each burst. Valid range: −4096 to 4095. |
| |
Address increment applied to the destination pointer after each burst. Valid range: −4096 to 4095. |
| |
Number of bursts before returning the source address pointer to the begin address. Valid range: 1–65536. |
| |
Number of bursts before returning the destination address pointer to the begin address. Valid range: 1–65536. |
| |
Address increment applied to the source pointer at wrap. Valid range: −4096 to 4095. |
| |
Address increment applied to the destination pointer at wrap. Valid range: −4096 to 4095. |
| |
Software-defined priority for this channel when priority mode is set to Software. 0 is highest priority. |
| |
Enable first DMA event to trigger the full transfer (one shot mode) | Complete the entire transfer (all bursts) on a single trigger event. |
|
Do not disable the DMA channel after the transfer is complete (continuous mode) | Keep the channel active after transfer completion so it can respond to subsequent trigger events without re-enabling. |
|
Generate an interrupt at a specified point in the transfer. Options: Never, At beginning of new transfer, At end of transfer. |
| |
Generate an interrupt when an overflow condition occurs. |
|
The F29x family provides two RTDMA modules (RTDMA1 and RTDMA2), each with 4 channels. RTDMA replaces the DMA peripheral used on C28x-based processors and supports 8, 16, 32, and 64-bit data transfers.
ePWM X-BAR
| Parameter | Description | Default Value |
|---|---|---|
Select the ePWM X-BAR trip signal to configure (TRIP1 through TRIP16), or Disable all. |
| |
Select the input signal routed to the selected trip output. |
| |
Invert the polarity of the selected trip output signal. |
|
The ePWM X-BAR routes external and internal signals to ePWM trip inputs (TRIP1 through TRIP16) for fault protection. This crossbar is specific to the C29x architecture and is separate from the Input X-BAR and Output X-BAR.
PIL
| Parameter | Description | Default Value |
|---|---|---|
Communication interface for processor-in-the-loop testing. |
| |
Select the UART module for PIL communication. Options: UART_A through UART_F. |
| |
Select the host serial port for PIL communication. |
External Mode
| Parameter | Description | Default Value |
|---|---|---|
Select the UART module for serial External Mode communication. |
| |
Select the host serial port for External Mode communication. | ||
Select the MCAN module for CAN-based External Mode. Options: MCAN_A through MCAN_F. |
| |
Select the receive FIFO for CAN External Mode. Options: FIFO0, FIFO1. |
| |
Allocate a hardware timer for accurate time stamp logging during External Mode monitoring. |
|
Overrun Detection
| Parameter | Description | Default Value |
|---|---|---|
Enable overrun detection to identify when a base rate task does not complete before the next trigger. |
| |
Use a GPIO pin to signal an overrun condition. |
| |
GPIO pin number to assert when an overrun is detected. |
| |
Action to perform on the GPIO pin during overrun. Options: Set, Clear, Toggle. |
| |
Additional action on overrun. Options: None, Trigger interrupt, Call user-defined function. |
|