Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

BQ40Z50 Manufacture Date

$
0
0

Hi,

 I have been communicating with bq40z50 battery through i2c of MSP430f5338. In this i am reading the manufacture date as 33 by sending the command as 0x1B.

My question is how can we convert the manufacture date from this value to calender format (DD:MM:YEAR). In the referemce manual

SLUUA43–December 2013  they would given the formula as

ManufacturerDate() value in the following format:Day + Month*32 + (Year–1980)*256

I am not able to get any idea to convert the read value (33) to the calender format by using this formula. Can anyone know this?

Thanks in advance.

 


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>