Hi,
i am not sure about your example code sloc290. it seems like you didnt send the device address in this code.....
i tried to write my own code for an other pic.
it looks like this, i just write the order of my commands, i dont send the full code, if its not needed for you.
while(1)
{
send start bit
send device address(0x50) =01010000
write register 0x0000
write ndef_application_data. it is the same ndef like in the code sloc290
write register 0xFFFE
send 0x02
send 0x00
write register 0xFFFE
send 0x0000
send stop bit
}
I assume i dont need to send a signal to the int_enable_reg Register, because i dont use the into pin.
Is this the right order for the programm, or did u make a mistake somewhere?