Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRFX module and NRFX_TWI_DRIVER

Good morning everyone,

I am having a few problems in understanding the new SDK 15.0.0. 

First of all, I was unable to find a definition/description of NRFX.....what is it? Is it just a new naming convention, or is it a module doing something specific?

Second thing, assuming it is just a new naming convention, I tried to port my TWI code running smoothly on SDK 14.2 to 15.0.....I can make it work 

perfectly if in the sdk_config.h I set both NRFX_TWI_ENABLED (I use both instances 0 and 1) and TWI_ENABLED to 1 (with both instances).

If I only try to enable NRFX_TWI_ENABLED, and I set TWI_ENABLED to 0, then the code does not compile, telling me that instance 0 is undefined....is it normal

or I am doing something wrong?

My whole application include the use of other peripherals and timers, so I would like to understand how to use correctly the NRFX configurations....the release notes only states that this is now used, but I did not understand much more....

Thank you!

Parents Reply Children
No Data
Related