To All,
does any one has code example that shows use of SPI Master and Slave mode using transmitte and receive fifo, uDMA and SPI interrupt handler? If yes can you provide me the post or application note etc. to accomplish this. Thanks.
Al Modi
Please see attached examples that use SSI interrupt handler. To test this, you can just add these files to an existing CCS project like:C:\StellarisWare\boards\dk-lm3s9b96\udma_demoThe uDMA project above uses DMA interrupt handler using UART, so if you wanted to use DMA interrupt handler, you can just use the exisiting stellarisware example (uDMA_demo) and add SPI initialization there.2260.udma_SSI_demo_MSTR.c3632.udma_SSI_demo_SLAVE.c
These files are tested but provided "AS-IS", so please conduct some testing on your own to make sure this works on your boards by using a simple setup with two DK-LM3S9B96 boards.
Hi,
For SSI RX with uDMA, is it possible to filter out the dummy bytes that was used for SSI TX with uDMA? Is disabling the RX part using SSIDMAEnable() or uDMAChannelEnable() API call enough? It looks like I have to clean out the SSI RX FIFO when I'm transmitting or just manage where the start of valid RX data after uDMA transfers
Hi..
I am not able to download these 2 files. Can you please send them to my mail id (karthikvr@tataelxsi.co.in) or re-post it again please. Thanks in advance..
Regards,
Karthik VR
danny57964For SSI RX with uDMA, is it possible to filter out the dummy bytes that was used for SSI TX with uDMA?
I would assume the answer is no, since the hardware has no way of knowing which transmissions or receptions are "real" and which are "dummy".
Can i have your full spi working code my mail id is hsitas418@gmail.com