In this post I want to
describe the simplest program, which transferring bytes from our
board using UART and SPI interfaces.
First of all, we should
setup our pins. I will do it in CubeMX, though if you want to deeper
understand these interfaces, you can read through datasheets and set
up them manually.