2021-06-16 01:21 AM
*How we can transfer (eg:2 bytes of ) data through simple GPIO pins without using any of the communication protocols (uart,spi,i2c,etc..)
2021-06-16 03:39 AM
By bit-banging the same communication protocol.
JW
2021-06-16 03:44 AM
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?
2021-06-16 06:07 AM
The OneWire protocol exists for this (among others).
https://stm32f4-discovery.net/2015/07/hal-library-05-onewire-for-stm32fxxx/
2021-06-16 06:15 AM
This appears to be master only.
JW
2021-06-16 06:19 AM
2021-06-18 07:33 AM
Thank you very much for your answer.