Hello,
I have a battery with 14 cells equipped with a MC3377x using TPL communication.
Can I use the MC33664 component with a raspberry pi zith SPI to read the 14 cells voltages ?
Thanks in advance,
Yan
Hello,
I have a new question to complet previous one.
If I have 2 arduino, Can I use one, configured as a master, to send the message "READ" to the MC33664 (using SCLK_TX, CSB_TX,
DATA_TX I/O)
and use another Arduino, configured as a slave, to get the response from the MC33664 (using CLK_RX, CSB_RX, DATA_RX I/O) ?
Yes, that's also possible.
So I will try with Arduino instead.
I'm not very good with programming in this field, where can I find (or can you provide) a basic code to use with arduino for reading cells voltages only?
thanks a lot again
We provide generic driver written in C which can be ported to any suitable 32bit microcontroller. It was tested on S32K144 microcontroller. You can find the software package on this page:
… in section Software – Secure files.
“MC33771B&MC33772B Battery Cell Controllers - Software Driver”
Direct link:
https://www.nxp.com/webapp/sd/collateral/1644518515884709073509?version=1.1
In case you do not have an access:
https://www.nxp.com/docs/en/user-guide/nxp-secure-access-rights-registration.pdf
Thanks a lot sir,
I read somewhere that the Raspberry pi can't be configured as a slave (about SPI I mean), is it a problem ?
I only want to read cells voltages
Yes, that will be a problem. You need SPI slave to read data from MC33664.
https://community.nxp.com/t5/S32K/MC33664-with-single-SPI-port-on-MCU/m-p/1450883#M15205
Regards,
Lukas
Hi Yan,
yes, you can use any microcontroller with two SPI modules and with 3.3V / 5V compatible logic thresholds.
Regards,
Lukas