Renesas ClockMatrix 8A3 Series Скачать руководство пользователя страница 6

ClockMatrix

EEPROM Programming Instructions

Feb.10.20

Page 6 of 7

The EEPROM buffer register is 128 bytes long, and is the location where the data is either written to the EEPROM 
or read from the EEPROM. For PR4.0, the location is 0xCF80. 

The following is an example of an SPI 2-byte addressing sequence that shows how to program the first 128 bytes 
of an EEPROM. This example is based on PR4.0 Firmware. For a different firmware, see the appropriate 

8A3xxxx 

Family Programming Guide

3.4

Write EEPROM Example

7F FD 80 10 20  #Set the Clock Matrix page register (SPI 2-byte addressing)

4F 68 50 

#Write to CF68, set EEPROM_I2C_ADDR=0x50

4F 69 80 

#Write to CF69, set EEPROM_SIZE=128 bytes. 

4F 6A 00 00 

#Write to CF6A, set EEPROM_OFFSET= 0 (write starting at location 0).

4F 80 85 AA 85 AA 84 AA 84 AA 83 AA 83 AA 82 AA 82 AA 81 AA 81 AA 80 AA 80 AA 79 AA 79 AA 

78 AA 78 AA 77 AA 77 AA 76 AA 76 AA 75 AA 75 AA 74 AA 74 AA 73 AA 73 AA 72 AA 72 AA 71 AA 

71 AA 70 AA 70 AA 69 AA 69 AA 68 AA 68 AA 67 AA 67 AA 66 AA 66 AA 65 AA 65 AA 64 AA 64 AA 

63 AA 63 AA 62 AA 62 AA 61 AA 61 AA 60 AA 60 AA 59 AA 59 AA 58 AA 58 AA 57 AA 57 AA 56 AA 

56 AA 55 AA 55 AA 00 00 00 00   

#Write to CF80, these are the 128 bytes that will be written to the EEPROM.

4F 6C 02 EE

#Write to CF6C, EEPROM_CMD="0xEE02", trigger EEPROM write

#add a wait time to allow the chip to write to the EEPROM. For now, use 100mS. Alternatively, read back the 
EEPROM_STATUS and verify that it is 0x8000 and then proceed. 

Repeat this for each 128 bytes of EEPROM data. 

3.5

Read EEPROM Example

4F 6A 00 00

#Write to CF6A, set offset

4F 6C 01 EE

#Write to CF6C, trigger EEPROM read

#add a wait time to allow the chip to write to the EEPROM. For now, use 100mS.

7F FD 80 10 20

#Set page register

#Read from CF80, read back buffer (note that MSB is set for read commands) 

CF 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00

For instructions on how to update the firmware on an EEPROM on a ClockMatrix evaluation board, see the 
document 

ClockMatrix Evaluation Board: Update Firmware on Device and EEPROM

Содержание ClockMatrix 8A3 Series

Страница 1: ...ay be cases where it is necessary or convenient to make use of an external I2C serial EEPROM for the device to obtain alternate information from at reset This document provides information about the E...

Страница 2: ...only to the internal embedded firmware Any number of Config blocks are allowed Renesas will provide the EEPROM image in the form of a hex file that is formatted according to the Intel Hex format Detai...

Страница 3: ...3 pin header is used as described in Programming the 8A3x000 EEPROM with Total Phase However connect the Total Phase Aardvark card directly to the 3 pin header and use the Total Phase software to prog...

Страница 4: ...ClockMatrix EEPROM Programming Instructions Feb 10 20 Page 4 of 7...

Страница 5: ...ClockMatrix EEPROM Programming Instructions Feb 10 20 Page 5 of 7...

Страница 6: ...A 59 AA 58 AA 58 AA 57 AA 57 AA 56 AA 56 AA 55 AA 55 AA 00 00 00 00 Write to CF80 these are the 128 bytes that will be written to the EEPROM 4F 6C 02 EE Write to CF6C EEPROM_CMD 0xEE02 trigger EEPROM...

Страница 7: ...ClockMatrix EEPROM Programming Instructions Feb 10 20 Page 7 of 7 4 Revision History Rev Date Description 1 00 Feb 10 2020 Initial release...

Страница 8: ...e intended for developers skilled in the art designing with Renesas products You are solely responsible for 1 selecting the appropriate products for your application 2 designing validating and testing...

Отзывы: