It sounds like the nRF51822 has 1 UART, or possibly several can be defined from GPIO. Which is it? Can I get 2?
It sounds like the nRF51822 has 1 UART, or possibly several can be defined from GPIO. Which is it? Can I get 2?
Looking at the nRF51822 SDK documentation if I'm following it correctly, I can define any GPIO pins to be a UART using the app_uart_init function. I don't need 2 concurrent UARTS, but am I right in assuming I can setup two seperate UARTS and then swap between them using this function?
Anyone have a code example?
Looking at the nRF51822 SDK documentation if I'm following it correctly, I can define any GPIO pins to be a UART using the app_uart_init function. I don't need 2 concurrent UARTS, but am I right in assuming I can setup two seperate UARTS and then swap between them using this function?
Anyone have a code example?
Yes, as Hung said, you can do that. All digital peripherals can be connected to any pin, so as long as you don't need any of them concurrently, you can switch at will.
Yes, as Hung said, you can do that. All digital peripherals can be connected to any pin, so as long as you don't need any of them concurrently, you can switch at will.