Hello,
I want to test the IKS01A1 (STM) board with the STEVAL-MKI159v1 board by placing the IKS board in the Arduino connectors on the nRF52 (PCA10056) DK board.
I want to use this driver:
https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm9ds1_STdC
By writing the platform_write and platform_read functions with the nRF SDK, the way the HAL_I2C_Mem_Read function is written. platform_write and platform_read is In this source:
From the nRF SDK I only know the writing and reading functions on the TWI from the bus, but there is no function that would write/read in the register of TWI slave.
I wonder if there is anything like that? And what is the procedure? For HAL_I2C_Mem_Read / Write functions, this is written:
Write an amount of data in blocking mode to a specific memory address using HAL_I2C_Mem_Write ()
(+) Read a number of data in a blocking mode from a specific memory address using HAL_I2C_Mem_Read ()
the functions are, for example, here:
Im asking for help.
I use: Segger Studio, nRF52 DK