Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

 Hi

   

I use fx2lp 56pin and slave fifo mode. 

   

I have to make control like this. But it's not work way

   

TD_Init()

   

{

   

...

   

PORTACFG |=0x80;

   

...

   

OEA=0x01;

   

IOA=0x00;  //for led on

   

}

   

TD_Poll()

   

{

   

OEA=0x01;

   

IOA=0x00;

   

 

   

If(IOA & 0x02)

   

IOA=0x01;

   

Z

   

 

   

 

   

 

   

 

   

What is

   

 

   

 

   

What is wrong?

0 Likes
2 Replies
Anonymous
Not applicable

 Sorry Z is miss typing

0 Likes
Anonymous
Not applicable
0 Likes