KurtE
Senior Member+
Follow on from previous post. I instrumented the usb isr some more and added to turn on the ISR output earlier... So if less than 64k left turn on the debug output...
I also printed out the USB1_USBINTR value, to see if it should be processing the SOF...
Maybe something interesting:
Not sure what the need to switch to alternate ... comes from here?
I also printed out the USB1_USBINTR value, to see if it should be processing the SOF...
Maybe something interesting:
Code:
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 00000081 USBINTR:01000143
data
USB1_ENDPTSETUPSTAT=00000000
USB1_ENDPTCOMPLETE=00000008
run_callbacks
end of list
*status: 01000080 USBINTR:01000143
need to switch to alternate clock during reconfigure of ARM PLL
USB PLL is running, so we can use 120 MHz
Freq: 12 MHz * 66 / 4 / 1
ARM PLL=80002064
ARM PLL needs reconfigure
ARM PLL=80002042
New Frequency: ARM=198000000, IPG=99000000
Decreasing voltage to 1150 mV
*status: 01000080 USBINTR:01000143
*status: 00000080 USBINTR:01000143
*status: 00000080 USBINTR:01000143
*status: 00000080 USBINTR:01000143
*status: 00000080 USBINTR:01000143
...