Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

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