Hi ,
As title, MPC5775B SPI <=> MS33665A => port 0 => MS33771C x 6, Port 1 => MS33772C x 3(BJB)
1. driver or sample code for MS33665A on SD32 v2.1 MPC5775B platform?
2. TPL3 protocol is recommended for communication to MC33665A internal registers
(CADD = 0). Does MC33665A internal registers support TPL2 protocol communication?
3. BCC driver or sample code for MC33774 ?
Thanks for any help.
Best regards,
Mark
Hi Mark,
1. driver or sample code for MS33665A on SD32 v2.1 MPC5775B platform?
[A] Please download the SDK for S32DS from this link. The software is however for the MC33664, predecessor of the MC33665A. You need to adjust it for the MC33665A. The newer MC33665A is intended to be used with the latest BCCs (Battery Cell Controllers) MC33774. Unfortunately we do not have a software exactly for your combination.
2. TPL3 protocol is recommended for communication to MC33665A internal registers
(CADD = 0). Does MC33665A internal registers support TPL2 protocol communication?
[A] Yes, the MC33665A supports both TPL2 and TPL3 protocol. You can set each from four TPL ports either to TPL2 or TPL3 protocol. You can do it by changing the PROTOCOL bit in the SYS_PORTx_CFG registers. By default all ports are set to TPL3 protocol. Please refer to the MC33665A datasheet.
3. BCC driver or sample code for MC33774 ?
[A] For this please refer to the RD-HVBMSCT800BUN. You can use the Package Manager. It will download all the software for you. The software for the MC33774 is included in the software package. For description how to use the Package Manager, please refer to the file attached.
With Best Regards,
Jozef
Hi Jozef,
Much thanks for your detailed and quick reply.
Another question is what kind of TPL protocol to initial MC33665A internal registers in very beginning? TPL3 protocol ? why I asked this because BCC driver in my platform support TPL2 protocol but no TPL3 protocol , It seems like we have to implement TPL3 protocol to support MC33665A internal registers in my BCC driver. right?
Best regards,
Mark
Hi Mark,
to initiate (write to the registers) the MC33665A you don't do via TPL ports. But via SPI, CAN FD or UART interface, with which you communicate with your MCU. Please refer to the section 5.3 in the MC33665A datasheet. For description of the MC33665A startup, please refer to the section 5.1.
If you want to use SPI interface, please make sure, that you have selected correct MC33665A version. Please refer to the Table 2. in the MC33665A for full part numbers for individual MC33665A versions.
With Best Regards,
Jozef
Hi Jozef,
Thanks for your reply.
We use SPI interface to communicate MS33665A.
Initialization the MS33665A. example Write to SYS_SPI_CFG , only support TPL3 message or can we use TPL2 message via SPI to Write to SYS_SPI_CFG?
Best regards,
Mark
Hi Mark,
I apologize, I misunderstood you. You want to communicate with the BCC. In this case, it depends with which version of the BCCs you want to communicate. The older ones MC3377xB and MC3377xC support TPL2 protocol, the newer MC33775A and MC33774 support TPL3. You need to set the individual ports for TPL protocol according to the BCC requirements. Please refer to individual datasheets for the TPL protocol type.
With Best Regards,
Jozef
Hi Jozef,
It's my bad, my description was unclear and caused you to misunderstand.
I mean after power up the system, initial MC33775A internal register like SYS_PORT0_CFG
TPL2 or TPL3 message format should we use to communicate to MC33775A internal register via SPI interface.
(initial MC33775A internal register not to BCC driver).
Best regards,
Mark
Hi Mark,
for the MC33775A you need to use the TPL3 format. The MC33775A will not understand the TPL2 format.
With Best Regards,
Jozef
Hi Jozef,
We use MPC5775 to connect FRDM665SPIEVB and TPL port 0 to MC33771C.
I can read/write MC33665A internal register and config port 0 to TPL2, however, I cannot wakeup MC33771C via MC33665A . Previously, we use MC33774 INTB pin to wakeup MC33771C.
Don't hoe to wakeup MC33771C via MC33665A? any idea?
Thanks.
Mark