Other Parts Discussed in Thread: BQSTUDIO
Tool/software: TI C/C++ Compiler
Hello,
i need to write the Data Flash Access () 0x406F
this is the example on page 118 of bq78350-r1 datasheet:
Write to DF example:
Assuming: data1 locates at address 0x4000 and data2 locates at address 0x4002.
Both data1 and data2 are U2 type.
To update data1 and data2, send a SMBus block write with command = 0x44
block = starting address + DF data block
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte
when I simulari make for the 0X406F(Manufacturer Name) , I have some thing like that :
data1 = *abcdefghij1234567890"
To update data1 , send a SMBus block write with command = 0x44block = starting address + DF data block
= 0x6F + 0x40 + data1
ist is ok?
tis data1 is suose too stay in the register 0x406F ?
But when i read this adress like describe in the datasheet , i become the default Manufacturer Name : "Texas
Instruments"
Read from DF example:
Taking the same assuming from the read DF example, to read DF,
a. Send SMBus write block with command 0x44, block = 0x00 + 0x40
b. Send SMBus read block with command 0x44
The returned block
= a starting address + 32 bytes of DF dat
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte.... data32_LowByte +
data32_HighByte
for my code:
a. Send SMBus write block with command 0x44, block = 0x6F + 0x40
b. Send SMBus read block with command 0x44
The returned block
= a starting address + 21 bytes of DF dat
= 0x6F + 0x40 + data1.
Please I am wrong?