AnsweredAssumed Answered

how to change tone frequency from MCU

Question asked by danderson on Aug 18, 2012
Latest reply on Aug 20, 2012 by BrettG

Hi,

I have no problems communication with the DSP via I2C and SPI, I am just seaching for a formula to enable me to calculate the 4 Hex bytes I need to send to the DSP (ADAU1442) to change the frequency of a tone.

 

 

For example,I can send

0x00 0x01 0x2c 0x60  (obviously after sending the correct address etc) to get 440hz

but I am unsure how the software(SigmaStudio) is calculating this value given as 0.00916671752929688 from my 440hz frequency

 

Thanks

 

Danny

Outcomes