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

SDK • Accessing ROM memory from SM issues

$
0
0
I have been playing around with state machines and previously was using a ram based buffer for data reading and was feeding data to a external device via the SM. I now have a requirement to use up to 12MB at a time so ive switched to using internal ROM (the rom is 16MB) and I get some data but the data is being served at a reduced pace.

I have tried doing a C side speed test of the ram v rom access reading the whole data set 100k times and the differences in performance is negligible (Both buffers set to ~64kb to adjust for the rams lower size).

The SM configuration is setup for once SM to read the incoming data address, pass the address to the second SM and that one outputs the data over the data lines.

Any suggestions would be appreciated!

Statistics: Posted by 0xen — Mon Dec 25, 2023 12:00 am



Viewing all articles
Browse latest Browse all 5363

Trending Articles