Hi,
again a question about SPI - I suspect the rcX SPI driver in rcX 2.0.4.5 doesn't support DMA. That's fine. We will write our own driver but we have some troubles with it - is there an example how to setup and use DMA with SPI peripheral, for netX50 ?
We want to be able to simultaneously send and receive (SPI talk mode) a chunk of 64 bytes using DMA periodically.
We would like to configure everything (SPI, DMA, addresses) once at init, and then to start this TX/RX operation every 1ms, and to copy data later (at the end of the DMA would be best - DMA interrupt probably, or just before next SPI operation).
At last, we have 2 questions:
- is it supported by SPI DMA to make autonomous send/receive of 64 bytes, without CPU interaction?
- is there some example (maybe without OS) that we can use as basis for our driver?
Best regards,