Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: slacker66 on April 13, 2015, 08:11:29 PM

Title: gpio speed databus with MCU processor
Post by: slacker66 on April 13, 2015, 08:11:29 PM
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.
Title: Re: gpio speed databus with MCU processor
Post by: dave-at-axon on April 14, 2015, 02:43:06 AM
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.
Title: Re: gpio speed databus with MCU processor
Post by: slacker66 on April 14, 2015, 12:55:12 PM
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
Title: Re: gpio speed databus with MCU processor
Post by: dave-at-axon on April 14, 2015, 03:46:48 PM
GPIO is slow. Better you go with SPI if you need that sort of speed.