SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By jaunva1312
#192743
Hello there!!

I´m working with the Battery Babysitter board connected to a freescale K53DN512 tower, my code is adapted from the Arduino example that is on the board web page (Sparkfun and Arduino).

When I request (to read) the DEVICE_TYPE, I get the expected value 0x0421, but when I try to read the Design_Capacity, expecting the default capacity, I read only senseless values... It´s very strange that I can actually read some values, however, some other ones are not succesfull.

I´d like to know if there is any example code (C languaje) or if anyone can give me an advice.

Best regards!!