sensor control studio
我用sensor control studio 中的 ADC data longger例程 生成代码后在 simpleBLEpherial.c 程序中调用 想获取cc2640 芯片的AD 数据 但是未能成功,不知道是哪里出现问题(sensor control studio 不熟悉)。我是根据 提供的 adc_data_logger 例程来配置的。
jingyuan,
sensor control studio的安装目录下有指导文档。本质上到最后是在simpleBLEPeripheral 里再创建一个task去处理。
ADC你可以参考一下这个帖子: http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/85801.aspx?pi2132219853=1
解决问题了,谢谢
Hi jingyuan
你利用这个工具配置时,是不是就改一下IO口就可以用了啊?
你好!
我利用Sensor Controller Studio这个工具打开adc_data_logger这个工程,我还没有改动,下载到开发板,能正常工作,但是获取到的数据是在看不懂
55555555555555555555655
92631187161711119151014
111021659856491014512
911101241892062651511
55555555555555556555555
55555556555555555555555
中间变化大是用手按住LIGHT SENSOR传感器的,看不懂这些数据代表什么?
你好,问一下,scs产生的文件是如何导入到iar工程中去的呢。
zwq,
Note: How to integrate SCS drivers into an Application
It is fairly easy to integrate a sensor controller application with your main application project. To do this you must
simply generate the sensor controller drivers and copy the following files to your main application project (TI-RTOS
based):
o scif.c
o scif.h
o scif_framework.c
o scif_framework.h
o scif_osal_tirtos.c (scif_osal_none.c when running standalone (no operating system))
o scif_osal_tirtos.h (scif_osal_none.h when running standalone (no operating system))
For fast access to the files, push the button on the bottom right in the Code Generator pane to view the output
directory which contains the files mentioned in the list above. Then you will need to merge content from
main_tirtos.c or main.c from the examples that come with SCS into your application main file to initialize and set
up the required configuration for the sensor controller task.
嗯嗯,好的,感谢YAN大!
你好,我也在做这个,遇到了些问题。可以将你的代码分享一下吗?谢谢!1026894245@qq.com
http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/102585.aspx
Y大神帮看一下这个帖,关于sensor control 的,不胜感激