element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • 'Choose another store...'
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs DAC8775 Quad-Channel DAC EVM - part 3: Slew Rate Control
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 15 Jul 2018 7:38 PM Date Created
  • Views 605 views
  • Likes 8 likes
  • Comments 1 comment
  • hercules
  • launchpad
  • ti_rt
Related
Recommended

DAC8775 Quad-Channel DAC EVM - part 3: Slew Rate Control

Jan Cumps
Jan Cumps
15 Jul 2018

In this post, I test the slew rate of the DAC8775, the subject of the Quad-Channel, Analog Output Module RoadTest.

image

The edge of the DAC generated signal is programmable. Let's look at how to control it.

 

 

Configurable Slew Rate

 

One of the options you can set on the DAC is the speed at which the signal changes. Depending on your application this can be useful.

By default this control is switched off and the DAC tries to reach the desired level as fast as it can.

The image below shows the DAC going from 0 to 5 V without slew rate control.

The resistive load for the tests is 330R. The capacitive load for my tests is unknown, but in essence the inherent output capacitance of the DAC in parallel with PCB traces, 2 patch wires, a few breadboard contacts, scope probe and scope input.

Except for the first test where the slew rate is uncontrolled, the capacity should be neglectable.

edit: I just saw that there's a 0µ1 capacitor on each DAC output on the EVM. I did not know that when writing this article.

 

 

image

According to the spec the rate is 1 / µs

image

In my circuit the rate turns out to be 34µs for 5 V: 0.15 V / µs. There is capacitive influence visible.

 

What I'm trying now is to control that slew rate. For the sake of this blog, I'll use a very slow rate.

You can configure 3 parameters

  • slew rate control enabled / disabled
  • how many steps does the DAC take each time it moves toward the desired value. This can be chosen between 1 bit steps up to 128 LSB steps
  • how fast the DAC makes those moves, in Hz. Configuarable between 3.3 kHz and 258 kHz

image

 

In my program, I set the clock rate to 131145 Hz (11:8 0011), and 1 LSB (7:5 000).

Note that I also set byte 12, because I switch the output on in the same command.

Bitwise:

 

0000 0100    0001 0011    0001 0000

0x04          0x13          0x10

 

    TX_Data_Master[0] = 0x04;
    TX_Data_Master[1] = 0x13;  // output on, slew rate 131,145 Hz
    TX_Data_Master[2] = 0x10; // slew rate on, step: LSB

 

In theory, this should lead to a 100% ramp from 0 to 5 V in 253 ms:

clock: 65535 steps (0xff)

That is 1 LSB increase each (1/131145) each 7.62514773723741 µs.

Time from 0 to  V -> 500.636699836059 ms

 

A scope calculates the time from 10% to 90% for rise time. Because our increase is linear, I can calculate 80% of the time to get a similar figure: 400.509359868847 ms

 

Here is what the scope thinks: 415 ms.

image

 

Good enough image.

 

Next time, hopefully Current Mode

 

 

 

Related Blog
DAC8775 Quad-Channel DAC EVM - unlicensed roadtest part 1: Raw SPI
DAC8775 Quad-Channel DAC EVM - part 2: Firmware
DAC8775 Quad-Channel DAC EVM - part 3: Slew Rate Control
DAC8775 Quad-Channel DAC EVM - part 4: Current Mode
DAC8775 Quad-Channel DAC EVM - part 5: HART Interface
  • Sign in to reply

Top Comments

  • genebren
    genebren over 5 years ago +2
    Nice update on your blog/review series. Gene
  • genebren
    genebren over 5 years ago

    Nice update on your blog/review series.

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube