Other Parts Discussed in Thread: CC2640, ,
I try to run project zero for my CC2650MODA. When I build stack it goes well after that when I build the app it shows errors in the stack.
These are the errors.
Can anyone help me in fixing it?
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.
Hi,
As Yikai mentioned, can you verify if you are able to build the simple_peripheral example? I would recommend downloading and installing the latest version of the BLE-STACK-2-X SDK if you do not have the latest one already. I would recommend following the process detailed in section 2.6.3 Code Composer Studio of the SWRU393_CC2640_BLE_Software_Developer's_Guide.pdf available in the docs folder of the SDK.
Best Regards,
Jan
I would suggest you to remove CCS and BLE stack and reinstall them to see if you can build default simple_peripheral example successfully.
It is working now, but the problem is I don't see it on my cell phone in the "simple link starter" App. Also, my board is not advertizing, I see the Red LED on, Is it OK?
Like this also I don't see the device in my mobile phone using the simple link starter. which I used to see before
Do you mean you build and download default simple_peripheral example into CC2650MODA? If so, it is normal to see it doesn’t work. The default simple_peripheral example is for LAUNCHXL-CC2650. Please test it and make sure it works on LAUNCHXL-CC2650 first. For CC2650MODA, I had suggested you to refer to https://www.ti.com/lit/an/swra534a/swra534a.pdf to modify simple_peripheral to make it work.
I use cc2650 boosterpack with cc2650 LAUNCHXL. What pin mapping should I use then?
I started with a simple_peripheral example for Launchxl-cc2650 with boosterPack. I copied the task code in the picture into main.c I see these errors
How to fix it?
Why do you put the SimpleBLEPeripheral_createTask function implementation inside main function like this.I don't mean to lecture but it's very fundamental skill of C programming language. I would suggest you to study how to do C programming first.
Though I don't know much about C programming. I was following the swru393 document section 3.3.1. Can you let me know what else I should learn first rather than C to be able to work on TI products? Also, can you explain a little how to create a task?
SimpleBLEPeripheral_createTask is implemented in simple_peripheral.c. Section 3.3.1 of swru393 just elaborate the implementation and not a guide to do it step-by-step. To learn fundamental C programming skill, I think you can Google it to get lots of resources.
I have a project, I only need to implement that which was used to be working well previously. Now when I import that project in ccs it contains a lot of error. can you help me to implement that project?
You had replied "It is working now". Doesn't this mean that you can import default simple_peripheral example into CCS to build it successfully?
I want to implement another project for Bluetooth transceiver when I imported that project it cantains alot of errors. So you recommended implementing a simple-peripheral example first. I implement simple-peripheral and revised the pin mapping according to cc2650MODA, it is implemented successfully. But my real aim was to implement my own transceiver project which I am still unable to do.
Since you can revise the pin mapping according to cc2650MODA based on simple_peripheral example, why don't you work on this project directly?
I am not sure how to convert simple-peripheral for my purpose. Basically, I need a transceiver that can receive and send data. I need to download it into my custom cc2650MODA. When I build it contains an error. can you analyze it for the error?
I am sharing the google link of the files
I am not sure, Someone else has built it. I just need to implement it for my purpose. I have all the circuit designs If you need that?
I don't think it's good idea to get project from someone and use it as base. Why do you insist using those project for your purpose?
Because this part is exactly the same in my research. First I have to implement it and then I can move forward to another fabrication part.
Your reference examples, such as WirelessTransceiver_stack, contain some none-existed referred folder "C:\TI\simplelink\examples\ble_examples_2_02_extra\examples\cc2650lp\spp_ble_client\ccs\stack". You need to find and put those related folder/files back into your desktop to make it.
Does it relates to other two i.e ProjectZero or WPS?
I mean the transceiver project has to collect data from WPS. Do they need to be built together? or do they work closely?
So they need to be built separately? If I don't have that referred folder How can I implement this project? I mean is there any alternative way to implement the same project considering the provided data/resources?
For your reference, I can build your WirelessTransceiver_stack and WirelessTransceiver_InSituCal_LP_Release successfully with the following steps.
1. install ble_sdk_2_02_01_18
2. download https://github.com/ti-simplelink/ble_examples/tree/ble_examples-2.2 and put those folders/files under C:\ti\simplelink\ble_sdk_2_02_01_18.
3. copy I2SCC26XX.h/I2SCC26XX.c from C:\ti\simplelink\ble_sdk_2_02_01_18\src\util\audio_codec to C:\ti\simplelink\ble_sdk_2_02_01_18\src\boards\CC2650_LAUNCHXL
4.revise PROJECT_IMPORT_LOC to C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650lp\spp_ble_client\ccs\stack
I repeated the first three steps. For the 4th step, I wonder if I can edit the path by "C:\Users\C2U Project\Downloads\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\spp_ble_client\ccs\stack"
because analyzing the directory I suppose it can be the same file. What is your opinion?
However even then I am getting the following errors
For the 4th step, I wonder if I can edit the path by "C:\Users\C2U Project\Downloads\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\spp_ble_client\ccs\stack"
I am sorry about pasting the wrong directory. I mean can I use this directory "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650lp\spp_ble_client\ccs\stack" instead of "C:\TI\simplelink\examples\ble_examples_2_02_extra\examples\cc2650lp\spp_ble_client\ccs\stack" ?
But Still, I have errors doing the same steps. Can you please tell we where I am doing it wrong ?
Stack error
No idea why you still have link issue. Maybe try also install