I connected a US logic analyser on the pins and tried to check if something coming on bus. Unfortunately, there is no any activity on the corresponding bus. Do you think there is any major hardware issue, how custom board UART communication is tested? nRF52840 DK has UART pins hardwired, so data transmission can be directly seen on the USB port corresponding to USB cable connected to J2. I even checked on logic analyser and it is getting decoded properly. Does my custom board receives the data sent on J2 USB COM port?
Hi Torbjorn,
There is some weird behaviour of board I observed today. As per general assumption, I changed the pin on nRF52840 DK to p1.03 & p1.05 as these are unused pins to check the behaviour of UART. I checked the schematic files also and these pins are not connected for any other interfacing. Unfortunately, there is no sign of communication happening on these pins, I cross-checked by connecting logic analyser also.
I checked the schematic and found that pin P0.08 & P0.06 are connected through FSA2466UMX IC which is helping to see the communication through putty. This might be the reason that changing to any other pin is not working.
My custom board also doesn't have any pins hardwired for this communication. Please help me understand and resolve this issue.
Regards,
Prasan
Hi Prasan
Sorry for the slow response, for the last month or so I have been out in travel and vacation.
Is hardware flow control enabled?
If it is communication can only occur when both the RTS and CTS lines are low.
It should be possible to re-assign the UART pins on the DK, even if the default configuration uses P0.08 and P0.06.
If you can confirm whether or not HWFC is used I can run a test on my own to see if I spot the same issue. Could you share the main.c file of your modified example?
Best regards
Torbjørn
Hi again
Ignore my comment with regards to flow control, I see now that you mention earlier that no flow control is used.
If you can share the example code you test on the DK I will test it on my side to see where the problem might be.
Best regards
Torbjørn