Quantcast
Viewing all articles
Browse latest Browse all 5415

Bare metal, Assembly language • Re: Squeezing 17ns FIQ service to the 59MHz ARM Timer

Have you thought about using Secondary Memory Interface and DMA? There is a DAC example here: https://iosoft.blog/raspberry-pi-smi/
I did, it just wasn't clear at what speed the data transfers were. I did use DMA once for an MP3 player thing and so it was using some dual 4KB buffer transfers. This one is a little bit different, there's only 360 constants 1 byte each I'm supposed to fire at a high frequency. So there's literally nothing to "load" and transfer from memory. It looks like he fires something to the DAC but I can't say if his data is latched properly. If there is a phase shift he will have so many glitches if we are trying to generate a 1Vpp sine waveform.

Statistics: Posted by MaximBondaruk — Mon Apr 01, 2024 6:05 am



Viewing all articles
Browse latest Browse all 5415

Trending Articles