Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

The data transfer

I want to send the data of array in the code to the SRAM,which function should I use?

the format is like this:

thank you in advance!

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well you need to give more details about what you are trying to do, how you check the results and what you expect.

    Remember to bypass the data cache when you check the results of a DMA transfer.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I design a LCD_CORE,And I want to use the SRAM as frame buffer,So I must send a data of image to the SRAM in order to that can be displayed by the LCD_CORE.

    After sending the data,and the data is displayed by the LCD which is not right.

    thank you very much!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I used to use the UART to receive the data,then the DMA read the data and write it to the SRAM when there is an interrupt generated by the UART.But the data is writed to the high 8 bit of the SRAM everytime and the low 8 bit are zeroed.

    do you have another method?

    thank you!