AnsweredAssumed Answered

USB time

Question asked by Carlos Candido on Feb 26, 2011
Latest reply on Feb 27, 2011 by Carlos Candido

Helo,

     
                        for(i=0;i<10;i++)   // send  10 frame

                 {
                
                        EP2_Buffer[0] =3;
                        EP2_Buffer[1] = i;
                        EP2_Buffer[2] =0xAA;
                        
                       EndPoint_IN(EP2,64);     <----------- error not send  10 frame

 

                 while( wait send frame....how do ?) <-------- what BIT  ( CheckEndPoint___IN  )     


                      PTBD^=0x30;                       <----- test see error
                }
  

solution....

 

  EndPoint_IN(EP2,64);    

 

   while( wait send frame )

 

next frame....loop

 

 

 

 

 

 

how do   CheckEndPoint___IN  ( what it bit in bitmap all usb )

 

if not check not send all frames....

 

thanks,

Carlos,

Outcomes