[NUCLEO_F030R8] Add SPI api, corrections in I2C