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.

LP87745-Q1: Change REG_OV_CONF Register (Offset = 29h) from default value to custom value

Part Number: LP87745-Q1
Other Parts Discussed in Thread: IWR6843,

Hello Community,

I am using LP87745-Q1 with IWR6843 on custom board. I could read and write into this PMIC register. I could change voltage values by unlocking registers first by writing 0x9B into REGISTER_LOCK Register (0xA).

I am trying to change the default configuration of REG_OV_CONF Register from 0xEE to other custom value, but after SPI transfer I get CPU reset error. 

I am transferring below data:

txBufSPI[0] = 0x29;
txBufSPI[1] = 0x0;
txBufSPI[2] = 0x0;

Not sure why CPU reset is coming after SPI transfer.

"C674X_0: Power Failure on Target CPU"

Thanks and Regards,

Neil

  • Hi Neil,

    The device has configuration CRC enabled and therefore any changes done to the registers will cause an CRC error. For initial debugging it is OK to mask CONFIG_CRC_MASK interrupt but for the final application the CRC value should be recalculated.

    Refer to the datasheet section 8.12.2 CRC Protection for Configuration Registers for recalculating the CRC.

    BR,

    Samuli