about cy68013a code not run when download by EZ USB control pannel | Cypress Semiconductor
about cy68013a code not run when download by EZ USB control pannel
I now design a product use cy7c68013A. when the board is connect to PC, The PC can identify the USB device. And I also can download the Hex file. In my code,I need config two cmos sensor with I2C BUS.So I add the I2C code in TD_INIT function. But I can not find any wave in I2C BUS. So I doubt that the code maybe is not run. So I write a very small progran to test if the chipo is run. the program is :
sbit SDA=IOC^7; /*模拟I2C数据传送位*/
sbit SCL=IOC^6; /*模拟I2C时钟控制位*/
unsigned int j ;
void delay_ms(unsigned int i)
And I also can not measure any wave in I2C BUS.
So please help me ? Where I had made some mistake?