Post Go back to editing

how to do software safeload writes in C on esp32 and for the eval adau1467 board ?

Category: Software
Product Number: eval adau 1467z
Software Version: sigmastudio 4.7

hi all,

I recently acquired the eval adau 1466Z eval board from ADI. 

I struggled a bit getting it piloted by an esp32 in C, but now its tamed (using I2C). My next goal is to be able to make it behave as I want while it is running a program from its memory/eeprom.

I am ok with doing wimple writes to its registers, but I can't find any convincing code snipets to do safeload writes, the same way sigmadsp on windows an on SPI does.

So please direct me to some existing material to tweak/hack/adapt, if any; else we'll have write try to write and share a fully working C  function, from scratch (which will be a pity).

Thanks for your attention and future contributions!

Regards. 

Edit Notes

I2C
[edited by: iravelo at 11:07 AM (GMT -4) on 5 Nov 2022]
Parents
  • if i switch sele2 value in sigmaStudio and regen (via /menu/action/export system files) <project_name>.params, we see there this updated block...

    Cell Name         = sele2
    Parameter Name    = stereomuxSigma3002vol0
    Parameter Address = 68
    Parameter Data :
    0x00, 0x00, 0x00, 0x00, 
    0x01, 0x00, 0x00, 0x00, 

    hence this C code...

    const byte switchNx2Val1[8] = {0,0,0,0, 1,0,0,0 };

Reply
  • if i switch sele2 value in sigmaStudio and regen (via /menu/action/export system files) <project_name>.params, we see there this updated block...

    Cell Name         = sele2
    Parameter Name    = stereomuxSigma3002vol0
    Parameter Address = 68
    Parameter Data :
    0x00, 0x00, 0x00, 0x00, 
    0x01, 0x00, 0x00, 0x00, 

    hence this C code...

    const byte switchNx2Val1[8] = {0,0,0,0, 1,0,0,0 };

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.