Possibility of high frequency interrupt handle with MCF5223x
David Pang <[email protected]> Mon, 6 Dec 2010 20:16:15 +0800
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
--00221532cb40cc4b950496bcda9a Content-Type: text/plain; charset=ISO-8859-1 Dear all, I want to use MCF5223x to read a 8bit digital signal and forward the sample data to UDP packet. The signal consists of 8bit data and 1 clock, data fetch at rising edge or falling edge. However, the clock frequency is pretty high, max frequency is about 12MHz. Are there possible to use the CLOCK input to trigger an interrupt and sample the data in each interrupt? I want to do the connection as below: CLOCK ===> nIRQ1 DATA[8:0] ===> PORT AN So the system would include 3 tasks: 1. Interrupt for data input, interrupt trigger at about 12MHz 2. UDP Packet forwarding, each packet contains 200 samples 3. HTTP or TCP service for system configuration Can a 60MHz ColdFireV2, 5223x, capable to do it? B.R. David --00221532cb40cc4b950496bcda9a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,<br><br>I want to use MCF5223x to read a 8bit digital signal and f= orward the sample data to UDP packet.<br>The signal consists of 8bit data a= nd 1 clock, data fetch at rising edge or falling edge. However, the clock f= requency is pretty high, max frequency is about 12MHz.<br> Are there possible to use the CLOCK input to trigger an interrupt and sampl= e the data in each interrupt?<br><br>I want to do the connection as below:<= br>CLOCK=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D=3D=3D>=A0 nIRQ1<br>DATA= [8:0]=A0=A0=A0=A0=A0=A0=A0=A0 =3D=3D=3D>=A0 PORT AN<br> <br>So the system would include 3 tasks:<br>1. Interrupt for data input, in= terrupt trigger at about 12MHz<br>2. UDP Packet forwarding, each packet con= tains 200 samples <br>3. HTTP or TCP service for system configuration<br> <br>Can a 60MHz ColdFireV2, 5223x, capable to do it?<br><br><br>B.R.<br>Dav= id<br> --00221532cb40cc4b950496bcda9a-- --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.