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

Combining UART and MPU6050

Hello,

I was able to build the example project MPU6050 from Github with SDK 16. However, I used Putty to connect to the board (PCA10056) with baudrate of 115200 on COM3 (the COM Port it is connected to) but I didn't get any debug string. The sdk_config.h file I took directly from the example.

I used GPIO to turn on a LED when a value from the MPU changed, and the LED changed, verifying that the MPU is not faulty, and I setup the read data from the MPU right, just the UART part is incorrect.

May I get some help getting UART running? What to include in sdk_config.h? What function, c source file, header, do I need?

Thank you very much.

Related