Hello,
I'm using nRF52 2832 with SDK 12.3.0 and I want to know if there is a simple way to log via UART to PuTTY for debug.
Thanks for your answers.
Hello,
I'm using nRF52 2832 with SDK 12.3.0 and I want to know if there is a simple way to log via UART to PuTTY for debug.
Thanks for your answers.
Yes you're right I have a little PCB with nRF52 on it.
I'm using a serial USB cable, I took care to cross RX and TX of the cable with TX and RX pins. I use pin 12 as TX and pin 5 as RX.
Your code works on the DK, just tried to be sure. Are you sure RX/TX needs to be crossed for this particular serial USB cable, pin naming on serial bridges are not always consistent in my experience. Suggest to check if there any data is being transmitted on the TX pin to confirm whether the 52 is transmitting the data or not (if you have a scope/logic analyzer). You could also try a different baudrate, 38400 for instance, which is supported by most converters.
Also make sure you have a common ground wired, and your cable support the right signal levels.
Hi,
I tested the code on my DK with RX pin 8 and TX pin 6, still nothing on PuTTY.
Also with 38400 baudrate.
Do you have a different serial converter you can try, the one on the nrf52 DK for instance? Also make sure to have common ground as Reynard pointed out.