Deploy Motor Control Applications to TC497N Control Board
R2026bEmbedded Coder® Support Package for Infineon® AURIX™ TC4x Microcontrollers supports deploying motor control applications on the Infineon™ AURIX™ TC497N Control Board. You can migrate existing motor control examples developed for the TC4x TriBoard to the TC497N Control Board without modifying the control algorithm, application model, controller parameters, or the generated code.
Configure Simulink Model
To deploy motor control applications on the TC497N Control Board, update the peripheral pin assignments in the Hardware Mapping tool to match the board-specific connections.
Open a motor control example and its Simulink® model. For example, open the Field-Oriented Control of PMSM with Encoder Using Infineon AURIX Microcontrollers example and the
tc4x_mcb_pmsm_foc_encodermodel.Open the Configuration Parameters dialog box. In the Simulink Editor, on the Modeling tab, click Model settings.
The configuration parameters for the TC497N Control Board currently match those of the TC4X9 Triboard. In the Hardware Implementation pane, set Device Series to
TC49xN. Under Target hardware resources, set Board toInfineon AURIX TC4X9 Triboardand then click Apply.Open the Hardware Mapping tool. In the Simulink Editor, on the Hardware tab, click Hardware Mapping.
Configure the pin mappings shown in the following table.
Block Parameter Description TC4x TriBoard Pin TC497N Control Board Pin PWM PWM phase A output of channel 0 (Output pin) Configure PWM phase A output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 0 tab, set Output pin
P02_0 P02_0 PWM PWM phase A complementary output of channel 0 (Complementary output pin) Configure PWM phase A complementary output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 0 tab, set Complementary output pin
P11_6 P02_7 PWM PWM phase B output of channel 1 (Output pin) Configure PWM phase B output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 1 tab, set Output pin
P02_2 P02_2 PWM PWM phase B complementary output of channel 1 (Complementary output pin) Configure PWM phase B complementary output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 1 tab, set Complementary output pin
P02_4 P02_4 PWM PWM phase C output of channel 2 (Output pin) Configure PWM phase C output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 2 tab, set Output pin
P02_9 P02_9 PWM PWM phase C complementary output of channel 2 (Complementary output pin) Configure PWM phase C complementary output. In the Mapping Browser, navigate to Peripherals > PWM > PWM. In the Output 2 tab, set Complementary output pin
P02_10
P02_5
Encoder Configure encoder A, B, and Z input pins. In the Mapping Browser, navigate to Peripherals > Encoder > Encoder and set PinA, PinB, and PinZ. P34_1
P34_2
P34_3
P10_4
P10_7
P10_8
QSPI Configure SPI interface connected to the TLE9180 gate driver. In the Mapping Browser, navigate to Peripherals > QSPI > QSPI to set the Module and CS pin parameters. In the Mapping Browser, navigate to Peripherals > QSPI to set the Serial Clock pin (SCK), Serial Data Out pin (SDO), and Serial Data Input pin (SDI) parameters.
3
P01_4
P01_7
P01_6
P01_5
2
P14_7
P13_1
P13_2
P13_0
TMADC Phase A and Phase B currents (Select pin) Configure the ADC input pins. In the Mapping Browser, navigate to Peripherals > TMADC. In the Input 0 and Input 1 tabs, set the Select pin parameter. AN1
AN2
AN0
AN2
PWM ADC trigger output (Output pin) Configure the ADC trigger output pin. In the Mapping Browser, navigate to Peripherals > PWM > PWM1. In the Output 0 tab, set Output pin P14_7 P14_1
All other motor control peripheral pin assignments remain unchanged from the TC4x TriBoard configuration.
See Also
Topics
- Field-Oriented Control of PMSM with Encoder Using Infineon AURIX Microcontrollers
- Sensorless Field-Oriented Control of PMSM on Infineon AURIX Microcontrollers
- Analyze Sensorless Observers for Field-Oriented Control Using Multiple Cores of Infineon AURIX
- Accelerate AI Based Software Development on Infineon AURIX TC4x Microcontroller
- Neural Network Based Position Estimation for Field-Oriented Control of PMSM on Infineon AURIX TC4x Microcontrollers