Jump to content
Sign in to follow this  
VisSim Forum Archives

example for DAC F28377s

Recommended Posts

Good question. Since the DACs take a 12 bit value, and we are using scaled fixed point representation of fx4.16, The full range of the DAC output is realized by providing values between 0 and 0.99975 (due to the 2's complement arithetic representation). Since we did not adjust the gain of the sin in the example, when it went to 1 it overflowed the DAC register and effectively went to zero.

Share this post


Link to post
Share on other sites

Submitted by pete on Wed, 05/18/2016 - 20:07.

On some of the 28377D parts, the internal oscillator can be slow. Try right clicking on the F28x Config block and changing to the on-board external crystal, and set the multiplier to 10 (the crystal is 20MHz)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...