Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: CC2540 - reading the ADC

$
0
0

Hi greenja,
1. With respect to the ADC port pins they have a mapping in the documentation with that of cc2540. I have set everything right but i am getting nothing. Till now i have only been able to use the register to get the raw ADC data. So now i know that the module is working but the code is not. I have a lot of sample code form bluradios and TI.
They don't really have any examples for reading the battery voltage and what not!! the IOS and PC GUI too don't know of anything like that. I used the code from the Hal_adc to read the ADCL and ADCH just to see the values and know if the module is working. If there are any more suggestion u can give it will be much appreciated.

2. The next thing i want to do it is send the bogus ADC data to the dongle. Bluradios has data streaming profile called BRSP. My problem is i don't know how the data am seeing on the hyperterminal(ADC) can be sent to to the dongle when they are connected. I don't know if i shd just write it to the to comm the dongle is connected or not. Also if i want to use the TI way of sending the data from the hyperterminal am little bit confused on how the output can be fed in att and how it becomes a characteristic value to be sent.???

3. The bluetooth Dongle from bluradios uses AT commands to communicate with the module. I planning on using PC utility on control the dongle programmatically using C#. Do u know any source codes for this or any examples that are available??

Any input will much appreciate.

thank you.
Joseph.


Viewing all articles
Browse latest Browse all 116964

Trending Articles



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