As per RZ/N1 peripheral user manual(r01uh0752ej0100-rzn1-peripheral.pdf) rev 1.0.0 Mar,2019, the value for 8_WORD_BURST is 4(b2,b1=2’b10). This patch fixes the macro as per the user manual.
Unified · Split
| @@ -47,7 +47,7 @@ · 46 unmodified lines | ||
| 47 | 47 | #define RZN1_UART_xDMACR_DMA_EN BIT(0) |
| 48 | 48 | #define RZN1_UART_xDMACR_1_WORD_BURST (0 << 1) |
| 49 | 49 | #define RZN1_UART_xDMACR_4_WORD_BURST (1 << 1) |
| 50 | −#define RZN1_UART_xDMACR_8_WORD_BURST (3 << 1) | |
| 50 | +#define RZN1_UART_xDMACR_8_WORD_BURST (2 << 1) | |
| 51 | 51 | #define RZN1_UART_xDMACR_BLK_SZ(x) ((x) << 3) |
| 52 | 52 | |
| 53 | 53 | /* Quirks */ |