Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Interfacing (DSI, CSI, I2C, etc.) • Re: PiSP BE: nothing being written to my DMA buffer

$
0
0
If the config was written to registers, and tile parameters were read correctly (make sure those are 16-byte aligned; they don't need to be attached to any config structure) then the output should have gone somewhere... All addresses are 64-bit, LS word first, with no offset or scaling, 16-byte aligned).

This minimal 1-tile configuration copies a 128K buffer (uncompressed u16 256x256) from input to output0. You will also need to set up tile address low and high, input addr 0 low and high, output 0 addr 0 low and high (it's best to zero the other addresses).

Config registers:

Code:

00b0 0000000100b4 0004000000b8 0000000100bc 0100010000c0 0000000300c4 0000020000c8 0000000018f4 0100010018f8 0000000318fc 000002001900 000000001904 000000001908 ffff0000190c ffff0000
Tile parameters:

Code:

000000 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000010 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01000060 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000080 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000000a0

Statistics: Posted by njh — Sat Mar 15, 2025 11:17 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles