This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[Urgent]Confirm the register which is generated by PurePathStudio

Guru 24520 points


Hi community member,

Please let me confirm the following question.

[Question]

When generated the signal flow for AIC3254 by using Pure Path Studio, this tool generated "cfg" file or device driver.

There was described some registers which are not described in application reference as below.

/            # reg[  0][254] = 0x0a    ; Delay 10ms for PLL to lock
   {254,0x0A},

Would you please teach me the roll of this register?

If possible, would you provide the answer for my question by end of today in US time?

Best regards,

Kaka

  • Kaka:

    When loading a series of cfg commands it may be desirable or necessary to incorporate a delay between commands such as following the configuration of a PLL.  Before submitting subsequent cfg commands the PLL may need to lock in order for the device to correctly read the commands.  This register [0][254] is provided to generate delays measured in ms.  i.e.

    /            # reg[  0][254] = 0x0a    ; Delay 10ms for PLL to lock
       {254,0x0A},

    This command writes "0x0A" to the register [0][245] causing a 10 ms delay before the next command is read thus allowing the PLL to lock. 

    Best Regards,

    BAK

  • Kaka,

    Actually there is an error in this script. It should actually be changed from...

    /            # reg[  0][254] = 0x0a    ; Delay 10ms for PLL to lock
       {254,0x0A},

    to...

    /            # reg[254][  0] = 0x0a    ; Delay 10ms for PLL to lock
       {254,0x0A},

    Otherwise, PurePath will try to write to this register that does not exist through I2C.

    Regards,

    J-

  • Hi,

    Thank you for your responses.

    Please let me confirm the register of 254 on page 0.

    Can customer use this register as Wait for their application?

    * It seems that this register was not described in the Application Reference and PPS User Guide.

    i.e. I would like to know whether this register is special function register or not.

    Best regards,

    Kaka

  • Kaka,

    This is not a register in the actual device. Setting page 254 basically tells PurePath to implement a delay.

    The docuentation that explains this is in the PurePath extranet.

     Here is an example:

    SystemSettingsCode (delay 5ms):

    reg[254][  0] = 0x05;

    Output .cfg file:

    d 5

    Output .h file (you would need to tell MCU to interpret 254 as a delay, 255 as jump to c-ram, i-ram):

    {254, 5}

    Regards,

    J-

     

  • Hi J,

    Thank you for response.  I could clear my concern.

    By the way, I checked the PurePath Extra-net. However, I could not find the description of Reg 254 in "PurePath Studio Driver Support".

    Would you please show the documents which explains the regsiter 254?

    Best regards,

    Kaka