SPI Win CE driver

Judau
Attachment: IMG_0237.JPG (1.7 MB)
Hello everyone,

I have board mini2440 running Win CE 6.0 and I have domodom SPI driver, I'm
using this driver to send 24 bytes of data via SPI channel at baud rate
12.5 MHz.

Everything works fine but when I measure the sending datas, they took too
much time compare to baud rate 12.5 MHz. I also attach the image that I
took from oscilloscope.

What could I do to send faster data?

Thanks in advance and best regards,

Judau

paul66055
Hi Judau,

You can increase the value of the clock till the valid extension. this will
help you sending the data faster.

And if this also doesn't work you can switch to SDIO interface, as the data
rate will be higher than SPI.

Judau
@paul66055,

Thanks for replying me, can you tell me how to use SDIO interface?

Judau
Hello,

Does anyone can use SPI DMA mode using WINCE 6.0? Can you guide me how to
write driver using DMA mode for SPI?

Thanks in advance,

Best reagards,
Judau

Judau
Anyone can help me?

domodom
In what langage have you written your application ? If C# or VB.Net, you
should write your application in c or c++, i wouldn't be surprized to see
that your problem is here.