AnsweredAssumed Answered

USB timeout KDS

Question asked by rimi dhanjal on May 3, 2016
Latest reply on May 9, 2016 by isaacavila

Hi,

I have created a project for usb hid host For K66 Using K65 example ,but i have used processor expert and configured the  CPU external crystal is of 10 Mhz , PLL output is 120 (Mhz) as shown below image. I have only configured the CPU by PEXimg1.PNG

 

Rest of the code is from K65 example( path: \KSDK_1.3.0\examples\twrk65f180m\demo_apps\usb\host\hid\keyboard) .

Given below is my main function. App_init() is working ok img2.PNG

Timeout is always occuringin the function given below( timeout value is 0 which is being passed ), this fuction is called by APP_task.

 

 

Capture6.PNG

if ((((!waitAll) && (*setFlags))) || (*setFlags == flagsToWait)) will never go true. what can be the reason for this .

Outcomes