| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ C6416 DSK
Adding the C6416 DSK DAC (digital-to-analog converter) block to your Simulink model lets you output an analog signal to the LINE OUT connection on the C6416 DSK board. When you add the C6416 DSK DAC block, the digital signal received by the codec is converted to an analog signal and sent to the output jack.
Only the Word length option in the block affects the codec. The other options relate to the model you are using in Simulink software and the signal processor on the board. Refer to the following table for information.
Option | Affected Hardware |
|---|---|
Overflow mode | TMS320C6416 Digital Signal Processor |
Scaling | TMS320C6416 Digital Signal Processor |
Word length | Codec |

Sets the DAC to interpret the input data word length. Without this setting, the DAC cannot convert the digital data to analog as expected. The value defaults to 16 bits, with options of 20, 24, and 32 bits. The word length you set here should always match the ADC setting.
Sets the sampling rate for the block output to the output ports on the target. Select from the list of available rates.
Selects whether the input to the codec represents unmodified data, or data that has been normalized to the range ±1.0. Matching the setting for the C6416 DSK ADC block is usually appropriate here.
Determines how the codec responds to data that is outside the range specified by the Scaling parameter. You can choose Wrap or Saturate to handle the result of an overflow in an operation. If efficient operation matters, Wrap is the more efficient mode.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |