User Tools

Site Tools


dma

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
dma [2025/04/16 12:12] arisoturadma [2025/04/20 19:10] (current) arisotura
Line 79: Line 79:
 | 1-3  | Peripheral select | | 1-3  | Peripheral select |
  
-The peripheral select determines which peripheral is accessed. The following values are observed in the stock firmware:+The peripheral select determines which peripheral is accessed. Here are the known settings:
  
 ^ Value ^ Desc. ^ ^ Value ^ Desc. ^
 | 0     | ??    | | 0     | ??    |
 +| 1     | ??    |
 | 2     | SPI   | | 2     | SPI   |
 | 3     | ??    | | 3     | ??    |
-| 4     ??    +| 4     UART0 | 
-| 6     IR    |+| 5     | UART1 
 +| 6     UART2 | 
 +| 7     | ??    | 
 + 
 +Values 0, 2, 3, 4, 6 occur in the stock firmware.
  
 Note that the peripheral must be configured correctly for the DMA transfer to work, ie. for SPI, the transfer direction in 0xF0004404 must match that of the DMA channel, and so on. Note that the peripheral must be configured correctly for the DMA transfer to work, ie. for SPI, the transfer direction in 0xF0004404 must match that of the DMA channel, and so on.
Line 168: Line 173:
 | 9    | Bit order for masked fill mode; 0=MSb first, 1=LSb first | | 9    | Bit order for masked fill mode; 0=MSb first, 1=LSb first |
 | 10   | Simple fill mode (has priority over bit 7) | | 10   | Simple fill mode (has priority over bit 7) |
-| 16-17 | N value for bit 18; 0=1 byte, 1=2 bytes, 2=4 bytes, 4=8 bytes |+| 16-17 | N value for bit 18; 0=1 byte, 1=2 bytes, 2=4 bytes, 3=8 bytes |
 | 18   | Skip every other N source bytes | | 18   | Skip every other N source bytes |
 | 19   | Apply memory offsets to source address | | 19   | Apply memory offsets to source address |
dma.1744805547.txt.gz · Last modified: 2025/04/16 12:12 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki