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.

LP5562: Blink not working

Part Number: LP5562

Hi,

I am trying to do a blink using ENG1.

The code that I am using is this:

data[0] = 0x40;
i2c_write(0x00, data, 1);

DELAY(10);

data[0] = 0x10;
i2c_write(0x01, data, 1);

data[0] = 0x10;
i2c_write(0x70, data, 1);

uint8_t n[32] = {0x40, 0xFF, 0x4D, 0x00, 0x40, 0x00, 0x60, 0x00,
0xA2, 0x00, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
for(int i = 0; i < 32; i++)
{
i2c_write(0x10 + i, &n[i], 1);
}

data[0] = 0x01;
i2c_write(0x08, data, 1);

data[0] = 0x20;
i2c_write(0x01, data, 1);

data[0] = 0x60;
i2c_write(0x00, data, 1);

I don't see any mistake and I don't understand what is wrong.

I tried and I can turn on the LED uing the PWM control instead on ENG1.