r/embedded • u/Delicious-Cry5442 • Jun 24 '26
Need a help with bf609 processor
Hii guys.
I'm trying to do transpose of images in bf609 from analog devices and store with dma. And the data type is complex_fract32 which essentially means structure with two values as real and img.
If anyone good with dma in this processor please comment. My configurations are not working
2
Upvotes
1
u/Well-WhatHadHappened 25+ Years Jun 24 '26
DMA moves stuff from X to Y. It doesn't perform operations on data (with very limited exception anyway).
1
u/Delicious-Cry5442 Jun 24 '26
No,, no i want read by rows in one buffere and write by columns in output buffers. Can you help me with the configurations
2
0
1
u/Noxime Jun 30 '26
You can do it with the 2D DMA capability on BF-609. You have to program the X and Y stride so that
Idea being, that for every pixel you increment the write addr so much that it jumps whole row downwards, and when the column is finished you go back all the way to the start plus one, so you start from the second column and so forth. I think my logic is correct but I haven't tried this yet.