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.

6472 HPI can not been write good

I use fpga to write HPI ,the timing is following

HAS is tied high. HDS is tied high ,HDS2(DS2 in my timing) is used to strobe the data. the width of  HDS is 1400ns, I have tried much length time.

Offset      Register Description

0030h  HPIC Host Port Interface Control register

0034h  HPID Data register

0038h  HPIAR/HPIAW Host Port Interface Address registers

after run the write program,I check the data in the dsp memery :

the HPIC is writen well,

 the HPIA value is the start address I write ,is it right ? normally,the value should be the  start address plus the number I write, is not it ?

 the HPID  value is the address value plus the number I write into to HPI, and the dsp memery can not be freshed.why ?

  • Yufu Zhang,

    The basics that you are showing look valid. Some details to clarify, please:

    1. The value written to HPIC is 0x0001 but the read shows 0x0101. Please try other values written to HPIC to confirm you can correctly write and read all available bits.

    2. There are 4 writes using auto-increment, so the address should increment by 4 words, or 0x00000020, not 0x00000004.

    Please try writing different values to the HPIA register and confirm you can write to most bits in the HPIA register.

    Please try writing without auto-increment to see if any change occurs in the destination memory at the correct address.

    FYI, we cannot see the data bus values for your operations.

    Please try writing to the HPIA register after the burst of 4 auto-incrementing data writes. This should flush the write FIFO, which might still be holding your data. This should not be required, but it would be a good test to try.

    Regards,
    RandyP