Hey Acheesehead,

 funny name :) I'm sitting here with the same problem and want to use the 
adc of beaglebone black with qnx. But i cant figure out how it will work. 
Can help me? I read you did it and it works.

Best Regards
Sethary

Am Donnerstag, 12. März 2015 18:14:23 UTC+1 schrieb acheesehead:
>
> Got it!
>
> Steps 1 & 2 are not necessary. The rest is pretty straight-forward.
>
> On Wednesday, March 11, 2015 at 2:27:30 PM UTC-6, acheesehead wrote:
>>
>> I want to read the BBB ADC inputs using the QNX operating system. As no 
>> driver is provided in the QNX BSP, I need to write low-level C code to do 
>> this. I figure I need to do the following steps:
>>
>> 1. Put the pins in the right mux mode
>> 2. Turn on the clock to the ADC
>> 3. Set up the 'steps'
>> 4. Start a conversion sequence
>> 5. Wait for the sequence to end
>> 6. Read the sampled values
>>
>> I have not found any low-level code that does this. It would be greatly 
>> appreciated if anybody could provide example register-level code to do this.
>>
>> Thanks in advance!
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b90196ca-bd39-4b5d-9b30-f19fc8e1b4c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to