Other Parts Discussed in Thread: CC2651R3, CC2642R, CC2652R, CC2652RB
hardware interrupt with rcosc enabled
runs fine and advertises with it commented out, OAD project.. not sure if there is a quick fix for this..
custom hardware
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 Alexander,
Could you please remind us which SDK version you are using so an engineer can pick the thread?
Could you explain what each screenshot is showing?
Could you also specify whether you have tried to identify the issue using the debugging guide?
Could you specify if you getting it running on a TI Launchpad?
Regards,
SimpleLink CC2640R2 SDK 5_30_00_03
the first screenshot shows HWI when the Rcosc is uncommented, the second shows the program paused with it unenabled with HWI, at which point it does advertise and is connectable
I have tried to identify the issue there.
the behaviour is exactly the same on the launchpad, the empty project runs fine there also, but unable to create an OAD image there
Hi Alexander,
Could you please explain what you mean by "Rcosc is uncommented"? How did you enable the the use of the RCOSC? Can you confirm you have reviewed this piece of documentation?
In order to help identifying the issue, could you please try to
- identify the type of error raised using the guidance to decipher CPU exceptions (see https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_5_30_00_03/docs/blestack/ble_user_guide/html/ble-stack-3.x-guide/debugging-index.html#deciphering-cpu-exceptions)
- identify the function raising the error. As the error seems to be raised in ROM, you may have to load the TIRTOS symbols as explained here: https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_5_30_00_03/docs/blestack/ble_user_guide/html/ble-stack-3.x-guide/debugging-index.html#import-in-ccs
- use some breakpoints to understand when the exception is reached https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_5_30_00_03/docs/blestack/ble_user_guide/html/ble-stack-3.x-guide/debugging-index.html#breakpoints
- use the ROV to see if you can gather any other piece of useful information https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_5_30_00_03/docs/blestack/ble_user_guide/html/ble-stack-3.x-guide/debugging-index.html#ti-rtos-object-viewer
I hope this will help,
For information, I'll be out of the office until mid-January. I have then asked a colleague to pick up this thread and continue providing support. Thank you for your comprehension.
Best regards,
Hi Alexander,
I will try to help you out. I have done what you are trying to do which is to configure the CC2640R2F Off Chip OAD 32.768 Khz Crystal less. I did without success. There was a discussion about this long time ago, I can't remember exactly. The situation is the the simple peripheral stack library project you can modify easily 32.768 Crystal less according to the guide. However, the simple peripheral off chip oad can not be configured for 32.768 Khz Crystal less operation. There is no guide. Trying to modify the simple peripheral off chip oad example program for 32.768 Khz crystal less, you probably would encounter problem after problem.
So, the alternate solution to your problem is to shift your product development using CC26x2R1 Launchpad. You can set the Simple Peripheral Off Chip OAD example program for 32.768 Khz Crystal less operation. You just need to set predefine symbol USE_RCOSC.
-kel
thanks so much for this response! I don't suppose you know if the pins and footprint are the same? Ive seen a firmware porting guide previously, appreciate your help
thanks so much for this response! I don't suppose you know if the pins and footprint are the same?
You need to make sure yourself by reviewing the design files. For firmware porting CC2640R2F to CC26x2R1, you can use a CC26x2R1 example program as base like simple peripheral off chip oad then port your code.
-kel
yeah thanks i have and the pins are the same for the package that is too large for our board, do you have any experience with the
Hi Alexander,
I checked in the SDK, there is no OAD example for CC2651R3, see below.
There is off chip OAD example program for CC26X2R1, which are CC2652R and CC2642R. Both are 7x7mm package from what I know.
There is off chip OAD example for the CC2652RB. CC2652RB do not need 32Khz because it uses BAW technology. Package size is 7x7mm. I have used CC2652RB without 32Khz, but I have not tested this very well so I am not yet 100% convinced this works. But that is just my opinion.
If you use CC2642R or CC2652R 7x7mm package you can use on chip OAD which does not require external flash. Making the PCB board smaller. CC2642R and CC252R have bigger flash and ram compared to CC2640R2F. So you do not need to worry about running out of flash and ram space.
-kel
interesting thanks so much for this will have to have a go at fitting a 7x7mm package on then I guess!
Much appreciated