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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...