How #PinePhone talks UART with Interrupts ... And how it's implemented in #NuttX RTOS ... All shall be explained in this article
Here are the UART Registers for #PinePhone's Allwinner A64 SoC
Here's how we send data to #PinePhone's UART Port
https://lupyuen.github.io/articles/serial?3#uart-with-polling
Sending data to #PinePhone's UART Port is easy ... But we need to check the Transmit Buffer
How we wait for #PinePhone's UART Port before we transmit
https://lupyuen.github.io/articles/serial?4#wait-to-transmit
We've done #PinePhone UART with Polling ... Now we do UART with Interrupts!
https://lupyuen.github.io/articles/serial?8#uart-with-interrupts
Here's how we attach our Interrupt Handler to #PinePhone's UART Port
https://lupyuen.github.io/articles/serial?9#attach-interrupt-handler
How we enable UART Interrupts on #PinePhone
https://lupyuen.github.io/articles/serial?10#enable-interrupt
#PinePhone's UART Interrupt Handler will handle Transmit and Receive Events
https://lupyuen.github.io/articles/serial?11#handle-interrupt
Handling Transmit and Receive Events in #PinePhone's UART Interrupt Handler
Why we don't init #PinePhone's UART Driver
https://lupyuen.github.io/articles/serial?15#initialise-uart
Here's how we create a #PinePhone UART Driver for #NuttX RTOS
https://lupyuen.github.io/articles/serial?16#nuttx-uart-driver
#PinePhone boots the #NuttX Shell ... Thanks to our UART Driver!
#PinePhone now boots Apache #NuttX RTOS ... And runs NuttX Commands perfectly OK! This article explains how we created the UART Driver for PinePhone...
Arm64 Assembly Macros for printing to #PinePhone's Serial Console ... Super helpful for our Arm64 Startup Code!
https://lupyuen.github.io/articles/serial?7#arm64-assembly