Hi Prasan
Can you provide a schematic for your board?
What are the UART pins connected to?
Are you able to connect a scope to the pins to see what is happening on the bus?
As you say there is no limit on which of the GPIO pins can be used for UART, as long as they are not used for anything else.
Best regards
Torbjørn
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 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