• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
  • Video
    • TI Video Channel
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • EE Resources
    • DesignFast
    • eBooks / Tech Tips
    • FAQs
    • LEAP Awards
    • Podcasts
    • Webinars
    • White Papers
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide

What is a CODEC?

February 17, 2017 By Janet Heath

In the embedded hardware world, the term CODEC stands for COder/DECoder and is basically an analog-to-digital converter (ADC) and a digital-to-analog converter (DAC) in one package. A codec, whether hardware or emulated in software, converts analog audio signals into digital signals for transmission or encodes them for storage in a digital format. Later, the decoder side of a codec can be used to decompress and convert the digital data into an analog signal. An example of a device with a codec might be a recording/playback device. CODECs are responsible for changing the sound that a microphone picks up and converting it to a stream of 0s and 1s for transmission (analog-to-digital conversion), or in a more common vernacular, “data streaming“ if the digital signal is transmitted. codecs are also used for encoding, compressing, decoding, and decompressing video as well.

A functional block diagram of the Analog Devices’ ADV7202 Video codec. Note the back-to-back ADC and DAC. (Source: ADI Datasheet)

Digital data is not always compressed, as some file extensions have been associated with a much larger storage footprint. A song that is compressed might have a .mp3 extension. Pulse-Code Modulation (PCM) is an uncompressed audio format that gets stored as raw digital data; it has only been encoded, not compressed. The .WAV extension is a Windows format that often is an uncompressed PCM file and a song saved as a WAV file on a hard drive takes up much more room than the sale song saved as an MP3. It’s also easy to see why the term codec is also known as Compression/Decompression device, a task which can be completely accomplished in software with a software codec.

Hardware codecs are fast and high quality, dedicated codecs. Software codecs are flexible in that one can change conversion details and updates to the codec can be done over the internet. However, the software codec is dependent upon the processor that’s running the codec software. No software codec can capture an analog signal and covert it to digital format like a hardware ADC, since software-based emulation happens with a processor that can only work with digital signals. Real-world, incoming analog signals are best when filtered with analog filters prior to being converted to digital bits, after which they can be digitally filtered and processed.

One common application for CODECs is with Digital Signal Processors (DSPs) in audio electronics devices. CODECs convert sound (using the ADC) to digital signals for a processor to compress and store and for playback, the stored digital data is decompressed and converted to analog signals via the DAC. The analog signal reaches the human ear by converting the analog signal into a transmissible sound via a pulse width modulator and a speaker, for example.

Filed Under: Data Converters, FAQ, Featured, Products Tagged With: adi, analogdevices

Primary Sidebar

Subscribe to weekly industry news, new product innovations and more.

Subscribe today

EE Training Center Classrooms

EE Classrooms

A frequency you can count on There are few constants in life, but what few there are might include death, taxes, and a U.S. grid frequency that doesn’t vary by more than ±0.5 Hz. However, the certainty of the grid frequency is coming into question, thanks to the rising percentage of renewable energy sources that…

More from the archive

RSS Current EDABoard.com discussions

  • How do you find the angle made by two isosceles triangles in a kite?
  • Thermal pad construction on pcb
  • FPGA LVDS with separate clock
  • Help understanding 915MHz transciever pcb layout
  • Ansys Electronic Desktop (HFSS) file opening failed????

RSS Current Electro-Tech-Online.com Discussions

  • Flickering (candle) LED to trigger 555
  • Identify a circuit.
  • Microcontrollable adjustable and switchable constant current source for driving LED's
  • Useful Handbook for Making Low Level Measurements
  • CRYPTOOOOO, but wait i am no terrorist

Design Fast

Component Selection Made Simple.

Try it Today
design fast globle

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • EE World Online
  • EDA Board Forums
  • Electro Tech Online Forums
  • DesignFast
  • Connector Tips
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire and Cable Tips
  • 5G Technology World

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on Twitter Add us on Facebook Follow us on YouTube Follow us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy