This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSK6713: Send float values to DAC

Hello,

I refrere to a lab already done which it explain how to create a project and files to be include,

i dont know why there is this file bsl.h. i want to know another thing, i want to send float values to Dac

of the codec but the Dac wait an integer value what can i do to have compatibility with parameter of type?

thanks

  • bsl.h is a header file for information needed for the Board Support Library functions.

    The datasheet for the DAC explains the values that can be written to it. DACs have a fixed number of discrete values that can be converted from digital to analog. The digital value written to the DAC is technically a fixed-point value and not an integer.

    You may interpret your data in any way you wish, and convert that per your specifications to the appropriate fixed-point value to achieve the output voltage on the DAC.

    Regards,
    RandyP