'Read OTP CRC' and 'Table CRC' never match

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
11 posts / 0 new
Last post
xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
'Read OTP CRC' and 'Table CRC' never match

I am using a DA9062-EVAL3 board with socket daugther board (232-02-A) and trying to OTP program a blank PMIC (DA9062-00-AM). I used a file that I was given by our local FAE, but also tried several that were installed with the SmartCanvas GUI, and tried to OTP the DA9062 with but the 'Read OTP CRC' and 'Table CRC' never matched when I loaded the any of the files. When I clicked the 'Program OTP' button, I got a "Programming was unsuccessful. Invalid/Unprogrammed results found!" error message.

These are the steps I took in trying to OTP the DA9062 using the OTP Programmer Tool from within the SmartCanvas GUI:

1. Clicked 'Load from device OTP'
2. Clicked 'Load from ini file'
- after loading any of the ini files, the CRCs don't match and the Table CRC appears in red.
3. Clicked 'Program OTP'

Shortly after the clicking the Program OTP button I'd get the above error message.

Also, I followed the OTP programming procedure from UM-PM-008 revision 1.4 in appendix A.1.

I have tried several blank DA9062s but all behaved the same during programming.

Please advice how to proceed. I am including a screenshot of the GUI while trying to OTP the ini file.

Thanks so much for your help.

Device:
ED_Dialog
Offline
Last seen:9 hours 23 min ago
Staff
加入:2017-09-18 11:54
Hello,

Hello,

Could you share the OTP you are trying to program?

What current limit have you set for the supply?

Kind regards,

Elliott

xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hi Elliott,

Hi Elliott,

The current limits on all four buck outputs are set to 3200 mA. Please see attached zip file with my OTP. I have tried several ini files that were installed with the GUI but they all seem to behave the same way when I try to program a blank DA9062-00-AM part.

Also, all the jumpers settings on the motherboard are the same as installed from factory except I have now changed J34 from 5V_USB--VBOOST_IN to VBOOST_IN--VBOARD. I was still getting some power surge messages that were temporarily disabling my USB ports, but this jumper setting eliminated those. I am including a PDF file inside the zip file with my board jumper settings before I changed J34.

I noticed that my total current limits, the way they are set in the OTP, exceed the max 8.5A that the chip can provide. So I have been trying to change that and consolidate between the datasheet and the SmartCanvas GUI. However, I seem to have run into a problem.

Should I just use the drop down for the current limit, or calculate it based on the formulas given in the datasheet?

Buck1 current limit = (1400 + BUCK1_ILIM * 200) mA
Buck2 current limit = (1400 + BUCK2_ILIM * 200) mA
Buck3 current limit = (1700 + BUCK3_ILIM * 100) mA
Buck4 current limit = ( 700 + BUCK4_ILIM * 100) mA

So for example if I want,

Buck1 current limit = 2.5A
Buck2 current limit = 2.5A
Buck3 current limit = 2A
Buck4 current limit = 1.5A

should I set the BUCK[1-4]_ILIM register fields to the values below to account for the formulas and get the desired current limits:

BUCK1_ILIM = 5
BUCK2_ILIM = 5
BUCK3_ILIM = 3
BUCK4_ILIM = 8

These values would give me, according to the formula, the correct current limits.

However, if I use the drop-down in the GUI to set the current limits desired, the register values for BUCK[1-4] are different than when considering the formulas given.

For example, if I set BUCK[1-2]_ILIM using the dropdown in the SmartCanvas GUI to 2500mA, which is my desired 2.5A current limits for Buck1 and Buck2, register 0x9C value becomes 0x88.
位握reg 0 x9c对应BUCK1_ILIM。Then according to the formula, BUCK1 current limit = (1400 + BUCK1_ILIM * 200) mA = (1400 + 8 * 200) mA = 3000 mA or 3A. So this gives me a different result than what my desired limit is.

Thanks so much for your help,
JL

ED_Dialog
Offline
Last seen:9 hours 23 min ago
Staff
加入:2017-09-18 11:54
Hello Jl,

Hello Jl,

Thank you for the settings. The ILIM setting is for the coil currents, you will have to look into the datasheet of the inductor characteristics such as the ISAT value.

When you program the device what is the current limit on your bench supply?

Kind regards,

Elliott

xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hi Elliott,

Hi Elliott,

The ISAT values for the particular inductors I am using at the outputs of BUCK[1-4], according to the datasheet, are 4.4A (typical value). So then it should be okay keeping the ILIM values at 3200mA, right?

