Hello,
I am trying to write my own sample project after successfully running several of the SS1 examples on the EXP430f5438A with the C256x prototype board.
I cannot get as far as initializing the stack when writing my own application. I have searched many of the examples and the initialization routine is the same for all of them. Here is my stripped down version:
void main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer HAL_ConfigureHardware(); /* Initialize the Stack */ HCI_DriverInformation_t HCI_DriverInformation; BTPS_Initialization_t BTPS_Initialization; HCI_DRIVER_SET_COMM_INFORMATION((&HCI_DriverInformation), 1, 115200, cpHCILL_RTS_CTS); HCI_DriverInformation.DriverInformation.COMMDriverInformation.InitializationDelay = 100; BTPS_Initialization.GetTickCountCallback = GetTickCallback; BTPS_Initialization.MessageOutputCallback = DisplayCallback; BTPS_Init((void *) &BTPS_Initialization); int Result = BSC_Initialize((&HCI_DriverInformation), 0); if (Result > 0) { // if successful ... }
I would show more code but this is all that is necessary. Result = -14 when return from BSC_Initialize. Can anyone help determine what I may be excluding from my init code?
thanks,
Mark Gill