AnsweredAssumed Answered

SDK issue with SPI for RTC access ?

Question asked by Stanislav CERNY on Apr 17, 2019
Latest reply on Apr 18, 2019 by Stanislav CERNY

Need periodically (MCUxpresso, SDK only) read out values from sensors and store to flash incuding time stamp.

RTC library - trying to use sensors/pcf2123.h from SDK, but seems missing functions around SPI, which are required for callback:
pcf2123_fct.SPI_Read
pcf2123_fct.SPI_Write

 

uint8_t (*SPI_Read)(uint8_t *writeBuf, uint8_t *readBuf, uint32_t readSize); /*!< External SPI read function */
uint8_t (*SPI_Write)(uint8_t *writeBuf, uint32_t writeSize); /*!< External SPI read function */

 

Could you please point out SDK functionality here ?

 

Thank you!

Stanislav

Outcomes