I am new to Nordic products so please apologize me if I am asking a trivial question, but a bit lost on it. I would like to use Thingy 52 board for my project ( I wanted to add one external sensor on existing I2C bus on Thingy ). The problem which I have I don't know how to to setup the environment and programming tools in order to work with the source code which you provided. I have found that the Thingy could be programmed or via 10 pin connector or over the air but how to do it in the right way is problematic for me to understand how to make it works ( either way is fine )
I get also the nRF52840 DK due to the fact that what I have read is already J-Link embedded and 10pin header for programming is there as well. No the question is how to make it use. So in general some receipt how to get environment to be ready for development. I think it should be like that but I am not sure.
1. Download the Keil or GCC and install it on your machine
2. Connect nRF52840 DK via microUSB and connect the Thingy 52 via 10 pin connector to nRF52840 DK
3. Open the project in Keil
4. Compile the source code provided
Thank you very much in advance and sorry for maybe simple question.
No need to apologize.
1. Download the Thingy firmware here and follow the description in the readme.
2. Download Keil or you could use GCC.
3. Compile your code and build
4. Connect the 10 pin connector as shown in the figure:
5. Flash the build .hex file
6. Test the application
-- I would also recommend you to read through the answer in this thread for some extra explanation.
(If you want to add a sensor you could use the I/O expander and you can use the TWI examples (from the SDKv13 since the Thingy FW is build upon SDK 13) as reference which you can add to your application)
Thank you very much Martin, I will walk step by step as you suggest and share with you the result as soon as possible.
That is great, If you have questions regarding this topic you can follow up here.
If you have new questions regarding something else, I recommend you to make a new case.
Have a great day.
Hi Martin, Sorry to step in this ticket, maybe my question is a little bit not relevant. However, I am using nRF52832 Devkit for the moment, here is the thing, I want to connect a capacitive sensor IQS231A which works with I2C, am a bit lost from where to start or which example should i start with. I need simple code which i can read/write over I2C.
Thanks a lot in advance.
Edit: version SDK 14.2.0
I recommend you to check out the TWI Sensor example on how you could read/write over I2C/TWI.
(you could also check out TWI Scanner and TWI Transaction Manager)