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.
Hi Expert,
I want to confirm with you about the MSPI mode in BQ79371-q1.
You can see the structure shown below.
Question:
1. We can see that BQ73731 need to communicate with ucc5871 using MSPI. MSPI has 2 mode, base mode and stack mode. Only stack mode could be used on the mode right? If based mode could be used, could we confugure register to transfer the Base mode to stack mode? i didn't find the register to transfer
2. If it is convenient for you, would you mind sharing the register configuration like pseudo-code with me?
3. Is there any suggestion on the structure?
Kind Regards
Imelda
Hi Imelda,
Today is the 4th of July US Holiday, so the team is out of office. We will get back to you after the holiday.
Regards,
Arelis G. Guerrero
Hello Imelda,
1. We can see that BQ73731 need to communicate with ucc5871 using MSPI. MSPI has 2 mode, base mode and stack mode. Only stack mode could be used on the mode right? If based mode could be used, could we configure register to transfer the Base mode to stack mode? I didn't find the register to transfer
Since the BQ79731 in your schematic is being used as a stacked device, you will want to configure the register to be in stack mode.
2. If it is convenient for you, would you mind sharing the register configuration like pseudo-code with me?
To write to the external SPI device, consider some of the following pseudo code and registers.
[MSPI_EN] = 1
Write to MSPI_CTRL register to configure SPI communication.
Write desired data
Select the MSPI peripheral using SS_ADDR and execute the MSPI write action using
[SS_ADDR], [SS_CTRL], and [MSPI_GO]
3. Is there any suggestion on the structure?
I don’t have any suggestions to the structure. You are communicating to a base device that has stacked devices with an SPI peripheral. It looks to be in the correct configuration.
Hope this helps, if you have more questions or this revolves your issue let me know.
Best,
Quentin