Also, the current limit on my bench supply is set 500 mA. Should I set that to a higher value? Could that be the reason I am getting programming errors?

Thanks so much,
JL

ED_Dialog
Offline
Last seen:9 hours 23 min ago
Staff
加入:2017-09-18 11:54
Hello JL,

Hello JL,

I managed to program the OTP into a DA9062 without issue.

Could you check the postion of the switch on the eval board?

500mA should be enough, mine is set to 1A. However if it needs 1A i think there is an issue. You could monitor Vsys and TP to see any droops when you program the IC, there could be a brown out when programming.

Could you send me an image of your evaluation board?

Kind regards,

ED

xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hi Elliott,

Hi Elliott,

I just checked the TP switch and it is set all the way to the left to the TP_ON position. I have monitored VSYS but it stays stead at 5V. I haven't monitored TP as I have not seen a TP pin on the board or daughterboard. What pin/jumper should I monitor to verify TP?

I am sending you an image of my eval board.

Thanks so much,
JL

Attachment:
xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hello Elliott,

Hello Elliott,

I found the TP pin on the daughter board and was able to monitor the voltage level during programming. As mentioned in my previous reply, VSYS holds steady at 5 V and stays the same during programming. TP holds steady at 4.5 V and there is no droop during programming either. Should TP be at 5V too?

Also, I am still getting the same message when I try to program, "Programming was unsuccessful. Invalid/Unprogrammed results found!". Not sure how to proceed.

Thanks,
JL

ED_Dialog
Offline
Last seen:9 hours 23 min ago
Staff
加入:2017-09-18 11:54
Hello JL,

Hello JL,

4.5V is quite low. When we perform ICP, we recomend 7.5V on the TP pin.

Before you go into programming, are you commucation successfully with the device. You can toggle the buck On/Off to see if you are talking to the device.

When in the programming window, you need to load the device OTP, and then load in the .ini file. The CRC at this point will not match, you should also see green, red or yellow registers highlighted.

At this point do you see any red highlighted registers?

You should then click program, if programming is completed the CRC should.

Kind regards,

Elliott

xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hello Elliott,

Hello Elliott,

>Before you go into programming, are you commucation successfully with the device. You can toggle the buck On/Off to
>see if you are talking to the device.
Yes, I am able to turn the BUCK_EN buttons on and off. All oscilloscope output voltages are at the levels set in the GUI.

>When in the programming window, you need to load the device OTP, and then load in the .ini file. The CRC at this point
>will not match, you should also see green, red or yellow registers highlighted.
Yes, this is what I am seeing.

>At this point do you see any red highlighted registers?
No, there are no red highlighted registers. I am seeing mostly yellow and white. There are some gray and faded-green registers that correspond to unused registers.

>你应该然后单击程序,如果程序ming is completed the CRC should.
When I click program, it eventually returns with the error message described above.

I did notice a strange output at times on the TP pin. Sometimes, with the PMIC being in state 17:ACTIVE, there is a 66.67 MHz sinusoidal signal on the TP. The sinusoidal is 1 Vpp with a DC of about 4.45 V. If I disable the bus interface and reenable it, it goes away and TP settles around 4.45 V. Sometimes I noticed that the sinusoidal is there and when I enter Power Commander Mode goes away (settles to DC at 4.45 V). I am including a PDF of the oscillator outputs with and without the sinusoidal on TP.

Thanks,
JL

xmarine007
Offline
Last seen:9 months 1 week ago
加入:2020-02-23 17:11
Hi Elliott,

Hi Elliott,

我已经命令和接收一个新的董事会和看到的ms to work as expected. As soon as I've connected the new board, I could already see a difference in behavior. I can now program the PMICs with the new board as per our discussions and have already done so with a few ICs. The original programming board must have been defective from the distributor. From what I remember, I had the exact bad behavior ever since I first turned it on but didn't know whether that was the normal behavior or not.
Also when I plug in or unplug the USB cable, I don't get the “Power surge on the USB port. Unknown USB device needs more power than the port can supply” message anymore.

So the good news is that all seems to be working correctly with the new board. Thanks for working with me through this. The clues you have given me and the different behavior of the board have prompted me to wonder if the board is functioning correctly, especially the intermittent sinusoidal on the TP line, and thus I ordered a new board in the meantime.
I do have a question regarding PMIC testing, but I'll post it to a new thread.
Thanks again,
JL