The KEY POINT of example "ble_app_uart"

This article baed on "pca10040", nRF52832

example code path "examples/ble_peripheral/ble_app_uart"

IMPORTANT!!!! board config file of this example located in "components/boards/pca10040.h" and uart pin defined in this file, like this: #define RX_PIN_NUMBER 8 #define TX_PIN_NUMBER 6 So, the KEY point of this example is uart character goes through PIN#8 an PIN#6 if you don't know where are they, see schematic of you board

I spend whole night to figure out why I can't see anything through my JLink uart thats because my JLink uart using PIN#15 and PIN#16 as UART after I changed my code to : #define RX_PIN_NUMBER 16 #define TX_PIN_NUMBER 15 problem resolved(if nothing happened , try swap RX TX pin)

my JLink Jack Schematic image description

Windows Step Flow image description

Connection FLow image description

Parents
  • Your problem obviously was that you don't use PCA10040 but some custom dev kit for some custom board. Therefore you should create your own header file for your HW. Anyway nice catch and if you would (finally!!!) identify what HW you have and place it to the article (preferably headline) you can save some time to many people coming after you!

Comment
  • Your problem obviously was that you don't use PCA10040 but some custom dev kit for some custom board. Therefore you should create your own header file for your HW. Anyway nice catch and if you would (finally!!!) identify what HW you have and place it to the article (preferably headline) you can save some time to many people coming after you!

Children
No Data