This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can't write the register of TPIC7218 correctly. Do you have the Demo code of TPIC7218?

Other Parts Discussed in Thread: TPIC7218

Hello,

We use TPIC7218 for automotive chassis control. Now we have problems about writing the register of TPIC7218 as below,

when writing the registers (address  0x11 and 0x12) of TPIC7218, we can only write the bits related to Watchdog successfully. e.g, 

1. we write 0xFF to register address 0x12 then read it, the data is 0xF0, the data b7~b4 (WDH<1>, WDH<0>, WDL<1>, WDL<0>) have been chaged but the data b3~b0 have been not changed.

2. we write 0x1F to register address 0x11 then read it, the data is 0x10, the data b4 (WD_EN) has been chaged but the data b3~b0 have been not changed.

We don't know why we can't write the bits of register except the bits related to Watchdog. Do you have some demo codes of TPIC7218?

Thanks a lot!

BR,

Bobby