Re-designed UART String Driver UARTkstr
- Re-design the UART string driver for kernel-v1 to use interrupts for input, ie. reading from the terminal.
- FIFO overrun concerns as well as the limitations on the baudrate are not relevant anymore.
- See UARTkstr.mod
Module UARTdev
- Extend interrupt bits data definitions (registers IMSC, MIS, and ICR).
Module MCU2
- Add exception numbers for interrupts.
Module Exceptions
- New procedure to read the ISPR status, ie. the number of the currently running exception (or
0
if in thread mode).
Revisited Example Program ReadTerminal
- The example program ReadTerminal is updated for the re-designed UART string driver
UARTkstr
. - The variant of
UARTkstr
in the program directory, which is functionally the same as the one in the library (see above), has some GPIO pins and delays inserted to test and measure the behaviour and performance. - ReadTerminal shows signal traces for two use cases.
Former Example Program ReadTerminal
- The code can still be found in the repository.
- The former
UARTkstr
driver version, which relies on the kernel thread itself to empty the FIFO, has been moved into the directory of this program (UARTkstr.mod)
About Serial Terminal Programs
- Extend the section on serial terminal programs in Set-up.