Greetings !!
I'm trying to perform model based development with S32K144EVB and MC33771BTPL (MC33664 as mediator). The FRDM33771BTPLEVB is connected with a 12 cell battery module.
Hardware used:
MCU - S32K144EVB
SPI to TPL - FRDM33664BEVB
AFE - FRDM33771BTPLEVB
The following is the pin configuration between MCU and MC33664:
MASTER | S32K144EVB | Pins | FRDM33664BEVB | Pins |
SIN | PTD1 | J6-02 | N/A | N/A |
SOUT | PTB16 | J4-12 | DATA-TX | J2-08 |
SCK | PTB14 | J4-08 | SCLK-TX | J1-09 |
PCS0 | PTD3 | J1-14 | CSB-TX | J1-14 |
SLAVE | S32K144EVB | Pins | FRDM33664BEVB | Pins |
SIN | PTB3 | J2-09 | DATA-RX | J2-19 |
SOUT | PTB4 | J2-07 | N/A | N/A |
SCK | PTB2 | J2-11 | SCLK-RX | J9-07 |
PCS0 | PTB5 | J2-05 | CSB-RX | J9-05 |
The FRDM33664BEVB is connected to FRDM33771BTPLEVB via twisted pair wire
MATLAB Simulink MBDT is used. I followed the example and made changes for use with FRDM33771BTPLEVB
I see the LED blinking in FRDM33771BTPLEVB but the data in FREEMASTER is 0 (pack voltage). The status is showing 8.
I feel that I'm making some mistake in the pin connections. Kindly help. Also what does the status trying to convey.
Other pins | S32K144EVB | Pins | FRDM33664BEVB | Pins |
5V | J3-09 | VCC | J9-10 | |
5V | J3-09 | VCCIO | J9-08 | |
GND | J3-11 | GND | J9-12 | |
PTB0 | J4-05 | EN | J2-18 | |
PTB1 | J4-07 | INTB | J1-8 |
Other pins are connected as above.