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.

battery reconnecting problem

Other Parts Discussed in Thread: MSP430F5437A, MSP430F5438A, CC2564

Hi,

I am using MSP430F5437A  for Bluetooth connectivity application.This is a battery operated device. I followed the below steps,

1) Loaded the code with battery connected to the device..
2)Removed the J TAG, 
3) Bluetooth stack opening, and getting the Bluetooth ID in the discoverable list of phone.
4) tried removing the battery and reconnecting battery again (like a power on Reset) 
5) In the above case observation, Code executing with stack opening and other LED indications, but device ID not coming in the discoverable list of phone.
 

I am able to do all these in the release mode if  i am  dumping the code with battery connected but again reconnecting the battery is a problem.

  • Hi,

    I am assuming that you are referring to a remote device not able to discover the CC256x device. Is this correct?
    Are you setting the SetDiscoverabilityMode in your app?

    Regards,
    Gigi Joseph.

  • Hi,

    Yes,SetDiscoverablilityMode is always set in the app, when we reprogram the board with battery connected. Device can be detected by the phone bluetooth and can be paired successfully.

    Problem is only when we connect and reconnect the battery device will not be discovered.

    We need to reprogram every time whenever battery is reconnected.

    regards,

    Anitha M

  • Hi,

    I think there should not be any problem form the software if it is initializing properly.

    Please check the hardware, also see http://e2e.ti.com/support/wireless_connectivity/f/660/p/336962/1187094.aspx#1187094 

  • Hi,

    When programmed with SPP demo code in the evaluation board MSP430F5438A with bluetooth module CC256X ,
    Stack was opening and the device was discoverable upon recoonecting the battery.

    When the same code was ported and tested in our board ,The stack was opening and the device was not discoverable in the mobile phone upon battery recoonection.
  • Hi,

    Steps followed with the Eval Board:-

    1. Connect the JTAG and the power USB with the battery connected
    2. Program the device with the SPP demo code.
    3. Run the code and check for stack opening and discoverability.
    4. Remove the JTAG, reconnect the battery and check for stack opening and discoverability.

    observation with the Eval board:-

    stack was opening and device was discoverable upon battery reconnection i.e once I remove the battery and reconnect it back.

    Steps followed with our board:-

    1. Connect the JTAG with the battery connected and program the device with the same code(SPP demo code)
    2. Run the code and check for stack opening and discoverability of the device in the mobile phone.
    3. Remove the JTAG and reconnect the battery i.e remove the battery and connect it back.
    4. check for stack opening and discoverability of the device in the mobile phone.

    Observations with the our board:-

    1. With JTAG and battery connected upon programming the stack is opening and the device is dicoverable in the mobile phone.
    2. Once the JTAG is removed and the battery is reconnected i.e battery removed and connected back, stack is opening but the device is not discoverable in the mobile phone.

    We need to re-program our board for the device to work properly i.e for stack opening and the device to be  discoverable in the phone.

     

     

  • Hi,

    When you are using the JTAG, are you powering the device with the JTAG or the battery? Also, what kind of batteries are you using?

    ~Miguel

  • Hi,
     
     
    The device is  powered - on  using JTAG while dumping the code to the device with battery connected  and on the Fly once we are debugging we are removing the JTAG then the device will continue working on the battery power.
     
    The battery which we are using is Lithium- ion battery.
     
    Regards,
    Anitha M
  • Hi Anitha,
    Perhaps the battery is not able to supply enough current. But it would be strange that a Li-Ion battery can handle it. Could you measure current and voltage in the MSP430 and CC2564?
    ~Miguel
  • Hi,

    More Observations on Battery reconnection issue:-

    1. With JTAG connected:-
    • Program the device
    • Bluetooth is initialized successfully and paired with the phone.
    • Power OFF the device and remove the battery without removing the JTAG.
    • Connect the battery and follow the above steps

    In the above case, when the device is powered off and battery is removed and connected back, the device is working fine.

    2. Without connecting the JTAG:-

    • Program the device and remove the JTAG.
    • Bluetooth is initialized successfully and paired with the phone.
    • Power OFF the device and remove the battery.
    • Connect the battery back and follow the above steps.

    In this case, when the device is powered off and battery is removed and connected back, Stack is opening but the device is not discoverable by the phone.

     

  • Hi,

    Could you measure the current and voltages at the CC2564?

    ~Miguel

  • Hi,

    Could you provide the power up and power down sequences as shown in here: http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Required_Voltage_Rail_and_Signal_Sequence ?

    Regards,

    Miguel