https://github.com/davis-software/osci-pi
Basic DMA implemenation for the Raspberry Pi 3 and the AD9226 ADC
https://github.com/davis-software/osci-pi
Last synced: 7 months ago
JSON representation
Basic DMA implemenation for the Raspberry Pi 3 and the AD9226 ADC
- Host: GitHub
- URL: https://github.com/davis-software/osci-pi
- Owner: Davis-Software
- Archived: true
- Created: 2023-06-19T14:32:05.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T20:25:14.000Z (over 2 years ago)
- Last Synced: 2025-01-01T20:46:20.040Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Simple DMA Implementation on Raspberry Pi 3
> Requirements:
> - PiGPIO
##### Compile:
```sh
$ gcc -o dma rpi_adc_dma.c -lpigpio
```
or for the jf version:
```sh
$ gcc -o dma jfp_rpi_adc_dma.c -lpigpio -lm
```
##### Run:
```sh
$ sudo ./dma
```
or for the jf version:
```sh
$ sudo ./dma []
```
* The sample rate is in Samples per second
* The capture time is in milliseconds