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.

Bluetopia init/startup

Other Parts Discussed in Thread: MSP430F5438A

Hi StoneStreet support,

I working on MSP430+CC256x. I have some issues with the init of bluetopia.

At startup, I init the stack by calling "BSC_Initialize" and sometimes I get a valid id , sometimes not...

I don't understand why ... I played with the delay time before init UART ( in HCI_DriverInformation struct ) without success.

Note :

1) that the BTPS kernel is running before.

2) My HCI tranceiver is working because with the sample the init step work well.

Any idea ????

Thanks

Mikael

  • Hi Mikael,

    What baud rate are you at when you initialize? We would recommend coming up at the default baud rate and then increasing the baud rate. 

    Also as we mentioned in the other thread:  The MSP430F5438A that are not rev F or rev H have a known issue with the UART that may be more visible when you try higher baud rate. Can you try to get these revisions and try with those? It would be better in the longer run to use those revisions anyway so we strongly recommend it given your b/w requirement.

    Best Regards,

    Stonestreet One.

  • Thanks Stonestreet,

    It is exactly what I do. I start the init at 115200 bps and after that I increase the baudrate to 460800 bps.

    When the init crash I get -4 (HCI) return code.

    Just another question : Is it possible to work without control flow ? 

  • OK, I think my problem was caused by PMM module in MSP430. At startup I have configured PMM as follow:

    PMM_setVCore(__MSP430_BASEADDRESS_PMM__, PMM_CORE_LEVEL_1 );

    and I think it was an error. I replaced this call by :

    PMM_setVCore(__MSP430_BASEADDRESS_PMM__, PMM_CORE_LEVEL_3 );

    and now it seems to work.

    Stonestreet, you can close this ticket.

    Thanks

    Mikael