FRAMEWORK IMPLEMENTATION, FIRMWARE DEVELOPMENT AND CHARACTERIZATION OF FLEX-SPI COMMUNICATION PROTOCOL: ENERGY CONSUMPTION ANALYSIS AND COMPARISON WITH I2C STANDARD