Other Parts Discussed in Thread: ADS8688
How can i send ADC data from PRU code(PRU core) to QT code(ARM Core). I am using ti processor SDK 6.0.3.
Please help me out.
Regards,
Parth Mehta
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Mehta,
You can find an example of using RPMsg to send limited amounts of ADC data from PRU to Linux userspace in the PRU Software Support Package (PSSP) under examples/am335x/PRU_ADC_onChip. PSSP can be found in your Linux Processor SDK under example-applications/pru-icss-x.x.x, or at the git repo. This example uses the AM335x on-chip ADC.
You can find an example of using interrupts and a ping-pong buffer to send larger amounts of ADC data from PRU to Linux in TI Design Flexible Interface (PRU-ICSS) Reference Design for Simultaneous, Coherent DAQ Using Multiple ADCs. The software can be found in your Linux Processor SDK under example-applications/pru-adc-x.x.x, or at the TIDA-01555 git repo. This example uses the PRU to control external ADCs by implementing the SPI protocol. The SPI code that collects ADC samples is under folder PRU_ADS8688_Interface. The control code that implements interrupts and data transfer from PRU to ARM is under folder PRU_ADS8688_Interface.
Regards,
Nick