I got the eval board from FTDI, and got it working in GPIO mode pretty quickly. Now I'm working on I2C and having some issues (nothings ever easy right).
Anyone else out there interested in this chip?




/*configure data*/
public void configPort(byte configOutMap, byte configINMap){
byte[] writeusbdata = new byte[4];
writeusbdata[0] = 0x11;
writeusbdata[1] = 0x00;
writeusbdata[2] = configOutMap;
writeusbdata[3] = configINMap;
try {
// if(mOutputStream != null){
mOutputStream.write(writeusbdata);
// }
} catch (Exception e) {
log("Send failed: " + e.getMessage());
}
}
/*write port*/
public void writePort(byte portData){
byte[] writeusbdata = new byte[4];
writeusbdata[0] = 0x13;
writeusbdata[1] = portData;
writeusbdata[2] = 0x00;
writeusbdata[3] = 0x00;
try {
// if(mOutputStream != null){
mOutputStream.write(writeusbdata, 0,4);
// }
} catch (Exception e) {
log("Send failed: " + e.getMessage());
}
}

