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-Q1: 向寄存器如值

Part Number: PGA460-Q1
Other Parts Discussed in Thread: ENERGIA, PGA460

我想使用:registerWrite(byte addr, byte data),向PGA写入寄存器,但是最后读取的值不变是怎么回事

  • 您好,

    您要写入哪个寄存器,写入什么值?建议您用示波器查看写入时序波形,以判断时序是否存在问题

  • 我要向PULSE_P2写入0x29

  • 寄存器地址在0h-2bh的寄存器为EEPROM 非易失性存储器,PULSE_P2地址是1Fh ,属于EEPROM。

    更新,编程和刻录 EEPROM 存储器的一般过程是:

    1、发送bulk 寄存器写入命令(数据手册表3 command12)或single 寄存器写入命令(command 10)以更新设备设置。 有关实现示例,请参阅 PGA460_USSC.cpp 文件中的 Energia Functions pga460::defaultPGA460 (bulk write) pga460::registerWrite (single write)

    2、按照数据表“7.6.1 EEPROM Programming”一节中的说明执行 EEPROM 刻录例程。 有关实现示例,请参阅 PGA460_USSC.cpp 文件中的 Energia 函数 pga460::burnEEPROM