Other Parts Discussed in Thread: TMP116, , BOOSTXL-BASSENSORS
Tool/software: Code Composer Studio
With your help, we have gone to the simple 'empty' project for our own board that uses a smaller CC2640R2 package. I changed the unused and out of range GPIO pins in CC2640R2_LAUNCHXL.h to PIN_UNASSIGNED. The pin-reduced 'empty' project code still runs on the TI SDK board, and it will now download to our board.
But instead of running normally on our board, it hangs forever in PIN_close(). The problem is that this code is in one of the optimized lower level files called PINCC26XX.c, so we can't display the variables.
It hangs in this PIN_close function forever with our smaller package, and does not hang there with the TI board that has the larger CC2640R2 package.
void PIN_close(PIN_Handle handle) {
uint32_t i;
// No need for sequencing accesses to PIN_close()
// For each pin in port bitmask
while (handle->portMask) {
// Find lowest index pin
i = PIN_ctz(handle->portMask);
// Deallocate pin
PIN_remove(handle, i);
}
}
Thanks for your continuing help. With your help, we are making progress, even if it's a bit slow and painful!
I will try moving the source code to our project as was suggested in an earlier question so that we can see what it's doing, but it seems that it simply shouldn't hang there in an infinite loop no matter what sized package it's running on.
Dan Benkman
Innowave