Hallo,

ich habe die Ursache gefunden. Die Reihenfolge machts. So funktioniert es:

Code:
int main ( void )
{
    /* Initialize all modules */
    SYS_Initialize ( NULL );

    MCPWM_Start ();    
    MCPWM_ChannelPrimaryDutySet (MCPWM_CH_1, 50);
    
    while ( true )
    {
        /* Maintain state machines of all polled MPLAB Harmony modules. */
        SYS_Tasks ( );
    }

    /* Execution should not come here during normal operation */

    return ( EXIT_FAILURE );
}
Viele Grüße
Andreas