Hello, We are working on EZ430-RF2560T target board (
MSP430BT5190). What we want to achieve is to make this device discoverable by any mobile device with support of SSP bluetooth profile. We used the accelerometer code got from http://focus.ti.com/docs/toolsw/folders/print/mt-bt-sdk.html. After deploying the code to EZ430-RF2560T target board using EZ430U USB Debugging I/F Emulator Board, when we reset the device the blue LED starts blinking. . We changed the name of mobile to BlueMSP-DemoD915. When we try to search the device from the mobile using bluetooth it doesn't detect any bluetooth device. We defined sdk_display to use printf to show debug logs in "Terminal I/O" window.We found that function "xTaskCreate" in user_task.c returns 1 and prints log "unable to create user task".The flow of code goes as follows from xTaskCreate function call:-
1. First callback function user_task_routine is called. 2.In this function the control goes to "case: POWER_ON_RESET" in which function sdk_bluetooth_on() is called. 3.In function sdk_bluetooth_on() control goes to the basic function BT_bluetooth_on. 4. For this function BT_bluetooth_on the first callback function "sdk_hci_event_indication_callback" is executed but control never goes to the second callback function which is "sdk_bluetooth_on_complete". 5.In function sdk_bluetooth_on_complete,function "appl_bluetooth_on_complete_event_handler()" is called. 6. In function "appl_bluetooth_on_complete_event_handler()" , function "BT_hci_write_scan_enable(0x03)" is called which sets the device in bluetooth discovarable mode. 7. As callback function "sdk_bluetooth_on_complete" is never called, steps 5 and 6 are never executed and device doesn't come in discovarable mode. As per our understanding "Accelerometer Demo App" is the correct point to start with. But with the problems mentioned above, we are not able to make progress on it. Any pointers to solve the problem or better sample app might be helpful. Thanks in Advance. Ashwin and Peeyush.