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.

PGA460: How to burn Uart address?

Part Number: PGA460

Dear Sir,

I purchased PGA460 EVK( toally 3 pcbs)

I want to know how to burn eeprom(UART address, PULSE_P2 register).

Thanks,

Shin

  • Assuming register's PULSE_P2 fields of UART_ADDR=b000 and P2_PULSE=b00001, and you are trying to update to UART_ADDR=b001, the example sequence is:

    1) Register write (cmd-10) a the new value to address 0x1F (PULSE_P2) which contains UART_ADDR. When issuing this UART write, use the old UART_ADDR value in the UART command field. MCU transmitted UART 0x { 55 0A 1F 21 B5 }.

    2) To confirm the device's UART_ADDR actually, updated, perform a register read of the PULSE_P2 register using an updated UART command field of UART_ADDR=b001. MCU transmitted UART 0x { 55 29 1F B7 }. The device should return value of 0x { 40 21 9E }.

    3) Now to burn the UART_ADDR (and all other EEPROM values) to be retained after power cycle, follow the EEPROM Programming proecedure described in section 7.6.1 of the datasheet:
    7.6.1 EEPROM Programming
    To program the EEPROM, follow these steps:
    1. Send an EEPROM program command using UART or TCI with a unique unlock pattern on 4-bits. The program bit is set to 0 in register 0x40. The unlock passcode is 0x Dh.
    Assuming new UART_ADDR=b001, MCU transmitted UART 0x { 55 2A 40 69 2C }
    2. Immediately send the same UART or TCI command with the program bit set to 1. If any other command is issued after the unlock code (Step 1), the EEPROM program is initiated. Also, if the unlock command in Step 1 is not correct, the EEPROM is not programmed. The EEPROM is locked again automatically after each program command
    Assuming new UART_ADDR=b001, MCU transmitted UART 0x { 55 2A 40 68 2D }