Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148998

Forum Post: Configuring ADC registers from within a C code

$
0
0

Hello all. I was wondering how can I change the configuration of some registers like the 

STEPCONFIG1 Register  value from within C program. Is there anyway to do so without reconfiguring all the registers using the PRU? I'm using the PRU to read from all 7 analog pins and at some point of my C program, I would like to disable some pins and change the configurations of others. 

Another thing is that in my (.p) file, the assembly file, I defined that my sampling rate is to be 16000Hz, can I change that value from the C program as well? Thanks in advance.


Viewing all articles
Browse latest Browse all 148998

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>