User Tools

Site Tools


uart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
uart [2025/04/20 19:25] arisoturauart [2025/05/10 11:55] (current) arisotura
Line 80: Line 80:
 IRQ 4 is fired when a byte of data is received. To acknowledge it, read the data from the data output port. IRQ 4 is fired when a byte of data is received. To acknowledge it, read the data from the data output port.
  
-IRQ 6 is fired when data reception fails. For example this happens if the RX line is pulled low (when polarity set to active high). The only known way to acknowledge this IRQ is to reset the UART entirely.+IRQ 6 is fired when data reception fails. For example this happens if the RX line is pulled low (when polarity set to active high). This also happens on parity errors. The only known way to acknowledge this IRQ is to reset the UART entirely.
  
-Unknown what IRQ 12 would be, maybe parity error?+Unknown what IRQ 12 would be. Firmware code has a case for itbut I haven't observed it so far.
  
  
Line 105: Line 105:
 | 0    | RX FIFO not empty | | 0    | RX FIFO not empty |
 | 1    | RX FIFO overflow (received data while FIFO already full) | | 1    | RX FIFO overflow (received data while FIFO already full) |
 +| 2    | RX parity error |
 +| 3    | RX error, ? (FIFO overflow?) |
 | 4    | RX line error (ie. line held low) | | 4    | RX line error (ie. line held low) |
 | 5    | 1 when ready to send, 0 when sending | | 5    | 1 when ready to send, 0 when sending |
Line 183: Line 185:
  
 ^ Bits ^ Desc. ^ ^ Bits ^ Desc. ^
-| 0- | ??? |+| 0- | ??? 
 +| 4    | Aux. LED (for UART2) (0=off, 1=on) |
 | 8-14 | ??? | | 8-14 | ??? |
  
uart.1745177137.txt.gz · Last modified: 2025/04/20 19:25 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki