5.23 conversion sample code
Is there sample code for the conversion of 5.23 to the hex value(s) I have to write over I2C for my ADAU1761? I'm just getting into trying to program it from my PIC32 and I'm not really sure where to start.
Trying to implement these functions listed as todo in SigmaStudioFW.h:
#define SIGMASTUDIOTYPE_FIXPOINT_CONVERT( _value ) {/*TODO: IMPLEMENT MACRO*/}
#define SIGMASTUDIOTYPE_INTEGER_CONVERT( _value ) {/*TODO: IMPLEMENT MACRO*/}
Thank you
Audio Signal Processors
SigmaDSP Audio Processors
adau1761
See "to523": System Implementation [Analog Devices Wiki]
Thank you. I followed that code and was able to program the "program section into my device" I think. Still when I go to read back registers I'm getting all zeros, unless I have programmed the device with Sigma studio. I notice that the control registers are all outside of the address spaces programmed in this sample code. Is there another step I need to take where I setup control registers some how?
Thank you
The control registers are usually programmed at the same time as the main system software; these files should have been exported at compilation, which your PIC should include during its compile, then upload. I wouldn't expect to read anything but zeros until the device has been programmed. But that doesn't have much to do with the 5.23 stuff.
This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.
Thank you,
EZ Admin
Please log in to reply.