Simple out-of-the-box I2C / RS232 software protocol
Hi,
I have a custom master PCB connected to a few slave custom PCBs via serial. In some systems they are connected via I2C and in other systems they are connected via RS232.
They all run STM32 micros.
I am looking for two out-of-the-box protocols with source code available, one for the I2C and one for the RS232. They need to be very simple because only very little and simple data is exchanged (enable motor, change state machine state, turn LED on/off, etc) and none of it is time critical either.
Which protocol would you suggest and where can I find the source code?
Is there any such or similar solution provided by ST?
Thank you :)
