2025-01-08 6:53 PM
Hello,
I am currently working with the STEVAL-L99615C evaluation kit and the Nucleo G071RB microcontroller board. My goal is to set up a LabVIEW program that can:
1. Adjust the output voltages of power supplies to simulate real battery cells.
2. Read data measured by the evaluation kit (e.g., cell voltages).
For this, I need to learn the basics of communication with the evaluation kit, such as reading and writing to registers (e.g., reading VCELL1_MEAS from register 0x04).
Steps Taken So Far
1. I successfully connected the evaluation kit to the provided STSW-L99615C GUI, and it works as expected for executing scripts and reading data.
2. I attempted manual serial communication with the Nucleo G071RB using PuTTY:
Port Settings:
Baud Rate: 9600 (also tried 115200)
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None
Commands Attempted:
READ 0x04
READ 4
READ 4\n
READ 0x04\n
However, I did not receive any response from the board in PuTTY. Additionally, I observed that my keystrokes were not echoed, so I enabled local echo, but it still didn't resolve the issue.
Request for Assistance
Could you please assist with the following:
1. What is the correct command syntax for reading registers via serial communication?
2. Is there a specific protocol or handshake required before sending commands?
3. Are there any firmware configurations or prerequisites to enable manual serial communication?
4. Should I be using any particular baud rate or terminal settings to communicate with the kit?
Any guidance, documentation, or examples would be greatly appreciated.
Thank you for your time and support.
Best regards,
Jan Horak
Solved! Go to Solution.
2025-02-02 4:16 AM
I have found solution to this. I am copying commands in raw data that i get from L9961 DEMO app and then I send them throught labview as HEX numbers and it works. I am still wondering if there is more simple solution ? Baud rate is 11520.
2025-02-02 4:16 AM
I have found solution to this. I am copying commands in raw data that i get from L9961 DEMO app and then I send them throught labview as HEX numbers and it works. I am still wondering if there is more simple solution ? Baud rate is 11520.
2026-04-04 12:28 PM
can anyone please :folded_hands: help me out..i am new to this L9961 chip i connected chip to esp8266 i2c got add 0x49 but i cant get voltages or anything from chip n 0x00 register gives 0x41 always.i did put 5v to pin 15 n also high to pin 14 n gnd pin 1-27-13 also n did short c5 c4 for 4s pack n did wiring for cells as per datasheet n tested VB to both external vcc 5v n pack 14v n also connected ntc,pin 11 high but nothing i just want a simple code to get voltages of cells ,current n charge accumulated.i previously used ina219 easily.i am not even a coder if someone can help me with example code for esp32 that will help a lot i did search on google but couldn't find anything.thanks