Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Discussion Groups

Discussion Groups | TMS320C55x | 5509A McBSP-MMC Transmit Ready DMA Sync Event

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

5509A McBSP-MMC Transmit Ready DMA Sync Event - smiffoz - Apr 17 8:18:39 2008



Hi All,

I am currently trying to perform DMA transfers between 5509A and an SD 
Card connected via McBSP1, which is configured in MMC/SD Mode.

I set-up my DMA source as a buffer in DARAM (auto post inc) and my 
destination as MMCDXR, and use MMC/SD1 Transmit Event (XMMCEVT1) as 
the Sync event via the DMA Channels CCR register.

For whatever reason, my DMA transfer does not trigger automatically 
even although XMMCEVT1 appears to be present i.e. DXRDY flag is 
present in MMCST0 status register.

The only way I can get it to trigger is to enable my DMA Channel and 
then perform a manual write to MMCDXR, which in turn triggers the DMA 
transfer.

However, I do not want to rely on this, as its not very pretty. I 
suspect that the DMA channel is not recognising the original XMMCEVT1 
Sync event as it may have occurred before the DMA was configured, and 
that by performing a manual write, the DMA channel is picking up the 
fresh event.

Is anyone aware of a nice way to handle this, or am I perhaps missing 
something.

I can perform DMA reads successfully using RMMCEVT1, without having to 
perform any manual read.

Any light you can shed on this matter would be greatly appreciated.

Cheers,

Scotty

------------------------------------

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )