This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Implement I2C on Thingy91

Hi,

I want to implement a I2C on my thingy91.

As I am completely new to the world of nordic, I just had no idea where to start, but after reading a lot I thought I could use the i2c_scanner example from the nrf repository of nordic ( https://github.com/sigurdnev/fw-nrfconnect-nrf/tree/master/samples/nrf9160/i2c_scanner ).

As I have already installed the necessary toolchain and also cloned the repository, I just opened the project of the i2c_scanner and tryed to build it. But here I always receive an error in the nrfx_twim.c file => NRF_TWIM3 undeclared, did you mean NRF_TWIM2 ? 

I thought the easiest way to get the i2c running would be to modifiy this solution for my needs - is this even a good approach or should I start somewhere else?

As already sayed, I am quite new to the world of Nordic and therefore have nearly no exprience at programming those uCs. - Is there maybe somewhere a good tutorial where I could learn this step by step? I´ve already done the whole getting started assistent and looked at the videos of nordic, but they do not really show how to start with a new project, what the first steps are and so on.....

Thank you very much.

Parents Reply Children
No Data
Related