I’m working with CY8C9560A chip under IOT, and I found that the driver is not working at all.
I found an error in the WriteRegister function in the CY8C9560A.CS code :
private void WriteRegister(Register register, int value)
{
this.device.Write(new byte[] { (byte)register , (byte)value }); // <--- correct
//this.device.WriteRead(new byte[] { (byte)register }, new byte[] { (byte)value }); //<---- WRONG !!!
}
Just for info …
: