Re: Possibility of high frequency interrupt handle with MCF5223x
Yevgeni Tunik <[email protected]> Tue, 7 Dec 2010 00:14:27 -0800 (PST)
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
X-SpamDetect-Info: ------------- Start ASpam results --------------- X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: ******: 6.6 sd=6.6 [280]100%13.3(60,!225) [43]01%-13.0(X-SpamContent:clean) [96]02%-12.5(Accept Orbs) [226]98%12.3(!46,66) [47]98%12.0(X-Verify-Helo:failed) [45]93%8.9(X-Verify-Helo:-ERR) [29]22%-2.5(DomainKey-Signature:) [27]42%-0.1(X-LangGuess:English) X-SpamDetect-Info: ------------- End ASpam results ----------------- --0-724279686-1291709667=:16385 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SpamDetect-Info: ------------- Start ASpam results --------------- X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: ******: 6.6 sd=6.6 [280]100%13.3(60,!225) [43]01%-13.0(X-SpamContent:clean) [96]02%-12.5(Accept Orbs) [226]98%12.3(!46,66) [47]98%12.0(X-Verify-Helo:failed) [45]93%8.9(X-Verify-Helo:-ERR) [29]22%-2.5(DomainKey-Signature:) [27]42%-0.1(X-LangGuess:English) X-SpamDetect-Info: ------------- End ASpam results ----------------- David, see the following forum thread for actually reached UDP performance: http://forum.embeddedethernet.com/viewtopic.php?f=3D5&t=3D415&view=3Dnext Regards, =0A Yevgeni Tunik =0A +972-52-448-9271 (mobile phone) =0A___________________________________ --- On Mon, 12/6/10, Yevgeni Tunik <[email protected]> wrote: From: Yevgeni Tunik <[email protected]> Subject: Re: [ColdFire] Possibility of high frequency interrupt handle with= MCF5223x To: [email protected] Date: Monday, December 6, 2010, 2:28 PM I use more powerful 5270 (Fsys=3D147.456 MHz). It cannot withstand interrup= t trigger at about 12MHz. I guess, only specially developed periphery (FPGA?) can help to implement t= he described task. Regards, =0A Yevgeni Tunik =0A +972-52-448-9271 (mobile phone) =0A___________________________________ --- On Mon, 12/6/10, David Pang <[email protected]> wrote: From: David Pang <[email protected]> Subject: [ColdFire] Possibility of high frequency interrupt handle with MCF= 5223x To: "Yevgeni Tunik" <[email protected]> Date: Monday, December 6, 2010, 2:16 PM 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. =0AAre there possible to use the CLOCK input to trigger an interrupt and sa= mple the data in each interrupt? I want to do the connection as below: CLOCK=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D=3D=3D>=A0 nIRQ1 DATA[8:0]=A0=A0=A0=A0=A0=A0=A0=A0 =3D=3D=3D>=A0 PORT AN =0A 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=20 3. HTTP or TCP service for system configuration =0A Can a 60MHz ColdFireV2, 5223x, capable to do it? B.R. David =0A =0A=0A =0A=0A=0A --0-724279686-1291709667=:16385 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><pre> X-SpamDetect-Info: ------------- Start ASpam results --------------- X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: ******: 6.6 sd=6.6 [280]100%13.3(60,!225) [43]01%-13.0(X-SpamContent:clean) [96]02%-12.5(Accept Orbs) [226]98%12.3(!46,66) [47]98%12.0(X-Verify-Helo:failed) [45]93%8.9(X-Verify-Helo:-ERR) [29]22%-2.5(DomainKey-Signature:) [27]42%-0.1(X-LangGuess:English) X-SpamDetect-Info: ------------- End ASpam results ----------------- </pre></html> <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"= top" style=3D"font: inherit;">David,<br><br>see the following forum thread = for actually reached UDP performance:<br>http://forum.embeddedethernet.com/= viewtopic.php?f=3D5&t=3D415&view=3Dnext<br><br>Regards,<br>=0A Y= evgeni Tunik<br>=0A +972-52-448-9271 (mobile phone)<br>=0A______________= _____________________<br><br>--- On <b>Mon, 12/6/10, Yevgeni Tunik <i><y= [email protected]></i></b> wrote:<br><blockquote style=3D"border-le= ft: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>F= rom: Yevgeni Tunik <[email protected]><br>Subject: Re: [ColdFir= e] Possibility of high frequency interrupt handle with MCF5223x<br>To: cold= [email protected]<br>Date: Monday, December 6, 2010, 2:28 PM<br><br><div id= =3D"yiv1693347323"><table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">= <tbody><tr><td style=3D"font: inherit;" valign=3D"top">I use more powerful = 5270 (Fsys=3D147.456 MHz). It cannot withstand interrupt trigger at about 1= 2MHz.<br><br>I guess, only specially developed periphery (FPGA?) can help t= o implement the described task.<br><br>Regards,<br>=0A Yevgeni Tunik<br>= =0A +972-52-448-9271 (mobile phone)<br>=0A______________________________= _____<br><br>--- On <b>Mon, 12/6/10, David Pang <i><[email protected]= ></i></b> wrote:<br><blockquote style=3D"border-left: 2px solid rgb(16, = 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Pang <da= [email protected]><br>Subject: [ColdFire] Possibility of high frequency= interrupt handle with MCF5223x<br>To: "Yevgeni Tunik" <yevgeni_tunik@ya= hoo.com><br>Date: Monday, December 6, 2010, 2:16 PM<br><br><div id=3D"yi= v1693347323yiv409415275">Dear all,<br><br>I want to use MCF5223x to read a = 8bit digital signal and forward the sample data to UDP packet.<br>The signa= l consists of 8bit data and 1 clock, data fetch at rising edge or falling e= dge. However, the clock frequency is pretty high, max frequency is about 12= MHz.<br>=0AAre there possible to use the CLOCK input to trigger an interrup= t and sample the data in each interrupt?<br><br>I want to do the connection= as below:<br>CLOCK &n= bsp; =3D=3D=3D> nIRQ1<br>DATA[8:0] &n= bsp; =3D=3D=3D> PORT AN<br>=0A<br>So the s= ystem would include 3 tasks:<br>1. Interrupt for data input, interrupt trig= ger at about 12MHz<br>2. UDP Packet forwarding, each packet contains 200 sa= mples <br>3. HTTP or TCP service for system configuration<br>=0A<br>Can a 6= 0MHz ColdFireV2, 5223x, capable to do it?<br><br><br>B.R.<br>David<br>=0A</= div></blockquote></td></tr></tbody></table><br>=0A=0A </div></blockquo= te></td></tr></table><br>=0A=0A --0-724279686-1291709667=:16385-- --- [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.