Thank you , Ken, Gautam,
I had done migration successfully.But I m facing one issue with PWM pins. below is the configuration done on PWM pins. As per my understanding EPWM1A & EPWM1B should be in "tri-state " . but when i used PULL UP with 4K7 resistor on EPWM1A & EPWM1B pins of the Controller. physical state of the EPWM1A & EPWM1B is still "LOW state ( o v). Am i not able make what is happening ?
I used Trip-zone (TZ) module too which is working as per exceptions.but i dont have controls on PWM pins before the configuration of Trip zone module..
EALLOW;
GpioCtrlRegs.GPAPUD.bit.GPIO0 = 1; // Disable pull-up on GPIO0 (EPWM1A)
GpioCtrlRegs.GPAPUD.bit.GPIO1 = 1; // Disable pull-up on GPIO1 (EPWM1B)
GpioCtrlRegs.GPAMUX1.bit.GPIO0 = 1; // Configure GPIO0 as EPWM1A
GpioCtrlRegs.GPAMUX1.bit.GPIO1 = 1; // Configure GPIO1 as EPWM1B
EDIS;
Regards,
Bipin Patil.