Part Number: TMS320F28379D
Good morning, I'm trying to use Endat interface starting from Control suite related example: PM_endat22_BasicPosAcc_DelComp.
The problem is that after the start phase, power on, and first clock negative pulse (wich is present) the function
PM_endat22_setFreq(ENDAT_INIT_FREQ_DIVIDER);
is called, it should initialize PWM4 and CLB logic for clock generation, but after the function execution no PWM4 register is programmed and no clock is produced.
The software waits for encoder response looping in
while (endat22Data.dataReady != 1) {}
Where could be the problem ?
Thanks.
Giuseppe.