Troubleshooting FRDM33771B FRDM33664BEVB setup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Troubleshooting FRDM33771B FRDM33664BEVB setup

Jump to solution
1,357 Views
tobyjaffey
Contributor I

Hello,

We are attempting to use the FRDM33771B via TPL and FRDM33664BEVB from an STM32 microcontroller.
We are unable to get the device properly communicating and would like some help resolving the problem.

The software being used is from https://www.nxp.com/products/power-management/battery-management/battery-cell-controllers/14-channel... (BCC_SDK_SW/S32DS_Examples/BCC_S32K144_Monitoring_Diagnostics). The bcc_peripheries.c functions have been ported to STM32.

At startup, the software calls:

- BCC_SoftwareReset()
- BCC_Reg_WriteGlobal(drvConfig, BCC_REG_SYS_CFG1_ADDR, BCC_W_SOFT_RST_MASK);

The following bytes are sent over SPI to the transceiver (SPI master), 00 10 03 03 37
The same data (but each byte shifted by a bit) is received (SPI slave), 00 20 06 06 6e

Next, the software attempts to:

- BCC_AssignCid()
- BCC_Reg_Read(drvConfig, BCC_CID_UNASSIG, BCC_REG_INIT_ADDR, 1U, &readVal);

It sends the following bytes, 00 01 01 01 7a
However, it instructs the SPI slave that it expects to receive two blocks in response.
As with the previous call, we only observe one block being echoed back, which then causes a receive timeout.


Looking at the TPL RDTX_IN, RDTX_OUT pads on the FRDM33771B, we do see pulses - suggesting that data is being sent across TPL.
We also observe that the LED on the transceiver board stays on, suggesting that communications are active.

Can you please suggest how to debug further.

0 Kudos
Reply
1 Solution
1,243 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Toby,

we have an AN12084 "MC33771B/MC33772B programming guide", which can be downloaded from the MC33771B product page, under the Secure Files. 

JozefKozon_0-1687168318922.pngJozefKozon_1-1687168345261.png

JozefKozon_2-1687168368616.pngJozefKozon_3-1687168386153.pngJozefKozon_4-1687168406126.pngJozefKozon_5-1687168496499.png

There is a complete guideline for the MC3377xB BCCs (Battery Cell Controllers) initialization. To be able to download the confidential documents, you need to have a valid NDA (Non Disclosure Agreement) with NXP. I have checked our NDA database and I couldn't find your company (RINGTAIL SOFTWARE) in there. If you want to sign the NDA with NXP, please create a ticket here and an NXP representative for NDA matters will support you.

JozefKozon_6-1687168818011.png

With Best Regards,

Jozef

View solution in original post

0 Kudos
Reply
1 Reply
1,244 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Toby,

we have an AN12084 "MC33771B/MC33772B programming guide", which can be downloaded from the MC33771B product page, under the Secure Files. 

JozefKozon_0-1687168318922.pngJozefKozon_1-1687168345261.png

JozefKozon_2-1687168368616.pngJozefKozon_3-1687168386153.pngJozefKozon_4-1687168406126.pngJozefKozon_5-1687168496499.png

There is a complete guideline for the MC3377xB BCCs (Battery Cell Controllers) initialization. To be able to download the confidential documents, you need to have a valid NDA (Non Disclosure Agreement) with NXP. I have checked our NDA database and I couldn't find your company (RINGTAIL SOFTWARE) in there. If you want to sign the NDA with NXP, please create a ticket here and an NXP representative for NDA matters will support you.

JozefKozon_6-1687168818011.png

With Best Regards,

Jozef

0 Kudos
Reply