1. spi slave transfer: data num < 64K, bitwidth =16, no link and no chain. fifo enable.
How to set ACNT ? For example, I want to transmit and receive 1000 bytes, can I set register like this:
ACNT = 1000; BCNT = 1; CCNT =1;Async mode
why spi-omap2-spi.c in kernel set ACNT = 2; BCNT = 500?
2. At first, but I did not find the file testdma.c in sdk directory:
http://processors.wiki.ti.com/index.php/AM335x_EDMA_Driver%27s_Guide
"The sample EDMA application is available along with other Module examples as a tar archive in src directory of PSP release package (Directory Structure of PSP release package can be seen here AM335x PSP Package Contents)"
Thanks a lot