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.

BQ76942: EVM2400 with SPI bus

Part Number: BQ76942
Other Parts Discussed in Thread: BQSTUDIO, EV2400,

Hy team,

Can I use EV2400 interface module with bqStudio to manage my BQ7694204 (factory configured to SPI) chip directly via SPI bus?

From the EV2400 manual it looks like it supports HDQ, I2C and SMBus, but there is SPI config option in bqStudio.

Thanks,

Attila

  • Hi Attila,

    Yes, you can use the EV2400 to interface with the BQ7694204. SPI support was added in the latest firmware (download and install v032 of the EV2400 firmware). You should not need to change any settings inside the SPI Master Control panel - the only reason would be is if you reconfigured the SPI settings on the BQ7694204 device (i.e. disabled CRC or changed the CPOL/CPHA bits).

    If you are using a stand-alone EV2400 module, you will need to connect the SPI signals to the correct pins on the back of the module. Here is the diagram:

    Best regards,

    Matt

  • Matt,

    From the diagram it looks like I should ground the SPI STE pin on the EV2400 module.  Is that correct?  Also, how should the CS pin on my BQ7694204 board be connected?

    Thanks,

    Richard

  • Hi Richard,

    Sorry, the diagram is a little confusing. Here is a table showing the connections a little more clearly. The GND (pin 21 of J6) should connect to PACK- on the board. 

    Signal MCU Port EV2400 J6 Pin number
    SPI_CS P3.2 22
    SPI_CLK P2.7 20
    SPI_MOSI P3.3 19
    SPI_MISO P3.4 18
    GND   21

    Best regards,

    Matt

  • Thanks Matt.  I apologize for being a bit dense but one more question. I'm connecting the EV2400 directly to my board which doesn't have a built-in microcontroller.  So I'm connecting:

      SPI               My board BQ7694204           EV2400 J6

    MOSI               HDQ pin28                          pin 19

    MISO               SDA pin27                           pin 18

    CLK                 SCL pin26                           pin 20

    CS                    CFETOFF pin29                  pin 22

    My question is : is it correct to connect the EV2400 CS pin (pin 22) to the BQ7694204 pin 29 (CFETOFF)?

    Is there a schematic or diagram on the TI website that shows the correct way to connect the chip via SPI?

    Thanks again,

    Richard

  • Yes, these connections are correct. If you download the BQ76942 EVM User Guide, page 2 shows the connections for the SPI signals to the device pins.

    Best regards,

    Matt

  • Dear Matt,

    I have just received the EV2400 HPA500 interface. I conneccted directly to my BQ7694204 chip as described above more times, but it does not works. I have updated the firmware to V0.32 and also bqStudio to 1.3.104 Build 1. Observing the signals with scope, the EV2400 interface never provide signals like an SPI master should. Should I connect an 5Vdc adapter? Any idea?

    Thanks,

    Attila

  • Dear Matt,

    No one should break his head about this issue.

    The problem is that the positioning coutout of PORT5 is on the wrong side at EV2400.

    So the connector is 180° rotated. (Pin1 becomes Pin24, Pin2 becomes Pin23 and so on...)

    The short solution is connecting the SPI signals 180°rotated

  • Hy Matt,

    I addressed my last comment to wrong place...

    Issue was:

    Dear Matt,

    I have just received the EV2400 HPA500 interface. I conneccted directly to my BQ7694204 chip as described above more times, but it does not works. I have updated the firmware to V0.32 and also bqStudio to 1.3.104 Build 1. Observing the signals with scope, the EV2400 interface never provide signals like an SPI master should. Should I connect an 5Vdc adapter? Any idea?

    Thanks,

    Attila

    Dear Matt,

    No one should break his head about this issue.

    The problem is that the positioning coutout of PORT5 is on the wrong side at EV2400.

    So the connector is 180° rotated. (Pin1 becomes Pin24, Pin2 becomes Pin23 and so on...)

    The short solution is connecting the SPI signals 180°rotated

    Don't you think is it a design/production malfunction?