cancel
Showing results for 
Search instead for 
Did you mean: 

How to Transfer Data use of simple GPIO pins micro Controller to micro Controller?

Ss.61
Associate III

*How we can transfer (eg:2 bytes of ) data through simple GPIO pins without using any of the communication protocols (uart,spi,i2c,etc..)

6 REPLIES 6

By bit-banging the same communication protocol.

JW

Javier1
Principal

If you dont want to use any already available communication protocol you need to create your own! (FUN!)

In that case you would have to make a lot of choices, how many gpios can you spare? how fast you need the data transmision to be?, serie or pararell data, or both?, Error check?

we dont need to firmware by ourselves, lets talk
TDK
Guru

The OneWire protocol exists for this (among others).

https://stm32f4-discovery.net/2015/07/hal-library-05-onewire-for-stm32fxxx/

If you feel a post has answered your question, please click "Accept as Solution".

This appears to be master only.

JW

I interpreted the question as a one way transfer. Could be wrong, it's ambiguous.
If you feel a post has answered your question, please click "Accept as Solution".

Thank you very much for your answer.