Pointer to documentation please

In the past, I've been told I can bypass a lot of the Zephyr nonsense and use the HAL layers of the nRF Connect SDK directly.  So if I want to use what was called nrfx_twim_xfer in old SDK, what is the equivalent of that in nRF Connect SDK?  Can you point me to the documentation on this whole HAL thing?  All I'm finding is Zephyr layers over it.  I want to work at a much lower level than that (but not as low as having to bitbang registers myself).

Thanx

  • There is close to zero overhead for I²C devices when using zephyr drivers. The bus is dead slow on its own. I strongly recommend learning how to use zephyr drivers first, including the DTS overlay stuff.

    There is probaly no more accurate documentation online. Your best bet is to read the source code. Remember that you have working zephyr drivers to copy from available.

    And if you try running your own code its very easy to get bitten by the zephyr drivers - which have interrupts enabled for example. DTS overlay is a non-trivial task here!

  • Nuts.  I was hoping, based on other conversations, that I could bypass a lot of the plain stupid things zephyr does but it looks like there is way too much tentacles running around to do that reliably.

    well... back to the drawing board.  Thanx anyway.

Related