I am looking for a good document to establish an I2C connection between the nRF5340 and another microcontroller. I am using VS Code and the Nordic SDK. Unfortunately, the tutorials and documentation from Nordic are terribly bad. Can you help me?
I am looking for a good document to establish an I2C connection between the nRF5340 and another microcontroller. I am using VS Code and the Nordic SDK. Unfortunately, the tutorials and documentation from Nordic are terribly bad. Can you help me?
Hi,
Did you see our I2C lesson in the fundamental course on Devacademy? It's pretty extensive and show how to setup a I2C transfer.
Is there anything specific that you did not understand or want elaboration on?
regards
Jared
Hi,
Yes I did.
One of my first problem is the following one, here under.
On my main.c I put this code :
#include <zephyr/kernel.h>
And on my .overlay file, I put this :
i2c0: i2c0@03 {
I don't want to appear rought, but in my opinion, I find that these lessons are kind of poor and poorly explained.
Regards
So I have an error on the underline function with the message : "expected an expressionC/C++(29)".
Hi,
That doesn't look quite correct. Can you share your overlay file and share the whole error log,
regards
Jared