#avr | Logs for 2012-03-05

Back
[04:31:15] <WormFood> damn! I can't believe I had one of xtal frequencies wrong all this time in my baud rate calculator. I had 14.746 instead of 14.7456. When I looked at it this time, I thought it looked wrong.
[04:49:27] <Roklobsta> 38 hail mary's and press a DIP AVR into your palm pins first!
[05:03:35] <WormFood> well, I updated it now. I fixed a minor error that was causing an entry in my error logs, and made it work the way it was supposed to in the first place. Now when you want to calculate a custom bit rate, or clock speed, it just adds your custom values to the existing tables, if they're not already on the tables to start with...then calculate everything else like normal.
[05:08:20] <WormFood> and deleted some ugly code, that was shit...what was I thinking to write that part so fucked up? Now it is small and clean and easier to understand :D
[06:58:16] <WormFood> I'm updating the default baud rates on my avr baud rate calculator http://wormfood.net/avrbaudcalc.php if anyone wants to comment or make suggestions as what frequencies to add/remove, I'd be interested to hear what you have to say.
[06:59:28] <WormFood> I sorta want to keep the number of frequencies the same, or perhaps make it a bit smaller. I'm using http://en.wikipedia.org/wiki/Crystal_oscillator_frequencies as a reference to make some notes as to how common a frequency might be.
[07:00:05] <WormFood> I'm gonna remove all the frequencies on my chart, that are not listed on that page.
[07:14:25] <ziph> WormFood: Change it to give error probabilities based on a 16x majority oversampling UART?
[07:15:18] <WormFood> why would I want to change it to do that?
[07:16:09] <ziph> I can't remember, but I thought it was a good idea last time I was explaining the % error column to someone. ;)
[07:16:34] <ziph> Oh, because people think 3% error means 3% of your characters will be wrong.
[07:16:43] <WormFood> hahaha
[07:17:02] <WormFood> actually, 3% error rate would probably be ok until you get to super fast speeds
[07:17:29] <WormFood> I use the same formula that atmel does for calculating their error rates in their datasheets.
[07:17:50] <ziph> Why would 3% at high speed be worse than at low speed?
[07:19:16] <WormFood> lower tolerances
[07:19:32] <WormFood> more likely to get out of sync
[07:20:04] <WormFood> if I understand how it works, it should sync on the start of each byte
[07:20:12] <ziph> Yeap.
[07:20:32] <ziph> Then it takes 16 samples per bit and goes with the majority.
[07:20:46] <ziph> Or 8 or something.
[07:20:50] <WormFood> I thought it did 3 per bit
[07:21:02] <WormFood> or is that how one of the software uarts works?
[07:21:08] <ziph> Oh, maybe, I've had more UART's than girlfriends.
[07:21:26] <ziph> Nah, I thought the AVR one was at least 8 samples per bit.
[07:21:36] <WormFood> that is no surprise, since uarts are cheap and easy to get, and girlfriends are expensive
[07:21:43] <ziph> I'll say.
[07:22:01] <ziph> Anyhow, the game isn't over until the majority of those samples no longer fall within the final bit.
[07:22:10] <ziph> Which is up at 10% or so I think.
[07:23:17] <WormFood> baud
[07:23:30] <ziph> Hmm?
[07:24:10] <WormFood> point to focus, wrong window
[07:24:32] <WormFood> if you google for "baud", you'll find my page in the top 10 (at least it does for me)
[07:32:49] <ziph> WormFood: At what point do you make it red?
[07:34:15] <ziph> Oh, down the bottom mentions it.
[07:34:59] <ziph> WormFood: Over 5.5% is completely fatal.
[07:36:26] <ziph> WormFood: Maybe change red to start from there?
[07:37:37] <WormFood> really?
[07:37:41] <ziph> Yeah.
[07:37:43] <WormFood> where do you get that from?
[07:37:55] <WormFood> calculate? experience? other place?
[07:38:05] <ziph> Just calculated it again.
[07:38:19] <ziph> Say you've got 10 bits, the first is the start bit.
[07:38:39] <ziph> Assume the UART successfully determines the exact centre of the start bit.
[07:38:49] <ziph> It's then going to sample 9 more times.
[07:39:00] <WormFood> well, it won't determine the center if it is wrong
[07:39:01] <ziph> Each sample it accumulates an error "e".
[07:39:13] <ziph> The "e" is the same for each bit.
[07:39:21] <WormFood> change it from 10% to 5.5%
[07:39:24] <ziph> The last sample is then 9*e from the centre of the last bit.
[07:39:27] <WormFood> that is easy
[07:39:47] <ziph> For it to hit the last bit at all, 9*e < 1/2 T must be true.
[07:39:53] <ziph> Where T is the bit duration.
[07:40:12] <ziph> If you move that around a bit, e / T < 0.055 * T must be true.
[07:40:24] <ziph> e / T == % of error
[07:40:35] <ziph> I think. :)
[07:41:09] <ziph> If % of error == actual T - target T / target T
[07:41:41] <ziph> It can get the centre of the start bit wrong because there's usually some quantization in the sampling.
[07:41:58] <WormFood> ok, done
[07:42:01] <WormFood> take a look now
[07:42:02] <ziph> The UART will be registering the UART input into a flip flop based on the system clock.
[07:42:08] <WormFood> I also replaced 6 frequencies
[07:42:31] <WormFood> a lot more red on the tables now :P
[07:42:32] <ziph> So it'll be the centre of the start bit +/- 1/fclock
[07:44:04] <ziph> And for the AVR I think the entire UART runs off a multiple of the UBRR divider, so it's probably +/- whatever that clock happens to be.
[07:44:46] <ziph> (Just guessing, it could run from the system clock and just use UBRR*N for sampling)
[07:46:02] <WormFood> I should update the program to also show settings for newer AVRs
[07:46:24] <ziph> They've got fractional dividers?
[07:47:14] <WormFood> I forget what all they have
[07:47:19] <WormFood> bigger divider I think
[07:47:26] <WormFood> can get slower baud rates with faster CPUs
[07:48:25] <ziph> According to Google the XMEGA has a fractional divider.
[07:50:25] <ziph> That should've been e / T < 0.055 by the way.
[07:50:32] <ziph> No * T on the end.
[07:59:09] <elektrinis> whats 'fractional divider'
[08:00:30] <ziph> DividerOutput = DividerInput * X / Y
[08:25:29] <WormFood> ok, I finished my changes to my avr baud rate calculator. If anyone notices anything wrong, please let me know, so I can fix it. I should be all good now.
[08:25:49] <WormFood> *IT* should be all good not (not "I")
[08:54:57] <rue_house> WormFood,
[08:54:59] <rue_house> hey
[08:55:02] <rue_house> just a sec
[08:55:14] <rue_house> http://ruemohr.org
[08:56:06] <rue_house> oh nevermind, I'm thinking of the fuse calculator
[08:57:51] <WormFood> I wanted to make a fuse calc, but it was too much work.
[08:57:58] <WormFood> I want to expand my baud rate calc too
[09:00:39] <OndraSter> eya
[09:00:41] <OndraSter> capn
[09:00:44] <OndraSter> !seen capnkernel
[09:00:59] <OndraSter> !seen capnkernel
[09:00:59] <tobbor> CapnKernel was last seen in #avr on Mar 05 04:53 2012
[09:01:05] <OndraSter> what timezone, tobbor
[09:02:23] <ureif> TST
[09:03:38] <OndraSter> tobbor's timezone?
[09:05:32] <rue_house> here
[09:05:33] <rue_house> !time
[09:05:33] <tobbor> My watch says its 06:58 Mon Mar 05 2012
[09:05:38] <rue_house> gmt-8
[09:06:08] <rue_house> WormFood, the fuse calculator needs a proper avrdude example command line
[09:06:25] <rue_house> I'd also like a timer divider calculator
[09:06:39] <rue_house> maybe I should make that up
[09:20:25] <OndraSter> so
[09:20:30] <OndraSter> MITx started :)
[09:26:38] <specing> :/ no time
[09:26:47] <specing> maybe next year
[09:35:29] <dirty_d> why is flux so expensive?
[09:39:44] <dirty_d> OndraSter, it started?
[09:40:27] <OndraSter> today
[09:40:30] <OndraSter> opened for login
[09:44:01] <specing> dirty_d: how so? Its only 5E
[09:44:16] <dirty_d> from where?
[09:44:20] <specing> farnell
[09:44:21] <dirty_d> the good stuff?
[09:44:28] <specing> works for me (tm)
[09:44:31] <dirty_d> i see it for like $15 for a 5ml syringe
[09:44:41] <specing> I have it in a a pen
[09:44:46] <specing> easy to use
[09:46:30] <dirty_d> i have one of those too
[09:46:32] <dirty_d> but it sucks
[09:46:43] <dirty_d> i just looks and smalls like alchohol
[09:46:54] <dirty_d> and dries up in like 5 seconds
[09:47:20] <dirty_d> i want that stuff i see in videos that just stays liquid and doesnt boil off even with a hot iron in it.
[09:48:03] <OndraSter> flux or paste?
[09:49:14] <specing> dirty_d: tqfp32 0.4mm no problem
[09:49:37] <dirty_d> OndraSter, flux
[09:49:42] <OndraSter> ah
[09:50:21] <cyanide> hello folks
[09:50:25] <dirty_d> hello
[09:50:27] <OndraSter> hello cyanide
[09:50:38] <cyanide> hello dirty_d and OndraSter
[09:50:50] <dirty_d> i find tqfp easy, id want better stuff for qfn though
[09:50:58] <dirty_d> i just use an iron on tqfp
[09:51:04] <cyanide> https://www.facebook.com/photo.php?fbid=399416226738582&set=a.175413229138884.47090.175408635806010&type=1&ref=nf
[09:51:05] <cyanide> ahahaha
[09:51:10] <cyanide> i know i'd do that
[09:51:24] <dirty_d> wtf, lol
[09:51:31] <OndraSter> PUT THAT FACEBOOK CRAP AWAY!
[09:51:32] <OndraSter> jk
[09:51:33] <OndraSter> :P
[09:51:45] <cyanide> not when it's a bike, boss
[09:51:51] <OndraSter> lol
[09:51:53] <cyanide> anyone here into bikes?
[09:52:08] <OndraSter> do they run on AVR? :D
[09:52:45] <elektrinis> mine does
[09:53:06] <OndraSter> CapnKernel, eya
[09:53:08] <OndraSter> wassup
[09:53:32] <cyanide> OndraSter, mine will :)
[09:53:35] <OndraSter> so, how much would it be for some smaller xmega?
[09:53:41] <cyanide> avr + freescale
[09:54:01] <OndraSter> 32kB flash, USB, at least 16 unused IO (full 2 ports)
[09:54:21] <OndraSter> CapnKernel, ^
[09:54:22] <cyanide> xmega32a4u
[09:54:29] <dirty_d> thats what im using
[09:54:45] <cyanide> yeah, good specs. and mouser sells for 3.74 per 10
[09:54:51] <dirty_d> OndraSter, definitely get the ones that end in U
[09:54:58] <OndraSter> newer rev?
[09:55:00] <cyanide> ive bought a akafuino to test
[09:55:03] <dirty_d> they are the new ones with the hardware bug fixes and usb
[09:55:07] <OndraSter> ah
[09:55:09] <cyanide> the ones ending in u have usb
[09:55:18] <CapnKernel> OndraSter: Hi there. Hello everyone.
[09:55:20] <dirty_d> the older ones have lots of problems i guess
[09:55:25] <cyanide> and hardware bug fixes, as i've just learnt
[09:55:30] <cyanide> dirty_d, whats the fixes?
[09:55:35] <cyanide> brb
[09:55:37] <dirty_d> cyanide, everything in the errata
[09:55:48] <dirty_d> cyanide, the new ones only have 2 things in the errata
[09:55:54] <dirty_d> never used the old ones
[09:56:17] <CapnKernel> Is Tom_itx around?
[09:56:31] <CapnKernel> His board is back from the fab house, I'm mailing it off tomorrow :-)
[09:58:22] <OndraSter> CapnKernel, those xmegas, what about xmega32a4u? :)
[09:59:03] <OndraSter> eya Dean
[10:00:08] <abcminiuser> Heyo
[10:00:57] <CapnKernel> I can but ask. You were after just a few, right?
[10:01:03] <OndraSter> yeah
[10:01:28] <CapnKernel> You in a hurry for them, or will the free but leisurely postage do?
[10:01:37] <OndraSter> no hurry at all
[10:01:40] <OndraSter> it is for future stuff :)
[10:01:45] <OndraSter> holiday probably
[10:01:51] <OndraSter> some DIY dev board most likely...
[10:04:32] <OndraSter> farnell has them for about $5.5/piece for 1 - 24
[10:04:34] <OndraSter> quite a lot
[10:04:45] <OndraSter> too bad mouser and digikey have so high shipping to here :(
[10:05:34] <OndraSter> no xmega32a4u on digikey?!
[10:06:09] <OndraSter> mouser wants 4.4€
[10:06:16] <OndraSter> european mouser :(
[10:07:09] <OndraSter> cyanide, where on mouser are those for $3.7/10pcs?
[10:08:46] <dirty_d> CapnKernel, you can get xmegas for cheap? whats goin on?
[10:09:22] <dirty_d> OndraSter, http://www.mouser.com/ProductDetail/Atmel/ATXMEGA32A4U-AU/?qs=sGAEpiMZZMvu0Nwh4cA1wSee80yVS%2fRql1ahhiMdI2Y%3d
[10:10:41] <cyanide> yeh
[10:10:46] <cyanide> or on in.mouser.com
[10:11:10] <dirty_d> OndraSter, what are you gonna make with it?
[10:11:36] <dirty_d> thats a nice freakin uc
[10:12:15] <OndraSter> 1:
[10:12:16] <OndraSter> $5.78
[10:12:16] <OndraSter> 10:
[10:12:16] <OndraSter> $4.05
[10:12:16] <OndraSter> 25:
[10:12:17] <OndraSter> $3.63
[10:12:18] <OndraSter> 100:
[10:12:23] <OndraSter> $3.30
[10:12:25] <OndraSter> damn
[10:12:32] <dirty_d> OndraSter, your prices are different than mine :/
[10:12:37] <OndraSter> hmm
[10:12:53] <CapnKernel> dirty_d: Are you the last to know I live in the city with the world's largest electronics market? :-)
[10:12:53] <cyanide> http://i.imgur.com/Z0UXO.gif
[10:12:54] <cyanide> haha
[10:13:09] <dirty_d> CapnKernel, lol, how much can you get those for?
[10:13:37] <CapnKernel> cyanide: You're scaring me
[10:13:41] <dirty_d> cyanide, dude, that creeped me the fuck out
[10:13:44] <cyanide> lol
[10:14:03] <CapnKernel> dirty_d: I won't know until I go to the market tomorrow.
[10:14:12] <dirty_d> CapnKernel, cool
[10:14:18] <CapnKernel> I think I'd rather be rick-rolled :-)
[10:14:21] <dirty_d> lol
[10:14:29] <CapnKernel> cyanide: That is so NSFH
[10:14:46] <cyanide> h?
[10:14:48] <OndraSter> nsf what?
[10:14:51] <CapnKernel> Not Suitable For Home
[10:14:56] <OndraSter> home?
[10:14:57] <OndraSter> heh
[10:15:45] <mrfrenzy> CapnKernel: can you do small quantities? I need 10 ISD4003-04M today, maybe 100 later
[10:16:30] <dirty_d> im confused? http://www.mouser.com/ProductDetail/Atmel/ATXMEGA128A3U-AUR/?qs=sGAEpiMZZMvu0Nwh4cA1wUJZ5enhX7o1xWD3Il33R4Y%3d
[10:16:34] <dirty_d> $0.09?
[10:16:39] <OndraSter> lol
[10:18:16] <dirty_d> that cant be right can it?
[10:18:33] <OndraSter> nope
[10:18:56] <mrfrenzy> 0 stock
[10:19:08] <dirty_d> oh yea
[10:19:15] <cyanide> put it on backorder lol
[10:19:19] <dirty_d> OndraSter, what do you want to make with one?
[10:19:35] <OndraSter> arduino without arduino :P
[10:19:40] <OndraSter> with better mega
[10:19:41] <OndraSter> xmega!
[10:19:49] <OndraSter> not sure yet
[10:20:12] <dirty_d> cool
[10:20:26] <dirty_d> i just got the email for that free mit course
[10:20:35] <mrfrenzy> it started today
[10:20:36] <dirty_d> im immedietly regreting this
[10:20:39] <dirty_d> lol
[10:20:59] <mrfrenzy> unfortunately I don't have time to participate
[10:22:16] <CapnKernel> mrfrenzy: I'd like to try.
[10:24:29] <giaour> Hi all
[10:24:55] <giaour> Has anyone managed to get avr-stl working on the Arduino IDE on linux?
[10:25:13] <giaour> I followed the instructions on the creator's website, and it seems to lead to nowhere.
[10:33:32] <Casper> giaour: no support here for anything arduino junk related
[10:34:26] <cyanide> dont call it junk man
[10:34:30] <cyanide> that's how i got started
[10:34:36] <Casper> it's still junk
[10:34:38] <cyanide> and im sure you'd be less happy if i wasnt here today
[10:34:53] <cyanide> lol
[10:34:53] <OndraSter> i need to reboot back to W7
[10:34:57] <OndraSter> hopefuly working this time lol
[10:37:19] <giaour> arduino junk related? That's a pretty stupid thing to say. While it may be very shitty, as cyanide and many others said, this shit is like VB. Maybe it's junk, but it got a lot of people started on doing good work later on. Anyway, thanks.
[10:39:34] <Casper> still junk, teach bad coding technics (you can't code well in ardino), hide too many things. the only advantage, and it's even debatable, is the simplicity, which most find that it's just harder than learning proper C
[10:39:44] <Casper> so really, no advantage
[10:40:20] <giaour> I can't. I use vim and I use STL with C++ out of need to give my client some clean code that he can later run easily through the arduino IDE.
[10:40:30] <giaour> Helping the artist out to learn how to dump that junk later on.
[10:43:18] <giaour> I would've liked it if it were C though, I'll see if I can use C to implement what I needed from the STL and dump this crap altogether, without the IDE yelling at me. It makes the binary huge anyway.
[10:43:27] <vectory> is someone taking part in http://6002x.mitx.mit.edu ?
[10:45:25] <giaour> Thanks for the reminder, vectory :p I thought they'd email folks who signed up early for that.
[10:45:31] <giaour> I will take part.
[10:45:43] <dirty_d> vectory, im doing it now, lol
[10:45:48] <OndraSter> hah W7 didn't boot because I was booting the one I had in VHD and borked... lol
[10:45:57] <OndraSter> instead my original W7Prof
[10:46:02] <vectory> dirty_d: great, i just logged in :)
[10:46:17] <dirty_d> im watching boring videos
[10:46:17] <vectory> having a comrade is a good thing off the start
[10:46:26] <dirty_d> yea
[10:47:00] <OndraSter> hmm somebody is selling Iwatsu SS-7611 scope
[10:47:03] <OndraSter> 4channel, analog
[10:47:05] <OndraSter> 100MHz
[10:47:22] <OndraSter> as borked, "buttons on the left side do not work"
[10:47:27] <OndraSter> the ones on the right side do
[10:47:32] <OndraSter> I'm guessing disconnected cable
[10:47:36] <OndraSter> too bad it is auction :/
[10:47:46] <OndraSter> and not "buy now"
[10:48:21] <OndraSter> I should try my favourite "eya, I am not gonna be there when it ends, would you be willing to sell it for some nice amount directly?" lol
[10:48:38] <cyanide> just snipe it
[10:48:43] <cyanide> thats what id do
[10:49:03] <specing> Oh cool, I have a virus!
[10:49:11] * specing is excited
[10:49:20] <specing> /mnt/usb0/8xcrbho6.exe: Exploit.PDF-9871 FOUND
[10:49:22] <OndraSter> but it might go high :P
[10:49:24] <OndraSter> the price
[10:49:54] * CapnKernel is feeling deprived: No viruses for me :-(
[10:49:59] <specing> :(
[10:50:03] <CapnKernel> Why can't I be like all the cool kids?
[10:50:11] <cyanide> CapnKernel, 30 x 8 mm pcb, whats an approx cost?
[10:50:29] <cyanide> its jst got 33 holes in it, no copper
[10:50:30] <cyanide> lol
[10:50:35] <CapnKernel> Depends on the specs. Come into my private room and find out :-)
[10:50:41] <mrfrenzy> yeah, would probably be good with a few examples online
[10:53:03] <giaour> The Room - Biography of CapnKernel.
[10:53:37] <cyanide> stupid rulemakers
[10:53:59] <cyanide> the championship im building my car for has upped the max displacement limit to 1.7L
[10:54:19] <cyanide> tards
[10:56:11] <cyanide> fuck it, i'll go lighter and beat them
[10:56:13] <CapnKernel> You have to wonder who knew about that all along before it was announced
[10:56:57] <cyanide> heh, some of the people involved in the rulemaking are also running their own teams
[10:57:37] <CapnKernel> Asswipes
[10:57:39] <cyanide> still, the rules stipulate that the min weight of the cars has to be displacement (cc) / 1.75
[10:57:42] <cyanide> so i can run lighter
[10:57:58] <Tom_itx> CapnKernel how many 'private' rooms do you rent?
[10:58:02] <CapnKernel> How do they measure displacement?
[10:58:16] <CapnKernel> It's called a PM Tom, and your boards will ship tomorrow :-)
[10:58:26] <Tom_itx> :)
[10:58:29] <Tom_itx> that's what i was after
[10:58:40] <cyanide> you have to list your bore x stroke when you enter the championship. and they are authorized to strip your engine anytime they wish
[10:58:45] <Tom_itx> no rush on my part just checking in
[10:59:13] <CapnKernel> And your samples should be well into their journey by now
[10:59:25] <Tom_itx> via sailboat?
[10:59:28] <cyanide> if you feel someone is cheating, you can pay 200 usd and file a complaint. if you're correct, you get your money back
[11:00:17] <CapnKernel> To be honest, I don't know. I don't think so, as the mean shipping time is less than if it was on a boat
[11:02:22] <dirty_d> vectory, what part are you on?
[11:03:08] <vectory> hm? didnt start yet. g2g
[11:03:34] <dirty_d> oh
[12:13:42] <OndraSter> guys, can you actually debug interrupts?
[12:13:45] <OndraSter> I have got there breakpoint
[12:13:48] <OndraSter> but it doesn't fire up
[12:13:51] <OndraSter> but I know the interrupt does run
[12:16:41] <Steffanx> LED's :P
[12:21:28] <OndraSter> duh
[12:21:32] <asteve> leds work (Sort of); you need to step through the code
[12:21:35] <OndraSter> Registers AREN'T clean after powerup?
[12:21:48] <OndraSter> ..
[12:21:49] <asteve> always assume the register is dirty
[12:21:49] <OndraSter> oh well
[12:21:51] <OndraSter> lesson learned
[12:21:52] <OndraSter> yeah
[12:21:57] <OndraSter> I am already cleaning SRAM
[12:22:01] <OndraSter> didn't think about registers
[12:22:06] <OndraSter> that explains why it doesn't work :P
[12:27:53] <OndraSter> I need to clear table so I can actually put my tools there...
[12:27:57] <OndraSter> and not hold it on my knees :D
[12:28:22] <asteve> you should see a picture of my work space :)
[12:28:47] <asteve> past projects, music, general disarray :)
[12:28:50] <Tom_itx> would i be jealous?
[12:29:00] <OndraSter> :D
[12:29:12] <Tom_itx> one good swoop of the arm can fix it
[12:30:19] <asteve> i think the problem is i solve the problem with a swoop of the arm
[12:30:42] <asteve> now there's a bunch of parts in the left of the table, a bunch in the right, a bunch in the middle; i need the middle so i push everything to one side
[12:40:25] <OndraSter> damn
[12:40:32] <OndraSter> I was just debugging some bug without the ability to break the code
[12:40:38] <OndraSter> funny thing - INC instruction DOESN'T set H flag :(
[12:40:41] <OndraSter> aka half overflow
[12:51:26] <vectory> oi
[12:51:33] <vectory> hi RikusW
[12:51:51] <RikusW> hi vectory
[12:52:24] <vectory> i ment to ask, on your dev board, are the buttons debounced in hard- or software?
[12:52:48] <RikusW> not at all
[12:53:07] <RikusW> because of the way reset works its not really necessary
[12:53:28] <vectory> so, you got debounce for free :D
[12:53:45] <RikusW> actually, there might be some minimal debouncing in the bootloader code
[12:54:05] <RikusW> you'll have to debounce the select button if you want to use it from custom firmware
[12:54:17] <RikusW> on C4
[12:54:26] <vectory> aha
[12:55:26] <RikusW> how much have you used the board ?
[12:57:13] <vectory> not at all, i have to admit
[12:57:35] <RikusW> been too busy ?
[12:57:36] <vectory> didnt get around to fix windows, and i didnt find a good tut for using avr-as
[12:57:43] <vectory> not really
[12:58:04] <RikusW> and as programmer for other avrs ?
[12:58:16] <vectory> thats its intended purpose
[12:58:27] <vectory> dor me at least
[12:58:31] <vectory> for*
[12:58:51] <vectory> bought some stuff round new years, didnt come further than unpacking
[12:58:57] <RikusW> you've seen the HVPP board on my site ?
[12:59:08] <RikusW> I've added the PCB layout too, at 600 dpi
[12:59:10] <vectory> hm? the schematic
[12:59:20] <RikusW> that too
[12:59:44] <RikusW> using st662 5 to 12V converter
[12:59:52] <RikusW> tested it on m8 and it worked
[13:00:15] <RikusW> look on the stk500 page
[13:00:16] <vectory> outch, no pin lables
[13:00:34] <vectory> should be selfexplainatory i guess
[13:00:43] <RikusW> get the st662 datasheet
[13:00:48] <RikusW> its fairly simple
[13:01:06] <RikusW> I used 2 100nF caps instead of 220nF
[13:01:20] <RikusW> I have a whole lot of 0603 100nF here
[13:02:09] <RikusW> and the top pinout is the same as the dragons HVPP pinout
[13:02:32] <RikusW> I made my own surfacemount headers from normal ones
[13:02:59] <RikusW> just plugged it into an old floppy cable and bent the pins 90deg
[13:03:48] <vectory> thought i might need hvpp/hvsp, if i want to disable reset to get a free pin on t2123
[13:04:07] <dirty_d> vectory, this is kinda tough
[13:04:19] <RikusW> t2313 ?
[13:04:45] <vectory> yeah, so i ignored that problem/whole project for quite a while. now i have a hard time reading what i wrote then
[13:04:51] <RikusW> vectory there is 2 circuits, the other requires 11v8 to 12v7
[13:04:52] <vectory> tiny2313, yes
[13:05:06] <RikusW> using st662 is just easier
[13:05:35] <vectory> is it a boost converter?
[13:05:56] <RikusW> switched capacitance converter
[13:06:16] <RikusW> vectory: tell me about forgetting your own code ;)
[13:06:44] <vectory> i commented well, tho, or at least i thought i did :)
[13:07:38] <RikusW> asm can get worse....
[13:10:24] <vectory> i was wondering about interupts, having 2 timers run at different frequencies. gotta pay attention that the ISRs dont overlap.
[13:10:51] <vectory> or at least, that they dont stack up.
[13:11:21] <vectory> having that said, iirc, when one interupt routine is running, no other will start before the first one is finished, right?
[13:12:02] <RikusW> I bit is cleared during interrupts
[13:14:53] <RikusW> so one would run after the other
[13:15:27] <RikusW> but for some interrupts that won't work, like pin level interrupt
[13:16:23] <Landon> I was wondering about this earlier, the timer keeps on going after the interrupt correct?
[13:16:40] <Landon> so you should still get the same period, except there might be a small hiccup when your interrupts overlap
[13:16:45] <RikusW> the interrupt bits stays set afaik
[13:17:02] <RikusW> yes
[13:17:57] <OndraSter> ;MOV R16, R6
[13:17:57] <OndraSter> ;RCALL SPI_Send
[13:17:58] <RikusW> however being in an ISR may cause some interrupts to be lost, like pin-level
[13:18:00] <OndraSter> vs
[13:18:00] <OndraSter> OUT SPDR, R6
[13:18:08] <OndraSter> (do not care for the ;, they are just commented out)
[13:18:45] <OndraSter> funny thing - when I do that SPI_Send (which simply sends data to SPDR and waits for flag to be raised), it corrupts data
[13:18:47] <OndraSter> somehow
[13:18:49] <OndraSter> :o)
[13:18:51] <RikusW> you should first check if you may send....
[13:19:06] <OndraSter> I do check if the data are sent
[13:19:22] <OndraSter> SPI_Send:
[13:19:22] <OndraSter> OUT SPDR, R16
[13:19:22] <OndraSter> SBIS SPSR, SPIF
[13:19:22] <OndraSter> RJMP SPI_Send ; wait for transmission
[13:19:22] <OndraSter> RET
[13:19:29] <OndraSter> (I know, pastebin.. but 5 lines!)
[13:19:44] <RikusW> you should wait first then send
[13:19:49] <RikusW> wait for the previous byte to complete
[13:20:52] <OndraSter> funny thing - the first byte you ever transmit would have to go outside this
[13:20:56] <OndraSter> it is just temporary anyway
[13:21:16] <OndraSter> because before first transmit the flag is not 1 :P
[13:21:34] <RikusW> !!!!! RJMP SPI_Send ; wait for transmission
[13:21:37] <RikusW> your problem
[13:21:45] <OndraSter> oh
[13:21:47] <OndraSter> OH
[13:21:48] <OndraSter> dude.
[13:21:52] <OndraSter> I feel stupid now lol
[13:21:56] <OndraSter> overwriting the SPDR
[13:22:33] <OndraSter> yeah, I need 3rd and 4th eye
[13:22:34] <OndraSter> :P
[13:23:02] <RikusW> it should jump to just before sbis
[13:23:04] <RikusW> and after out....
[13:23:07] <OndraSter> yeah
[13:23:08] <OndraSter> I know
[13:23:13] <OndraSter> I realized it
[13:23:14] <OndraSter> thanks
[13:23:40] <RikusW> :-P
[13:23:43] <RikusW> lol
[13:25:00] <OndraSter> well, time to uncomment my whole code :P
[13:25:20] <OndraSter> I still want the scope lol
[13:26:12] <OndraSter> okay, 457k rise pulses on SCK line per second
[13:26:25] <OndraSter> (I have just timer/counter. not scope :( )
[13:28:24] <OndraSter> yeah, 0.1224kHz on MOSFET lines, that sounds about right
[13:28:28] <OndraSter> 122Hz
[13:28:39] <OndraSter> 122 pulses
[13:29:10] <OndraSter> 30 refreshes * 4
[13:29:18] <OndraSter> +- some timing around it
[13:30:44] <RikusW> what are you building ?
[13:30:52] <OndraSter> I am the LED matrix guy
[13:32:49] <OndraSter> the guy with 80MHz counter but without scope :(
[13:38:03] <OndraSter> do atmegas get hot?
[13:38:15] <OndraSter> the only atmega that gets hot is the one on Dragon...
[13:38:21] <OndraSter> the 128a one
[13:38:26] <OndraSter> and not always
[13:38:31] <Steffanx> I have that too, but mine is broken :P
[13:38:36] <OndraSter> :D
[13:38:38] <OndraSter> mine works
[13:38:46] <OndraSter> haven't tried ISP interface, only JTAG though.
[13:38:50] <OndraSter> nor HVPP/HVSP
[13:39:21] <Steffanx> Oh, no on mine the 2560 gets hot
[13:39:37] <Steffanx> The fw upgrade still works though
[13:40:05] <OndraSter> heh
[13:40:26] <OndraSter> btw, I have here the counter I got from school in exchange for RJ45 crimping tool
[13:40:33] <OndraSter> it was in the basement, covered in dust
[13:40:38] <RikusW> Steffanx: get someone to decap it and steal the fw ;)
[13:40:43] <OndraSter> I got even 20Hz - 50MHz oscillator with it :P
[13:40:56] * Steffanx sends it to RikusW
[13:41:11] <OndraSter> the box with the counter is huge though
[13:41:17] <OndraSter> REALLY huge
[13:41:59] * RikusW don't have a FIB :|
[13:42:46] <OndraSter> https://www.circuitlab.com/
[13:42:48] <OndraSter> HTML5 :)
[13:43:41] <Steffanx> Hmm, why i expect it to be drag and drop?
[13:44:07] <OndraSter> :)
[13:47:51] <OndraSter> it works actually :P
[13:47:54] <OndraSter> and it is quite cool
[14:21:10] <dirty_d> https://6002x.mitx.mit.edu/static/circuits/four.gif
[14:21:39] <dirty_d> if you know the voltage and current of hte sources and resistances, how do you do that?
[14:22:09] <dirty_d> if one or the other sources were gone, itd be easy
[14:22:32] <vectory> >_<
[14:24:31] <dirty_d> wait actually it might be simple
[14:26:40] <asteve> that's a very easy circuit to analyze
[14:27:29] <vectory> thats the point. its first lecture
[14:27:55] <dirty_d> asteve, enlighten me
[14:28:08] <BusError> I'm trying to cut/paste between schematics in Eagle... it won't let me paste because "package variant 0603-CAP in the old version of device set CAP is not present in the new version of this device set" --- tried updating libraries in the old schematic etc... no luck. Any idea how to get around this ?
[14:28:12] <asteve> how much do you know?
[14:28:14] <vectory> dont do it, asteve. let him find the solution on his own
[14:28:31] <vectory> >:)
[14:28:31] * BusError says something rude about 1980's software interface
[14:28:37] <dirty_d> asteve, ive gotten by without knowing how to do stuff like this pretty well, lol
[14:28:50] <asteve> dirty_d: how much do you know about circuit analysis?
[14:29:01] <dirty_d> analysis, not much
[14:29:04] <mrfrenzy> kan bli det
[14:29:09] <mrfrenzy> sorry wrong win
[14:29:21] <asteve> dirty_d: you'll come up with a set of equations for that circuit
[14:29:24] <dirty_d> asteve, kvl/kcl in simpler circuits with that
[14:29:26] <dirty_d> than*
[14:30:19] <dirty_d> what kind of equations will they be?
[14:30:50] <vectory> normalized equation system
[14:30:54] <vectory> right?
[14:34:26] <dirty_d> me? i dunno
[14:37:02] <asteve> kvl/ kcl is correct
[14:37:10] <vectory> whats that
[14:37:26] <dirty_d> k-man's voltage/current law
[14:37:38] <RikusW> RS is still billing me for the undeliverable xmega :'(
[14:37:41] <vectory> ah, ye
[14:37:52] <dirty_d> RikusW, which one did you get?
[14:38:05] <RikusW> 256a3 iirc
[14:38:07] <vectory> send the bill to your government, they kept it, they pay for it
[14:38:16] <dirty_d> oh
[14:38:27] <RikusW> they couldn't import it
[14:38:29] <asteve> supernode, like superman
[14:38:36] <RikusW> so they gave me credit...
[14:38:36] <asteve> ^ alok berry
[14:38:46] <RikusW> but the accounts department disagrees....
[14:40:26] <RikusW> ZAR 85 overdue 110 days.... grrr
[14:40:49] <specing> wut?
[14:41:27] <RikusW> RS keeps bugging me about 8 Euro....
[14:41:40] <specing> How come they couldn't import it?
[14:41:43] <RikusW> because of their screwed up accounting system
[14:42:00] <specing> How so?
[14:42:20] <RikusW> because it contains an encryption module, and they couldn't get an import license for it
[14:42:23] <vectory> they couldnt import because SA has a ban on encryption techniques
[14:42:40] <specing> RikusW: you can't import encryption to SAR?
[14:42:53] <RikusW> vectory: not quite a ban, just some restrictions....
[14:43:06] <specing> No problem, make CapnKernel send you one
[14:43:15] <RikusW> though my 3a3 xplain board does have encryption afaik :-P
[14:43:30] <RikusW> but a different company imported it
[14:43:37] <specing> Is the encryption DES or AES or both or something else?
[14:43:44] <RikusW> the official atmel rep for SA
[14:43:50] <RikusW> specing: both
[14:43:57] <specing> C000l
[14:44:00] <RikusW> in HW inside xmega
[14:44:10] <specing> And the speed is?
[14:44:22] <RikusW> there is a DES instruction and AES module
[14:44:34] <RikusW> much higher than FW
[14:45:03] <specing> That is understandable
[14:45:13] <RikusW> the really braindead thing about all this is that I could implement encryption on any microcontroller in FW....
[14:45:14] <specing> but is there a figure in MB/s?
[14:45:47] * RikusW goes looking for some figures
[14:46:53] <RikusW> DES is supported by a DES instruction in the AVR XMEGA CPU. The 8-byte key and 8-byte
[14:47:08] <RikusW> data blocks must be loaded into the Register file, and then DES must be executed 16 times to
[14:47:08] <RikusW> encrypt/decrypt the data block.
[14:47:37] <RikusW> AES = 375 clocks per 16 bytes
[14:47:54] <specing> sloooow
[14:48:46] <RikusW> DES instruction = 1 clock
[14:48:57] <RikusW> so much faster than AES
[14:49:08] <specing> FPGA?
[14:49:19] <RikusW> AES in FW would be even slower I guess
[14:49:44] <RikusW> should speed up anything ;)
[14:50:55] <RikusW> DES would take about 64 clocks per 16 bytes including loading and storing in ram
[14:51:29] <OndraSter> doesn't just loading/saving take 2 cycles?
[14:51:36] <specing> yesss
[14:51:36] <OndraSter> or 3 even
[14:51:44] <specing> its uber slow
[14:51:52] <OndraSter> yeah :(
[14:52:10] <specing> unless that avr is acting as a passthrough device
[14:52:47] <specing> rx -> reg -> des -> reg -> tx
[14:53:06] <RikusW> you still need to load the key each time
[14:53:09] <specing> that eliminates all those ld/st
[14:53:22] <specing> RikusW: you can keep it in upper registers
[14:53:31] <specing> RikusW: then its just 4 cycles of movw?
[14:53:45] <RikusW> yes
[14:53:55] <RikusW> was just about to mention movw ;)
[14:54:05] <specing> movw to the rescue! :D
[14:54:08] <OndraSter> CapnKernel, do you have also some regular megas on stock/available cheaply? :)
[14:54:32] <OndraSter> targetting mega32 some kind of
[14:54:34] <specing> CapnKernel: I think you should make a list of all AVRs you can get there >_>
[14:55:04] <OndraSter> with prices :P
[14:55:07] <RikusW> OndraSter: how about mega32u2 ?
[14:55:15] <OndraSter> let me check it
[14:55:28] <RikusW> though its tqfp/qfn only
[14:55:44] <RikusW> mega324A is quite cheap
[14:55:55] <OndraSter> I dont mind using tqfp or qfn ones
[14:56:00] <RikusW> cheaper than m328P over here
[14:56:23] <OndraSter> anything that can do 16MHz (or 20MHz even), has 32kB flash (16kB would be probably enough aswell... but hey, 32kB is not much of a price difference)
[14:56:27] <OndraSter> and is cheaaaap
[14:56:53] <RikusW> m324A was like 3 Euro
[14:57:07] <RikusW> at RS
[14:57:22] <RikusW> or ZAR 31
[14:57:30] <OndraSter> 32u2 cheapest on farnell...
[14:57:38] <OndraSter> mouser is probably better choice to compare on
[14:57:41] <RikusW> and m324A ?
[14:58:03] <OndraSter> a bit more
[14:58:08] <OndraSter> like... 50% more almost
[14:58:21] <OndraSter> it has more pins though
[14:58:23] <OndraSter> I don't need much
[14:58:32] <OndraSter> one 8bit port and few more for timers
[14:59:07] <RikusW> 32u2 is usb too
[14:59:26] <OndraSter> wow
[14:59:28] <OndraSter> that is cool
[14:59:32] <OndraSter> just reading ds
[14:59:38] <OndraSter> 32u2 is cheap
[14:59:47] <OndraSter> $4.something on farnell
[15:01:18] <specing> where is CapnKernel ?
[15:01:18] <OndraSter> 32u2 fits my needs exactly
[15:01:22] <OndraSter> even more than I need actually even
[15:01:26] <specing> Shouldn't he be on at this time?
[15:01:29] <OndraSter> no need for USB...
[15:01:37] <OndraSter> but if it is cheaper than anything else, why not :P
[15:01:40] <RikusW> check www.rs-components.com
[15:01:41] <mrfrenzy> what timezone do they have over there?
[15:01:55] <specing> GMT+10 or sth like that
[15:01:57] <OndraSter> RikusW, remember, I will be driven by CapnKernel 's prices
[15:02:29] <OndraSter> mega168a vs mega32u2? $1 difference
[15:02:47] <RikusW> and m328 ?
[15:03:44] <OndraSter> more than u2
[15:03:47] <OndraSter> 32u2
[15:06:00] <OndraSter> hmm at32uc3l016 costs the same as mega32u2
[15:06:02] <OndraSter> let's see
[15:07:28] <RikusW> http://pastebin.com/NnqB7AZU
[15:07:44] <RikusW> uc3l is AVR32
[15:08:00] <RikusW> pasted a list of suppliers
[15:08:08] <OndraSter> I know that is it avr32
[15:08:10] <OndraSter> that it is*
[15:08:22] <OndraSter> I'd like to get some of them to see what it can do too :)
[15:08:23] <RikusW> got it from Elektor 11/2009
[15:08:31] <OndraSter> because they look quite good, a LOT of features
[15:08:34] <OndraSter> with high perfomanc
[15:08:35] <OndraSter> e
[15:08:55] <RikusW> I have 3a3256 xplain board, it does hi-speed usb
[15:09:09] <RikusW> haven't really used it much
[15:09:27] <RikusW> avr32 is quite different from avr8
[15:09:46] <OndraSter> how come?
[15:10:14] <RikusW> go and read an avr32 datasheet
[15:10:23] <OndraSter> doing it right now
[15:10:28] <RikusW> its more like arm than avr
[15:10:31] <OndraSter> yeah
[15:10:44] <OndraSter> flash + IOs + SRAM is all mapped into one memory space
[15:11:15] <RikusW> which means execute from sram, which is nice
[15:11:21] <OndraSter> yeah
[15:11:29] <OndraSter> that's what I miss on (x)megas often :P
[15:12:05] <RikusW> 3a3256 got 64kb sram
[15:12:11] <OndraSter> :o)
[15:13:02] <RikusW> or is that 128kb
[15:13:03] <RikusW> seems so
[15:13:20] <OndraSter> yay
[15:13:21] <RikusW> 64kb on the cpu and 64kb on the HSB
[15:13:32] <OndraSter> it is rather complex MCU
[15:13:37] <OndraSter> super complex MCU :P
[15:14:39] <RikusW> now you see why I haven't used mine much yet ;)
[15:15:18] <cyanide> ladies
[15:15:29] <OndraSter> cyanide, get your happines already
[15:15:38] <cyanide> im building a traction control circuit for racecars. 5x5 cm. fuck yea :)
[15:15:45] <dirty_d> cyanide, thats awesome
[15:15:50] <dirty_d> cyanide, how does it work
[15:15:54] <cyanide> sensors external though, mounted near the wheels
[15:15:56] <RikusW> the 3a3 xplain board got 8MB sdram too
[15:16:25] <dirty_d> cyanide, does it control engine power or some kinda electromechanical clutch?
[15:16:39] <cyanide> takes in wheel speeds of all 4 sensors via hall effect sensors. on sensing a difference in wheel speeds beyond normal values, it will output a digital signal via one of the gpio pins
[15:16:49] <cyanide> that connects to any ecu
[15:17:08] <dirty_d> i wanted to do something similat ro that for my mustang, lol
[15:17:10] <cyanide> and using ecu logic, you can control the ignition advance to the engine
[15:17:40] <cyanide> the more the ignition is retarded, the lesser the engine power
[15:17:44] <dirty_d> so it decreases power by retarding timing?
[15:17:49] <cyanide> yes
[15:17:49] <dirty_d> ahh, cool
[15:17:55] <dirty_d> good idea
[15:18:04] <cyanide> basically what f1 cars had a few years back
[15:18:08] <dirty_d> much faster than controling fuel flow
[15:18:18] <cyanide> they didnt have electronic brakeforce distribution, and we don't
[15:18:32] <cyanide> so easiest is retarding timing by small amounts
[15:18:38] <dirty_d> yea
[15:18:44] <cyanide> even about 1 degree of retard will cut down on wheelspin without bogging the engine
[15:18:48] <dirty_d> how many magnets on each wheel?
[15:19:05] <Tom_itx> none?
[15:19:14] <Tom_itx> it's hall effect
[15:19:16] <cyanide> the magnet is integrated into the sensor. the wheels get toothed trigger wheels
[15:19:22] <dirty_d> ahh
[15:19:40] <dirty_d> i havent used one like that
[15:19:53] <cyanide> Tom_itx, that board i showed you, where you were complaining of too much bare space :)
[15:19:53] <dirty_d> h ow many triggeres per wheel?
[15:19:59] <cyanide> shrunk it down to 5x5 :)
[15:20:08] <cyanide> depends on what resolution i want, honestly
[15:20:13] <cyanide> haven't decided that yet
[15:23:17] <cyanide> Tom_itx, http://i.imgur.com/PhpJ2.png
[15:25:12] <cyanide> this is the previous one http://i.imgur.com/hRvkB.jpg
[15:28:23] <cyanide> hmm, scene tv sd releases are x264 now
[15:28:24] <cyanide> nice
[15:30:34] <dirty_d> cyanide, how are you detecting the actual speed of the vehicle?
[15:32:44] <cyanide> by calculating the wheel circumference and number of wheel rotations
[15:32:50] <Divinite> Wow... The stuff you can do with microcontrollers...
[15:34:21] <cyanide> the wheel dimms will have to be entered though
[15:34:42] <cyanide> ive got an sd card there which will store the configurations.
[15:36:31] <mrfrenzy> do you need to know absolute speed? isn't it enough that the relative speed of some wheels differ?
[15:37:53] <cyanide> yeah, it is enough actually
[15:38:01] <cyanide> but this opens it up for smarter traction control
[15:38:11] <mrfrenzy> smarter in what way?
[15:39:18] <cyanide> as in, any slip at lower speeds will retard ignition more aggressively. any slip at higher speeds will either retard ignition less aggressively or not do anything for a while before retarding ignition
[15:39:56] <cyanide> that's the idea right now anyways
[15:40:22] <dirty_d> cyanide, no i mean actual speed, wont you need to know that in order to know if the wheels are spinning?
[15:41:17] <dirty_d> oh its 2 wheel drive
[15:41:18] <cyanide> no, thats relative
[15:41:20] <cyanide> yeah
[15:41:50] <dirty_d> hmm, i wonder how easy it would be to do this with my car...
[15:42:25] <cyanide> if you have a stock ecu, you'll need to figure out a way to retard ignition
[15:43:05] <dirty_d> i think the easiest may be creating a delay line with a uc between the distributor pickup output and the ecu
[15:43:30] <dirty_d> with the delay proportional to wheel slip
[15:43:46] <cyanide> but the delay will vary depending on engine rpm too
[15:43:54] <dirty_d> yea
[15:44:19] <dirty_d> i could work that in, or maybe some other easier way
[15:44:33] <dirty_d> but that should be perfectly doable
[15:45:57] <dirty_d> 8 cylinders at 7000rpms would be 28000 pulses from the distributor per second, i think
[15:46:35] <cyanide> my brain is too fried to calculate right now
[15:46:45] <dirty_d> i just did 7000 * 8 / 2
[15:46:46] <cyanide> you have the new mustang or the old one?
[15:46:49] <dirty_d> old
[15:46:53] <cyanide> wow, nice
[15:46:55] <cyanide> any pics?
[15:46:59] <dirty_d> ummm
[15:47:05] <cyanide> i hate the new ones, no offense
[15:47:13] <cyanide> too fat imo
[15:49:00] <dirty_d> yea i dont like them really
[15:50:15] <dirty_d> i can only find this, probably more at home
[15:50:16] <dirty_d> http://i1186.photobucket.com/albums/z372/dirty_d2285/2011-10-23_13-01-32_951.jpg
[15:50:26] <dirty_d> thats when i putin new heads and rocker arms
[15:50:34] <cyanide> oh man
[15:50:36] <cyanide> nice
[15:50:55] <cyanide> love 2 valve heads
[15:51:04] <dirty_d> i ported them a little
[15:53:18] <dirty_d> time to gtfo
[15:53:19] <dirty_d> later
[16:50:24] <vectory> http://de.farnell.com/productimages/farnell/standard/1684356-40.jpg
[16:50:38] <vectory> a. smith <- sneaky farnell, very sneaky
[21:09:06] <nofxx> anyone tryed this usb host board technique with v-usb?
[21:09:25] <nofxx> wondering if there isn't a host mode in newer androids
[21:10:38] <nevyn> v-usb.. eek.
[21:10:58] <nofxx> nevyn, what's the alternativeto?
[21:11:16] <nevyn> real usb host mode.
[21:11:51] <nofxx> nevyn, builtin in avr? lufa?
[21:12:33] <nevyn> lufa
[21:12:48] <nevyn> nofxx: so there are avr's with builtin usb support
[21:12:49] <nofxx> only store I can buy AVRs is futurlec, need to find a usb one there... have idea of the price diff?
[21:13:06] <nofxx> say 328p , $3
[21:15:14] <nofxx> wow.. found a cheap one AT90USB162-16AU , $.3.20
[21:27:51] <nofxx> wonder why they dumped this board http://www.sparkfun.com/products/8857
[21:28:22] <nofxx> there's a max23something version
[21:31:22] <nofxx> max3421.. $7 ... now I'm really puzzled.
[21:31:54] <Casper> sometime they retire due to the low sale
[21:33:38] <Tom_itx> it was superseeded by the atmega32U2
[21:33:44] <Tom_itx> but the chip is still available
[21:34:50] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USB_Breakout/USB_Breakout_index.php
[21:34:57] <Tom_itx> i made that as a breakout for them
[21:35:50] <nofxx> Tom_itx, may I speak to you privately?
[21:36:34] <Tom_itx> yeah
[21:36:41] <Tom_itx> unless i fall asleep
[21:56:23] <Sgt_Lemming> woot, first ten ethernet modules for the RFID boards just arrived.
[21:58:12] <Tom_itx> nice
[23:32:31] <rue_house> at a clock rate of 16Mhz, a 16 bit counter with a divider of 8 will have 500ns per counter tick