gpio speed databus with MCU processor

Started by slacker66, April 13, 2015, 08:11:29 PM

Previous topic - Next topic

slacker66

Hi everybody .

I want to exchange bidirectional data with MCU 8051 or 68xx processor, but the speed of this data are fixed at 2 to 8 MHz.

the MCU databus are 8 or 16 bits >>> 1 or 2 byte/octet.

I want to use GPIO for A20-OLinuXino-MICRO.

I don't want exchange data with serial port (I2C, SPI, etc ... ) because it seem complicated.

It is possible ?

Thanks in advance.

dave-at-axon

GPIO will be way more complex that SPI or I2C as you will have to write your own handshaking etc.

Why don't you use UART as this is dead easy to use.

slacker66

Hello and thank, Dave-at-axon.

In my app, it need to read up to 1,6 MBit/sec or more
If it is not possible with gpio, i try to use spi port.  :(

Best regards

dave-at-axon

GPIO is slow. Better you go with SPI if you need that sort of speed.