Searching \ for 'RC5 on a PIC?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'RC5 on a PIC?'.

Truncated match.
PICList Thread
'RC5 on a PIC?'
1999\08\23@061846 by Sam Laur

flavicon
face
I've been toying with the idea of running that popular RC5 key search on a
PIC. Now, I realize it probably won't be cost effective, because I have
estimated the performance of it on a PIC - with $1 per a 20 MHz pic, I'd spend
more money on just the PICs than buying a complete K6-2 or Celeron system, to
get equivalent performance.

What really hurts the performance is the 32-bit data, and how to handle it.
I've managed to do a 32-bit rotate (which can roll the data 0-31 bits left),
which takes 17-47 instruction cycles (average 35.25), but haven't looked
further into it. I'd be ecstatic if I managed to get above 5000 keys/second
from a single PIC, but I have a feeling that it will be difficult if not even
impossible.

1999\08\23@072158 by Pavel Korensky

flavicon
face
At 13:22 23.8.1999 +0300, you wrote:
>I've been toying with the idea of running that popular RC5 key search on a
>PIC. Now, I realize it probably won't be cost effective, because I have
>estimated the performance of it on a PIC - with $1 per a 20 MHz pic, I'd
spend
{Quote hidden}

What about to use some external PLD chip like Lattice isp1016 for 32bit
rotation ? Put 2 x +õ bits in and than only clock rotation via one pin and
read the data back ?

PavelK

**************************************************************************
* Pavel KorenskyÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
* DATOR3 LAN Services spol. s r.o.ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
* Styblova 13, 140 00, Prague 4, Czech Republic      ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
*ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
* PGP Key fingerprint:Ê F3 E1 AE BC 34 18 CB A6Ê CC D0 DA 9E 79 03 41 D4 *
*ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
* SUMMA SCIENTIA - NIHIL SCIREÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ *
**************************************************************************

1999\08\23@073613 by Edward J. Cardew

flavicon
face
Whops,

My RC5 is for remote controls of TVs, Video Recorders, ...

Edward

1999\08\23@103214 by Sean H. Breheny

face picon face
What about using a SCENIX chip instead? A SCENIX chip at 50 MHz has 5 times
the speed of a 20MHz PIC. Since this is just number crunching, no
peripherals are needed and there is no trade-off.

Sean

At 01:22 PM 8/23/99 +0300, you wrote:
>I've been toying with the idea of running that popular RC5 key search on a
>PIC. Now, I realize it probably won't be cost effective, because I have
>estimated the performance of it on a PIC - with $1 per a 20 MHz pic, I'd
spend
{Quote hidden}

| Sean Breheny
| Amateur Radio Callsign: KA3YXM
| Electrical Engineering Student
\--------------=----------------
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
spam_OUTshb7TakeThisOuTspamcornell.edu ICQ #: 3329174
________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

1999\08\23@153844 by Sean H. Breheny

face picon face
Why does it seem that every post that I make to the list has to have at
least one numerical error in it? <G> My message should have read:

A SCENIX chip at 50 MHz has *10* times the speed of a 20MHz PIC.

Sean


>Date: Mon, 23 Aug 1999 10:28:55 -0400
>To: pic microcontroller discussion list <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
>From: "Sean H. Breheny" <shb7spamKILLspamcornell.edu>
>Subject: Re: RC5 on a PIC?
>In-Reply-To: <.....199908231022.NAA14214KILLspamspam.....sekunda.pp.utu.fi>
>
>What about using a SCENIX chip instead? A SCENIX chip at 50 MHz has 5
times the speed of a 20MHz PIC. Since this is just number crunching, no
peripherals are needed and there is no trade-off.
>
>Sean
>
>At 01:22 PM 8/23/99 +0300, you wrote:
>>I've been toying with the idea of running that popular RC5 key search on a
>>PIC. Now, I realize it probably won't be cost effective, because I have
>>estimated the performance of it on a PIC - with $1 per a 20 MHz pic, I'd
spend
>>more money on just the PICs than buying a complete K6-2 or Celeron
system, to
>>get equivalent performance.
>>
>>What really hurts the performance is the 32-bit data, and how to handle it.
>>I've managed to do a 32-bit rotate (which can roll the data 0-31 bits left),
>>which takes 17-47 instruction cycles (average 35.25), but haven't looked
>>further into it. I'd be ecstatic if I managed to get above 5000 keys/second
>>from a single PIC, but I have a feeling that it will be difficult if not
even
>>impossible.
>>
|
| Sean Breheny
| Amateur Radio Callsign: KA3YXM
| Electrical Engineering Student
\--------------=----------------
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
EraseMEshb7spam_OUTspamTakeThisOuTcornell.edu ICQ #: 3329174
________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...