TWI Sensor example in Segger Embedded Studio not working

FormerMember
FormerMember

Hi 

 The compiling of standard TWI sensor example is giving me an error with SES.

 Please find attached a snapshot of the issue.

 Need your help ASAP. Thanks

Chandra

Parents Reply
  • The sdk_config.h file is not shared between projects, only between different IDEs for one example/board. Drivers and libraries on the other hand, are shared between all examples in the SDK.

    TWI is a legacy peripheral, included mainly for backwards compatibility with nRF51 series. It is deprecated in the nRF52 series, and TWIM peripheral should be used. TWIM peripheral support EasyDMA, allowing you to transfer and receive data on TWI without CPU usage. The data is transferred directly to/from RAM.

    If the parameter say it is NRF_CONFIG macro, it should be placed in sdk_config.h. If the config is not already present in the sdk_config.h file of your project, I recommend copying the entire section related to that module from another example project's sdk_config.h file, e.g. the twi_sensor example.

Children
Related