Hi,
I've the McASP working using polling mode and using XBUF13 and RBUf14.
Now I want to use the fifo to collect groups of samples for me.
To make changes gradually, I first tried using XBUF and RBUF directly to supply data to the McASP. Unfortunately this does not work.
From the OMAP manual I understood that the correct offset is 0x2000 (the C6748 Technical Manual does not state the offset), so I use
HWREG(SOC_MCASP_0_CTRL_REGS + 0x2000) = buffer;
and
buffer=HWREG(SOC_MCASP_0_CTRL_REGS + 0x2000);
to read and write data.
I tried with both (X/R)BUSSEL=1 and (X/R)BUSSEL=0.
I made no further changes to the (working) McASP code, so the FIFO's are still disabled at this point.
Am I wrong thinking that I can use the X/RBUF registers to supply data to the McASP like the DMA controller does? I based my thoughts mainly on these threads:
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/12178.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/218710.aspx
Thanks in advance.
Kind regards,
Remco Poelstra