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.

BQ79606A-Q1: Reverse Direction function of BQ79606

Part Number: BQ79606A-Q1

Please provide more detail information (see below questions) for Reverse Direction function of BQ79606, such as example case, scenarios, docs, sample code.

Q1: Dose the Reverse Direction function can be performed without an auto-addressing ahead (ex: after a wakeup command)?

Q2: Does that mean whatever the break link between the two devices, the Reverse Direction function is able to re-connect all devices by the function performed?

  • Hi Ake,

    You can download example code from bq79606a-q1 page.

    Q1:auto-addressing is still needed for reverse function since all device ID should be re-configured.

    Q2:yes, if physical break happened between two devices, by normal direction and reverse direction, MCU can get data from all devices.

    MCU just needs to perform two times of auto-addressing since these two direction can not be in parallel.

    More details can be found from Ring section in DS.

    Thanks!

    Andy

  • Hi Andy,

    To the Q2 scenario, does the two times of auto-addressing require to be performed before each broadcast command, or can just switch direction on base device for link both direction devices?

    Thanks,

    Elvis

  • Hi Elvis,

    All devices should switch direction, not just base.

  • Hi Andy,

    Understand, but the question is that after the two times of auto-addressing how to broadcast read data continuously from both direction device?


    1. Performing the two times of auto-addressing each time when broadcast read data from both direction device.


    2. Performing the two times of auto-addressing just once and then switch direction via base device when broadcast read data from both direction device.

    Thanks,

    Elvis

  • Hi Elvis,

    It is no different for following operation such as broadcast read data no matter it is north direction or it is south direction.

    auto addressing in north direction, then broadcast read data;

    then auto addressing in south direction, then broadcast read data;

    You need two times broadcast read to get all data from all devices.

    Everything is in DS.

    Thanks!

    Andy

  • Hi Andy

     One more question of this, so that is mean MCU no need to preform auto-addressing every time? or option?

    Ex: 

    First time:

    Step-1. North direction: Auto addressing & broadcast read data

    Step-2. south direction: Auto addressing & broadcast read data

    Second time:

    Case-1 (With Auto addressing)

    Step-1A. North direction: Auto addressing & broadcast read data

    Step-2A. south direction: Auto addressing & broadcast read data

    or

    Case-2 (Without Auto addressing)

    Step-1B. North direction: broadcast read data

    Step-2B. south direction: broadcast read data

     

    Q2. After All, how to confirm the Address & location is right? (As case-2 in following)

    Ex: 

    Case-1

    location : Base - stack(1) - stack(2)- stack(3)

    & ID: 00 - 01 - 02 - 03 

    Case-2

    location : Base - stack(1) - stack(2)- stack(3)

    & ID: 00 - 01 - 03 - 02 

    them have same Qty. of cells / NTC, (Not include GPIO pin)

  • Hi Robin,

    I recommend you follow Case 1 you described. Each time you switch direction you need to set the sequential address and then configure the devices as base, stack, or top of stack depending on their position. This is needed because when you switch directions, what was previously your 1st stack device, now becomes your top of stack. 

    Regards,

    Leslie

  • Hi

    How about Q2?

  • Hi Robin,

    Considering a setup where you have B0-S1-S2-S3 connected in north direction and S3 connected through the ring to B0 (I'm using these names to indicated the physical position of the boards, not the address):

    • Following Case 1 you described, the addresses read back in north direction will be 0 (for B0), 1 (for S1), 2 (for S2) and 3 (for S3). In this case, S3 is the top of stack.
    • When you switch direction to south you will again autoaddress, so when you read back the addresses in south direction you will read 0 (for B0), 1 (for S3), 2 (for S2), 3 (for S1). In this case, S1 becomes the top of stack.

    Regards,

    Leslie

  • Hi

    We understood  it, but how to confirm it?

    -------------------

    Following Case 1 you described,

    the addresses read back in north direction will be 0 (for B0), 1 (for S1), 2 (for S2) and 3 (for S3).

    In this case, S3 is the top of stack.

    -------------------

    Base on <north direction >:

    Ideal:  B0=0, S1=1, S2=2,  S3=3

    How to know the ID is right? Not  B0=0, S1=1, S2=3,  S3=2

    If we auto-addressing every time, how to ensure the address of bq79606A always right by software?

    We can not always manual measure cell-voltage/NTC to confirm the ID by DVM.

  • Hi Robin,

    Section 1.1.1 of this application note describes the auto-addressing process in detail. Please look through this section and let us know if you still have questions.

    Best Regards,