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.

BQ76952EVM: BQ76952EVM Problem

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

:  I refered to page 23 of EVM instruction manual for the following steps, but still unable to complete the communication switching with the Bq studio:

Firstoperate Bq studio as bellow like this

set_cfgupdat

comm type

0x0f

Reg0

0x01

Reg12

0x0D

Spi config

0x60

swap_to-SPI

 

SecondChange the jumper position so that it meets the following conditionsSPI is not working at this time(SPI works in 00 mode)

Method 1

CS

3.3

CLK

0

MISO

3.3

MOSI

 

Method 2. Referring to the jumper connection mode of forum link, it is still unable to complete the I2C conversion to SPI communication mode

Neither of the above methods can complete the conversion

  Now,I would like to know,:

1:  What can I do to complete the conversion? What are the specific steps?

 2:  Whether bqstudio SPI version 0.32 matches EVB firmware, and if not, whether it will cause related problems?

 3:  Whether the external SPI needs to change the jumper, where it changes, and what is the basis?

 

Sincerely ,thanks!

  • Hi,

    I am not sure I understand the table under Method 1. There should be 4 jumpers to connect the SPI to the on-board MCU. 

    You can check the firmware version of the on-board EV2400 in the BQStudio Dashboard (left side of screen). I recommend restarting BQStudio after sending the SWAP_TO_SPI command. 

    However, there is one more very important point. The SWAP_TO_SPI() command changes the Comm Type to SPI with CRC (Comm Type = 0x10). If you want the device to use the Comm Type you selected (0x0F) then you should send the SWAP_COMM_MODE() command instead.

    Best regards,

    Matt

  •  

    I'm not sure how to configure the following jumpers. sluuc33a-BQ76952EVM User's Guide Pag23 I hope you can tell me clearly that the working mode of SPI is 00, which was the default I2C mode before

    In addition, if bq76952evb board is used as SPI slave board and SPI communication is used between slave board and main board, is I2C mode communication possible between EVB and BQ studio

  • Hi Xiaofu,

    Sorry, it looks like these jumper numbers in the EVM User Guide are from the BQ76942 EVM by mistake. Here are the correct jumper numbers: Set J13 and J16 to the lower position for SPI (to upper position for I2C). Install J19 (left position) for SPI_CLK and install J10.

    For I2C, set J13 and J16 to the upper position. 

    BQStudio can communicate with the EVM in I2C, SPI, or HDQ mode. 

    Best regards,

    Matt