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.