cancel
Showing results for 
Search instead for 
Did you mean: 

My battery management system card is not communicating via RS485 with STM32

sezear07
Associate III

Hello,

I have a SEPLOS brand battery management system card, and I want to read temperature and voltage data from this card. Initially, I will use an STM32F407VGT6 board to read data from the SEPLOS battery management system card via RS485. I am sending the commands first to get the data, but although the data is being sent, I cannot perform the reading operation. What do you think could be the reason for this problem?

The PDF I will send below contains an information sheet about how I should read data from the SEPLOS brand battery management system via RS485. Please look at the PDF and my code to see if you can find where I might be making a mistake.

 

WhatsApp Görsel 2024-06-20 saat 21.37.12_9c1a0877.jpg

WhatsApp Görsel 2024-06-20 saat 21.37.12_c44ef19d.jpg

  

WhatsApp Görsel 2024-06-20 saat 21.37.12_d9796b56.jpg

thank you for answer

27 REPLIES 27

Please use the </> icon to paste in code, not attach as bitmaps, thanks.

I'd perhaps be concerned about how you have it wired to the STM32, the pins, the RS485 driver, and how you gate that as an output.

Use a scope or logic analyzer to review the signals you generated on the wires, and the responses, if any, from the BMS

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
I checked my connections and there are no issues. I am sending you the code again.
Techn
Senior III

How is your main loop()? Can you post the code using <> method? After sending read request do you do the read ?

If you feel a post has answered your question, please click "Accept as Solution".
raptorhal2
Lead

Have you tried using a SEPLOS USB adapter with a terminal program on a PC to determine that the SEPLOS is functioning correctly ?

Hello @sezear07  and welcome to the community.

Please read the following recommendations on this link on how to post a thread on this community.

Thank you for your understanding. 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Normally to get response from the client you have to send read request in the form of write and wait for read with timeout.

If you feel a post has answered your question, please click "Accept as Solution".

I am sending it below

Yes, SEPLOS has its own programs, and with these programs, I can read temperature and voltage data.

Thank you for reply