safeload & blockwrite ADAU1467 questions

Hi,

I have some splitter combiner mixers to adjust and sigmastudio is showing me both safeoad and block write code.

Do I need to write both and if so in what order ?

In the sigmastudio generated XML I have this regarding safeload address. I'm assuming its 24581 ?

I convert this to hex and I get 6005

I believe I should send an extra byte for every safeload write ( 5 bytes ) is true for the adau1467?

So I should send

6005 safeload base address --> 6006 safeload lower reg address -->  0x00 additional byte --> 16 bytes safeload data --> 4 bytes block data ?

Or is the block data the alternative to safe write?

Is the additional byte required and in the correct order?

<Name>IC 1</Name>
<PartNumber>ADAU1467</PartNumber>
<Register>
<Name>__SafeLoad_Module__data_SafeLoad</Name>
<Address>24576</Address>
<AddrIncr>0</AddrIncr>
<Size>20</Size>
<Data>0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, </Data>
</Register>
<Register>
<Name>__SafeLoad_Module__address_SafeLoad</Name>
<Address>24581</Address>
<AddrIncr>0</AddrIncr>
<Size>4</Size>
<Data>0x00, 0x00, 0x00, 0x00, </Data>
</Register>
<Register>
<Name>__SafeLoad_Module__num_SafeLoad_lower</Name>
<Address>24582</Address>
<AddrIncr>0</AddrIncr>
<Size>4</Size>
<Data>0x00, 0x00, 0x00, 0x00, </Data>
</Register>
<Register>
<Name>__SafeLoad_Module__num_SafeLoad_upper</Name>
<Address>24583</Address>
<AddrIncr>0</AddrIncr>
<Size>4</Size>
<Data>0x00, 0x00, 0x00, 0x00, </Data>
</Register>
<Register>

  • OK, just sent the 8 bytes to each safeload address and it worked.

    ADI_REG_TYPE on[8] = {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00}; // ON


    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_X1_ALG0_MONOMUXS300SLEW1VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_1_ALG0_MONOMUXS300SLEW2VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_2_ALG0_MONOMUXS300SLEW3VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_3_ALG0_MONOMUXS300SLEW4VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_4_ALG0_MONOMUXS300SLEW5VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_5_ALG0_MONOMUXS300SLEW6VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_6_ALG0_MONOMUXS300SLEW7VOL00_ADDR ,8, on );
    SIGMA_WRITE_REGISTER_BLOCK ( bbboxDsp_address, MOD_PLAYBACKSWITCH_7_ALG0_MONOMUXS300SLEW8VOL00_ADDR ,8, on );