Main Content

Deploy Motor Control Applications to TC497N Control Board

R2026b

Embedded 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.

  1. 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_encoder model.

  2. 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 to Infineon AURIX TC4X9 Triboard and then click Apply.

  3. Open the Hardware Mapping tool. In the Simulink Editor, on the Hardware tab, click Hardware Mapping.

  4. Configure the pin mappings shown in the following table.

    BlockParameterDescriptionTC4x TriBoard PinTC497N Control Board Pin
    PWMPWM 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_0P02_0
    PWMPWM 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_6P02_7
    PWMPWM 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_2P02_2
    PWMPWM 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_4P02_4
    PWMPWM 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_9P02_9
    PWMPWM 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

    TMADCPhase 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

    PWMADC 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 pinP14_7P14_1

All other motor control peripheral pin assignments remain unchanged from the TC4x TriBoard configuration.

See Also

Topics