SLG46826 lock itself after erase

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
joe.ye@oa.com.au
Offline
Last seen: 2 years 2 months ago
Joined: 2018-06-05 23:40
SLG46826 lock itself after erase

Hi,

I try to program the SLG46826 chip in circuit with microcontroller. The SLG46826 chip has not programed with the factory I2C address 0x08.

However, after I erase some of the page like page 0xc0 (the page can be used to change I2C address setting), the chip locked itself with all register value chagne to 0xff (including the page 0xe0).

The attached file shown the action I did and the response from the chip:

1. Read from page 0xc0, value are normal (I2C address 0x08)

2. Erase page 0xc0

3. Reset chip

4. Try read from page 0xc0 with I2C address 0x08, reading fail as expected

5. Read from page 0xc0 with I2C address 0x00. All register values change to 0xff

 

I didn't show the value in page 0xe0 in the attachement, but all register values changed to 0xff as well which locked the chip with write proteciton. 

Could you advise what may cause the issue?

 

Thank you!

 

Best regards,

Joe

 

 

Device: 
Device Number: 
SLG46826
pavloZ
Offline
Last seen: 2 years 6 months ago
Staff
Joined: 2018-01-31 12:50
Hi Joe,

Hi Joe,

could you please confirm that your I2C protocol uses restart (green highlighted in attachment) scenario?

Thanks for your question!

Attachment: 
pavloZ
Offline
Last seen: 2 years 6 months ago
Staff
Joined: 2018-01-31 12:50
One more question:

One more question:

what code do you have in brackets (please see attached)?

Thanks and regards,

Pavlo

Attachment: 
joe.ye@oa.com.au
Offline
Last seen: 2 years 2 months ago
Joined: 2018-06-05 23:40
Hi PavloZ,

Hi PavloZ,

Thank you for your reply.

I can confirm my I2C protocl uses restart. 

This is not our first project with SLG46826. We have erase and program the chip in circuit in production before in a different circuit. Although we also see the chip may lock itself during program, it happens quite rarely.

For the PN number, as the chip is in circuit, it may take me a while to figure out how to read it out. And do you mean some batches of this chip can easily lock itself?

Thank you!

Best regards,

Joe

joe.ye@oa.com.au
Offline
Last seen: 2 years 2 months ago
Joined: 2018-06-05 23:40
Hi PavloZ,

Hi PavloZ,

The code in the bracket is 0x1 as attached.

Best regards,

Joe

Attachment: 
joe.ye@oa.com.au
Offline
Last seen: 2 years 2 months ago
Joined: 2018-06-05 23:40
Hi PavloZ,

Hi PavloZ,

I have a more detailed looking today. The NVM is acutally not locked. 

Sometimes the value will load successfuly from NVM so the chip working properly, but other times the chip is not properly configured with the value in NVM so the reading from Register Data Configuration (A10=A9=A8=0) are all 0xff.

Do you have any clue what may cause it internally or externally?

Thank you!

Best regards,

Joe

pavloZ
Offline
Last seen: 2 years 6 months ago
Staff
Joined: 2018-01-31 12:50
Hi Joe,

Hi Joe,

still have no idea what is the reason of that fault.

What is the supply voltage of the chip during data transfer?

Could you please take logic analizer waveform of that communication?