Hi,
I am using nrf52840 as a peripheral. How can I use more than 1 uart(1 for GSM,2nd For GPS, and 3rd for show data in PuTTY). Which pins I can use for this? and how? any example source?
Thanks
Hi,
I am using nrf52840 as a peripheral. How can I use more than 1 uart(1 for GSM,2nd For GPS, and 3rd for show data in PuTTY). Which pins I can use for this? and how? any example source?
Thanks
Hi Muqarrab Rahaman,
I suggest you read nRF52840 Product Specification to get the detail about perfipherals. Here are simple answers:
There are two UARTs you can use at the same time. If the third one is only for debugging purposes, maybe you can use Jlink RTT as an alternative. You can learn how to change zephyr logging backend from the NCS document.
The GPIOs used for each UART interface can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pinout and the efficient use of board space and signal routing.
There is a similar ticket on how to use UART which you can refer to. https://devzone.nordicsemi.com/f/nordic-q-a/44187/how-do-i-configure-uart-send-data-from-nrf52832-to-quectel-module-by-using-zephyr-sdk/173535#173535
Best regards,
Charlie
Hi Muqarrab Rahaman,
I suggest you read nRF52840 Product Specification to get the detail about perfipherals. Here are simple answers:
There are two UARTs you can use at the same time. If the third one is only for debugging purposes, maybe you can use Jlink RTT as an alternative. You can learn how to change zephyr logging backend from the NCS document.
The GPIOs used for each UART interface can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pinout and the efficient use of board space and signal routing.
There is a similar ticket on how to use UART which you can refer to. https://devzone.nordicsemi.com/f/nordic-q-a/44187/how-do-i-configure-uart-send-data-from-nrf52832-to-quectel-module-by-using-zephyr-sdk/173535#173535
Best regards,
Charlie