LIS2DH custom driver, which is the best solution?

Dear,

In my custom board based on nrf5340 I have a LIS2DH12. I tried to use the sensor abstraction, but I need to set a lot of registers and I decided to implement a custom driver.

Now, I have a question: which HAL is better to use? The zephyr/driver/i2c or the nrf_drv_twi function?

Best

Marco

Parents Reply Children
No Data
Related