Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 226197

Forum post: RE: TMS320F28379D: Usage information on TRREM register for periodic HR phase update

$
0
0
Okay here is the latest content I have: 1. with HRPE=0, the TBPSHR operates as expected. 2. For PHSDIR = 1, negative phase values: the desired value need to be subtracted from 0xFF (this will be added to the TRM) Example: EPwm2Regs.TBPHS.bit.TBPHSHR = (Uint16)((0xFF - ((Uint16)total_phase >> 8)) << 8); When HRPE=1 use TRREM.

Viewing all articles
Browse latest Browse all 226197

Trending Articles



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