AnsweredAssumed Answered

Specifications for SIGMA_WRITE_DELAY Function

Question asked by tom-i on Mar 27, 2014
Latest reply on Jun 5, 2016 by Z0mb13

Hi,

 

My question primarily involves the specification for the relevant MCU code associated with the function call to "SIGMA_WRITE_DELAY" that is generated when you export a schematic to C code for integration with an MCU. To be more specific, is this function expecting the user to implement a delay locally to prevent writing to the chip for a given period of time or is this a I2C bus transaction? The primary source of confusion, for me at least, is that the code generated by sigma studio outputs this:

 

...

define R8_PLL_LOCK_DELAY_IC_1_ADDR 0x0

#define R8_PLL_LOCK_DELAY_IC_1_SIZE 2

ADI_REG_TYPE R8_PLL_LOCK_DELAY_IC_1_Default[R8_PLL_LOCK_DELAY_IC_1_SIZE] = {

0x00, 0xFF

};

...

 

void default_download_IC_1() {

...

SIGMA_WRITE_DELAY( DEVICE_ADDR_IC_1, R8_PLL_LOCK_DELAY_IC_1_SIZE, R8_PLL_LOCK_DELAY_IC_1_Default );

 

...

}

 

Some clarification on this would be very helpful, thanks!

Outcomes