cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

kiyo_1490531
New Contributor

GPIF is set to Async SRAM interface.

pastedImage_0.png

The MCU (DSP) is programmed as follows, but does not write data from the FX3S to the eMMC memory.

eMMC memory clock and data does not change.

Please. Tell me what went wrong in the MCU (DSP) program.

/* Break the request data into bytes. */

*(volatile Uint16 *)(0x280000 + (0x0000 * 2)) = 0x0600;

*(volatile Uint16 *)(0x280000 + (0x0000 * 2)) = 0x0000;

*(volatile Uint16 *)(0x280000 + (0x0000 * 2)) = 0x0100;

*(volatile Uint16 *)(0x280000 + (0x0000 * 2)) = 0x0000;

DELAY_US(1000);

/* 512byte Write */

int s = 0;

for(s=0;s<512;s++)

{

       DELAY_US(1);

      *(volatile Uint16 *)(0x280000 + (0x0000 * 2)) = s;

      DELAY_US(1);

}

0 Likes
1 Reply
KandlaguntaR_36
Moderator
Moderator

In GpiftoStorage example, we have used the Async Admux. The external process writes the commands to Mailbox registers.

As per the commands we do write and reads to/from SD/MMC cards.

Please let me know why did you go for Async SRAM interface and also share your firmware for the review.

0 Likes