Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS320F28379D: TMS320F28379D EnDat not initializing EPWM4

$
0
0

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.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>