Search found 19 matches

by zuuus
Fri Nov 21, 2025 10:45 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

I think I provided the Serial print? The second print in my post is exactly the first 100 lines I get when I start it/press restart button. Also what is exactly SPI supply pin used for? My chips are already powered.
by zuuus
Fri Nov 21, 2025 10:23 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

I use BMS_test_OI.ino for SW. See attachment

When I start it with the TX and RX cables plugged in I get this:

Entering Configuration Mode Successful!
Setting Baudrate Successful!
Starting to Set Mask!
Setting Mask Successful!
Starting to Set Filter!
Setting Filter Successful!
Starting to Set ...
by zuuus
Fri Nov 21, 2025 8:59 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

When connecting on BMS TXP to RXP and TXN to RXN, I also see "transmitQueue WD timeout" in serial monitor. This is with the code already running and then connecting the pins. And keeps looping


transmitQueue WD timeout
6
errorByte cleared
transmitQueue WD timeout
6
errorByte cleared
transmitQueue ...
by zuuus
Thu Nov 20, 2025 10:43 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

I found something interesting to me. When connecting the loopback I see "transmitQueue WD timeout" when I disconnect loopback "transmitQueue WD timeout" disappears. So that means I see "transmitQueue WD timeout" loopback is working?

There is no short on RX. See image 1.

Image 2: TXN to RXN on the ...
by zuuus
Wed Nov 19, 2025 1:25 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Indeed no signal from the slave to the master. I don't know the module pinouts. I know the pinout from the connector that connects with the module. I based my pinout on that from the CMC document. Also I did read something about the wiring harness that was wired wrong from the factory. Could be the ...
by zuuus
Wed Nov 19, 2025 1:06 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

I checked every wire and connection. Also did a recheck on the pinouts and my wiring according to the CMC device document linked earlier. With the pinouts I have from that document, I wired everything correctly. And from my understanding TXP and RXP connect together and TXN and RXN connect together ...
by zuuus
Wed Nov 19, 2025 10:43 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Can't remove connection on the scope between PE and GND.

Here are my scopes:
Image 1 (BMS): Connected GND clip of probe to TXN and probe on TXP after transformers on my BMS. Max ampl. +4V and -3.5V

Image 2 (slave side): Couldn't connect GND clip of probe to the wire. I used math function and did ...
by zuuus
Tue Nov 18, 2025 2:07 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

These are my scopes on RX.

The first image is the scope I have from the RX line. This was also jumping up and down, so I checked what was going on and found that the signal was in a sinewave with mains frequency.
by zuuus
Tue Nov 18, 2025 11:17 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

So these are the signals coming from my TX pins.

When connected with cables with one module and the loopback at the end of the cables, I get the scope from the first image. It is in that image under the 0 line, but keeps alternating under and above the 0 line.

The second scope is from the pins ...
by zuuus
Mon Nov 17, 2025 11:38 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Thankyou Manny,

The probe clip didn't make good contact with GND. I measured it again where the clip was on the board GND and put the probe to RXP, RXN, TXP and TXN and all were stable zero's.

Today i'm getting a freshly Arduino since the one I used didn't make good contact unless there was a lot ...
by zuuus
Thu Nov 13, 2025 11:22 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Today I could work again on the BMS and found the following problems,

I found the problem that my MAX17841B nothing sends and today I can't even read the registers from it. So the chip is broken :( .
While there is nothing on the TX- and RX lines I still have a sinus wave on TX 1.25V and RX 440mV ...
by zuuus
Tue Nov 11, 2025 4:08 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Yes I have done a loop-back and wired it to the BMS like Manny said, the pink wire is just at a funny angle

Ignore yellow wire on BMS PCB, that just for resetting MAX17841B chip
by zuuus
Tue Nov 11, 2025 10:45 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Unfortunately still no data and the same Serial output with the same errorByte. Also tested on another module of the pack and that also didn't work
by zuuus
Mon Nov 10, 2025 5:11 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Is my circuit for the MAX17841B chip correct? On page 1 of this tread there was a PDF document linked by you named "BMS.pdf". And your circuit is different than mine. Im using Manny's PCB listed on page 5 of this tread. I did a loop-back as listed in the "CMC devices" document attached to a earlier ...
by zuuus
Mon Nov 10, 2025 2:35 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Thank you, I will look at my wiring for RX and TX. My test setup is only minimal with the BMS PCB, original harness wiring from the E-208 pack and the module self. PCB is powered at 5V with a DC power supply. (The same setup I ran the code on, nothing has changed)

Where did you get that figure from ...
by zuuus
Mon Nov 10, 2025 10:51 am
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Got the full Serial Monitor output below. I have stopped it at the end because it keeps going forever outputting the same data
by zuuus
Sat Nov 08, 2025 11:59 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Yes I have
by zuuus
Sat Nov 08, 2025 1:21 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

I have currently one module connected which has 6 cells and im using the original wiring harness from the E-208 pack. I have also changed that in the code to my setup. Im using a ATmega328P (5v, 16MHz).

The wiring harness pinout I got was from a document "Manual CMC Devices". In that document are ...
by zuuus
Fri Nov 07, 2025 5:20 pm
Forum: Hyundai/Kia
Topic: Kia Niro BMS
Replies: 248
Views: 151176

Re: Kia Niro BMS

Hi,
Im currently working on my project with A Peugeot E-208 battery pack. The modules use MAX17854 chips and I use the PCB design from Manny with Arduino pro mini, MAX17841B along with BMS2_7_4.ino code, but I running into a problem where the serial monitor says:
errorByte cleared writeAll ...