I want to test a chip and I was using SPI and USB serial to send data to the computer.
However, as the USB serial speed is limited and it will overflow.
How could I interface it with a SD card or some other kind of memory and store data in it? and Then I read data and send to PC.
I need to store at least 16224 bits data.
Does anyone know how to connect my Maple to an SD card to store data?
(7 posts) (3 voices)-
Posted 4 years ago #
-
Or, does anyone know, if i use usart, how fast would that be? will it enough?
Posted 4 years ago # -
I see that on RM008, the SDIO do not have SPI compatible communication mode
Does that means I can't use it, or I could use it through DMA?Posted 4 years ago # -
One USART is upto 4.5Mbit/second, so, say 450KByte/second. I think the other two are 2.25Mbit/second.
(full disclosure: I am not a member of LeafLabs staff)
Posted 4 years ago # -
gbulmer,
Thanks a lot!
I see this here
http://leaflabs.com/docs/lang/api/serial.html#lang-serial
Unlike the Arduino, none of the Maple’s serial ports is connected to the USB port on the Maple board. If you want to communicate using the built-in USB port, use SerialUSB instead. You will need an additional USB-to-serial adapter to communicate between a USART and your computer.Does this means, I can't use serial without another adapter?
Posted 4 years ago # -
Does this means, I can't use serial without another adapter?
You're right, it can't use the serial for communication, unless you have a computer which has a serial interface.
Posted 4 years ago # -
If you want to connect the Maple's USART1/2 to a computer via USB and not use the Maple's SerialUSB functionality, you'd need a "USB -> Serial TTL" adapter, something like this:
http://shop.moderndevice.com/products/bub_ii
or this:
http://www.sparkfun.com/products/718Just make sure that the adapter supports 3.3V logic level.
Posted 4 years ago #
Reply
You must log in to post.