F5OEO / librpitx

Radio frequency transmitter library - Engine of rpitx
GNU General Public License v3.0
87 stars 35 forks source link

pi zero w: signal stops when calling usleep in (dma) loop #3

Open iksteen opened 6 years ago

iksteen commented 6 years ago

When running any of the DMA examples on a raspberry pi zero w that does nothing else, the signal stops after a short amount of time. The actual cut-off time differs between runs, but it's usually somewhere around 200ms.

To be honest, I have no idea how to investigate this any further but I'm willing to provide assistance in fixing this. If necessary, I can grant you access to my pi zero w through ssh.

F5OEO commented 6 years ago

Have no issue on with my rpizerow here. Can you try v2beta branch of https://github.com/F5OEO/rpitx and try pichirp for example to check how it workds ? Can you confirm that it work on other pi model (Pi3,PI2) ? Which is your current distro ?

iksteen commented 6 years ago

The same code (dma examples from librpitx, my own code and pichirp from the v2beta branch of rpitx) works on both a Pi1 and a Pi3 using the exact same SD card which has raspbian stretch installed.

F5OEO commented 6 years ago

Can you try with gpu_freq=250 in /boot/config.txt

F5OEO commented 5 years ago

Is it still an issue ?