Part Number:TPS65381A-Q1
Tool/software: Code Composer Studio
Dear E2E,
Recently, I have tried to initialize the TPS65381 register. But I found the SAFETY_FUNC_CFG register can not be written.The mcu I use is TMS570LS0714. It is so strange! Following is my test case:
(1) First, I have tried to write the values to SAFETY_ERR_PWM_H.
![]()
![]()
From above pictures, I think I have written the value to SAFETY_ERR_PWM_H. The value has been changed from 0xFFu to 0x0A. And this register can only be write in Diagnostic state and the write access is not locked.So I think spi communication and my test code is good.
(2) Then, I have tried to write the values to SAFETY_FUNC_CFG.
![]()
![]()
![]()
From above picture and test case 1, I think TPS is stay in diagnostic state and the write access is not locked. But I don't know why the SAFETY_FUNC_CFG can not be written. Is there any more limits in this register? What should I do if I want to write value to this register.
Maybe it is something wrong to my hardware. But when I test another two hardwares, the test result is the same.What do you think of these phonemenon? Or there is something wrong in my test code?
I am looking forward to your advice. Thanks!
Best Regard,
Yu Chen