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??