AnsweredAssumed Answered

[MCF51JM128] USB Problem

Question asked by Pogo Lin on Dec 2, 2012
Latest reply on Dec 2, 2012 by TomE

Hi All,

 

I used MCF51JM128 to measure pulse width of input signal and send the result to PC with USB port.

 

The following list is my brief hardware structure.

 

Signal -> Input Capture -> MCF51JM128 -> USB -> PC

 

I used usb.c,usb.h on AN3690 to send data to PC through USB port. But I encountered one problem, when I send data to PC through USB port. It will lower priority of other interrupt and I will lost some pulse of input signal.

 

How do I send data through USB but will not disturb the interrupt of input signal??

Outcomes