#avr | Logs for 2012-04-27

Back
[00:08:38] <nofxx> So... I, hehe, burned 1111 where 0000 is external crystal clock, on the lfuse. The 1111 option, Low Power Crystal Oscillator, tips how to emulate this now?
[00:08:48] <nofxx> I got other avrs and a buspirate.
[00:10:15] <Essobi> nofxx: umm.. use that fuse calc and figure out what you set.
[00:10:38] <Essobi> Casper: Bah, no uF caps in the house. :|
[00:10:51] <Essobi> Casper: I'll have to pickup some tomorrow.
[00:11:42] <nofxx> Essobi, sorry my bad english, the 1111 option is "Low Power Crystal Oscillator", have no clue what this is tbh
[00:15:48] <nofxx> Hmm, nevermid, and thanks, just figured out.
[00:18:22] <Casper> Essobi: decoupling is 0.01-0.1uF
[00:18:25] <Casper> ceramic
[00:26:18] <Essobi> Casper: yurp... non here.. .01F ceramic is the smallest I got. Have to pickup some. :\
[00:30:04] <Essobi> Oh wait... 103C is a .01uF isn't it?
[00:30:53] <Casper> 10000pF = 10nF = 0.01µF ← fancy micro! :D
[00:33:23] <Casper> you know what piss me off about lots of efficiency test? they don't test up to the limit, but until the numbers start to be bad
[00:34:51] <Essobi> heh
[00:35:07] <Casper> looking at a smps schematics
[00:35:10] <Casper> output is 5V 1A
[00:35:17] <Casper> the test are 0.2-200mA
[00:48:04] <mrfrenzy> it's called marketing
[00:48:56] <Casper> yeah
[01:04:48] <Essobi> hehehe
[01:05:06] <Essobi> Are you telling me a megabyte really isn't 1000K? :D
[01:07:33] <nevyn> not it totally is.
[01:07:46] <nevyn> a MibiByte on the other hand isn't
[01:51:11] <Essobi> Hmm.. Odd.. DAPA is acting weird.
[01:53:03] <Essobi> night folks
[04:47:16] <mitsakos> hello there, does anybody use xcode?
[04:47:33] <mitsakos> when the compiler shows me some errors and i klick on them it doesn't show me the line, is there any configuration to do this?
[04:57:11] <norbi> hi to everyone, good day
[05:21:54] <norbi> guys, im having a programming issue, when i connect the programmer it reads signature it matches, reads fuses etc
[05:22:58] <norbi> but when i start to program the flash it gives me fail, after that it cant read the signature, fuses are 0x00 etc, cant do anithing with the chip, after a reset it works again, trying to program it and fails
[05:23:06] <norbi> hardware problem?
[05:26:09] <mitsakos> norbi make sure you have choosen the correct avr chip in the avr flasher you are using
[05:27:35] <norbi> mitsakos: i think i have wrong lockbits somehow
[05:27:48] <norbi> mitsakos: what are the correct normal lockbits?
[05:28:23] <mitsakos> depends on the mcu
[05:28:31] <norbi> atmga64
[05:28:42] <norbi> my lockbits are 0x0
[05:29:00] <mitsakos> http://www.engbedded.com/fusecalc/
[05:29:30] <norbi> i cant do anything with the chip, cant erase it, cant programm it, it does continuosly what i programmed on it last night
[05:29:47] <mitsakos> maybe you disabled isp
[05:29:49] <mitsakos> from fuses
[05:30:01] <mitsakos> if you did so there is no comeback
[05:30:02] <mitsakos> :P
[05:31:35] <norbi> mitsakos: my isp is avrisp mkII
[05:32:33] <norbi> if i read fuses: LOW=0xEE, HIGH=0xC9, EXTENDED=0xFF
[05:34:06] <mitsakos> i don't know it looks correct
[05:34:40] <mitsakos> before i by saying that you may have disabled isp i mean the isp fuse Serial program downloading (SPI) enabled; [SPIEN=0] but you don't
[05:37:16] <norbi> mitsakos: everything is messing up after i hit the programm button, befor trying to write the flash, it reads the fuses correctly, the signature,the lock bits everything, after hiting the programm button it stops working
[05:41:47] <mitsakos> do have external power supply on your circuit board?
[05:42:32] <norbi> mitsakos: yes
[05:46:41] <norbi> mitsakos: it may be damaged?
[05:46:54] <norbi> the ext power source could damage the harware?
[05:47:53] <mitsakos> which hardware? isp's?
[05:48:18] <norbi> yea
[05:48:26] <norbi> mitsakos: or the mcu
[05:48:51] <mitsakos> no avrispmkII has been built to work with external circuit supply
[05:49:17] <mitsakos> if you don't have external power supply on your circuit no programming will be performed
[05:49:39] <mitsakos> in contrast with stk500 which has it's own supply
[05:50:31] <norbi> i cant figure out why i cant programm my flash
[05:50:39] <norbi> after that the mcu freez
[05:50:43] <norbi> i need to push reset
[05:51:01] <norbi> im having usart connected, it still outputs the old code
[05:51:14] <norbi> so the mcu works somehow
[05:51:23] <norbi> but it does freez when i want to flash it
[05:51:32] <mitsakos> and i flashes or not?
[05:51:35] <mitsakos> *it
[05:51:50] <norbi> not
[05:52:01] <mitsakos> maybe it's a reset problem?
[05:52:09] <mitsakos> have used the mcu reset in your circuit?
[05:52:14] <mitsakos> *have you
[05:52:24] <mitsakos> or it is open?
[05:53:01] <norbi> it has reset button
[05:53:17] <norbi> i have to push the reset button after powering it up
[05:53:19] <norbi> to make it work
[05:53:21] <norbi> this is odd
[05:53:34] <norbi> i mean to make the mcu to work
[05:54:31] <specing> zlog
[05:56:43] <mitsakos> heh technology! nice bot
[06:01:48] <specing> Does anyone know where rikusses site is?
[06:02:05] <Steffanx> I think i do
[06:02:39] <Steffanx> specing https://sites.google.com/site/megau2s/
[06:03:32] <specing> He told me that his programmer both programs and provides a serial port
[10:21:16] <OndraSter> I like how each peripheral has three times as much control registers on xmega compared to mega... plus 3 times more peripherals in the end as well :D
[10:21:31] <OndraSter> atxtiny anyone? :D
[10:22:11] <Tom_itx> atxtiny 10. whole bunch more registers for 4 io pins that will do virtually anything
[10:22:47] <asteve> registers!
[10:24:16] <Steffanx> I needs the EBI too
[11:41:23] <amee2k> hmm anyone got a good idea how to make a fast clamping device to protect a scope from high voltage spikes?
[11:41:34] <amee2k> reasonable frequency response <10kHz is entirely acceptable
[11:42:15] <amee2k> preferably passive... the best solution i could come up with so far is a small auxiliary supply with shottky clamping diodes
[11:44:13] <amee2k> hmm anyone got specs on how fast a 4148 will clamp?
[12:07:30] <Tom_itx> cmos?
[12:08:30] <amee2k> "cmos"?
[12:09:05] <Tom_itx> yeah that's what i said
[12:09:09] <Tom_itx> http://www.ti.com/lit/ds/symlink/cd4502b.pdf
[12:09:25] <amee2k> lol
[12:09:29] <amee2k> i know what cmos is
[12:09:40] <Tom_itx> then you know how fast it clamps
[12:09:45] <amee2k> i do?
[12:10:17] <amee2k> how?
[12:10:27] <Tom_itx> it's all in the data sheet
[12:10:48] <amee2k> what does CMOS have to do with clamping a scope input?
[12:11:06] <Tom_itx> 4148 is a cmos logic chip
[12:11:16] <Tom_itx> now apparently you're not talking about that
[12:11:17] <amee2k> not really
[12:11:52] <amee2k> http://en.wikipedia.org/wiki/1n4148
[12:12:07] <Tom_itx> well see that's a whole different animal
[12:12:15] <amee2k> yeah >_>
[12:13:38] <Tom_itx> http://www.diodes.com/datasheets/ds12019.pdf
[12:14:18] <amee2k> what spec am i looking for?
[12:14:28] <amee2k> the only one i can see in datasheets is usually recovery time
[12:15:29] <ziph> What kind of clamping?
[12:15:57] <ziph> If you're referring to the ESD diodes the IBIS file is probably the best place to find those details.
[12:16:04] <amee2k> two diode clamp, ground to signal, and signal to supply. with a nice low impedance cap across the supply
[12:16:26] <amee2k> i'm still looking for a passive-only solution that doesn't need an auxiliary supply
[12:16:30] <amee2k> but coming up short :/
[12:16:45] <ziph> What voltage range?
[12:17:04] <amee2k> if it clamps around +/-10V it would be okay
[12:17:27] <amee2k> would be cool if i could get up to +/-20V through, but i don't need more really
[12:17:52] <amee2k> the scope input is rated for 300V but it is chinese so i wouldn't want to go past 100 for any length of time
[12:19:48] <ziph> What about two zeners to ground? input ---->|---|<--- gnd
[12:20:00] <amee2k> how fast does that clamp?
[12:21:31] <ziph> No idea for general purpose zeners, but get a bidi TVS diode if you want fast clamp times.
[12:21:52] <amee2k> :/
[12:22:34] <ziph> If you're throwing huge voltages (100's) at low Z's look at the automotive range TVS's.
[12:23:31] <amee2k> doesn't sound like something i'd want to get on ebay if an expensive scope rides on the quality
[12:24:16] <ziph> I wouldn't even want to buy MLCC chip capacitors off of e-bay. :)
[12:25:44] <amee2k> works fine for generic parts... just use the chinese rule #1: always overspec at least by a factor of three
[12:31:28] <amee2k> i'm wondering about the MOVs from a mains surge protector...
[12:32:58] <ziph> The clamping of those would be in the 100's.
[12:33:06] <ziph> What's the application?
[12:33:55] <amee2k> scoping the monitoring circuit on a flyback converter (output >10kV)
[12:34:34] <Essobi> Herp da derp.
[12:34:51] <ziph> Resistor divider into an analog isolator?
[12:34:54] <amee2k> the scope won't go on the main output but the monitoring circuit has an extra secondary winding for feedback
[12:35:04] <amee2k> and i want to keep the kickback spikes out of the scope
[12:35:15] <Essobi> Hmm.. My dapa is acting weird.
[12:35:36] <Essobi> I'm going to grab some caffiene and figure this out..
[12:35:52] <ziph> No-doze?
[12:37:20] <amee2k> hmm looks like TVS diodes implement extremely fast clamping action based on their working principle
[12:40:03] <amee2k> 1.5KE200A are cheap
[12:40:18] <amee2k> 50 cent each for 10 including shipping
[12:41:10] <ziph> For some reason Mouser is often a lot cheaper on TVS's and MOV's.
[12:42:04] <amee2k> 1SMB20AT3 20V 600W ... 6.10 quid for 25
[12:42:16] <amee2k> think i'm going to order these
[12:43:21] <specing> Where is RikusW today?
[12:44:02] <amee2k> hmm TVS diodes behave like normal diodes if i use them the other way, right?
[12:44:22] <amee2k> so if they are regular types, i need to use two back-to-back, right?
[12:44:38] <specing> ziph: no wonder if they charge $40 for shipping
[12:44:40] <ziph> The unidirectional ones are, yeah.
[12:45:05] <amee2k> unless specified otherwise, it is probably fair to assume they are unidirectional, eh?
[12:45:35] <amee2k> also love 3mm pad spacing on the SMT ones... <3 stripeboard
[12:46:18] <ziph> amee2k: They usually specify it.
[12:48:12] <amee2k> ziph: can't find any forward characteristcs in the datasheet, but the package drawing shows the polarity "dimple"
[12:48:26] <ziph> amee2k: Ahh, that's a good hint. ;)
[12:48:42] <amee2k> i'll better use them back to back then
[12:49:06] <amee2k> even if they are bidirectional, that'd only bump up the clamping voltage from 20V to 40V
[12:49:21] <amee2k> i can also put a bunch in parallel at that price
[12:54:59] <ziph> You can get cheap ~1% accuracy analog isolation opamps. Then you eliminate any ground issues too.
[12:57:04] <amee2k> hmm for example?
[12:58:34] <ziph> http://search.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&site=us&keywords=ACPL-C79B&x=0&y=0
[12:58:42] <ziph> Hmm, those ones aren't so cheap.
[12:58:47] <ziph> But there are loads around like those.
[12:59:15] <amee2k> that price is actually pretty stiff
[12:59:58] <amee2k> the target is floating anyway so not much chance of any ground issues
[13:00:09] <ziph> This isn't a one off?
[13:00:18] <amee2k> it is
[13:00:22] <amee2k> i only have one scope :P
[13:00:23] <specing> Do analog comparators usually have a notion of speed? or are they just instant?
[13:00:42] <ziph> specing: They have a speed.
[13:02:13] <specing> atmega8's datasheet doesen't list a specific speed
[13:28:52] <ferdnaO> i am building a led matrix.... a friend of mine told me that i didnt have to use 2n2222
[13:29:02] <ferdnaO> that i could use something smaller
[13:29:38] <ferdnaO> for the rows...
[13:29:57] <Essobi> And theeeeeen?
[13:30:35] <ferdnaO> well he said that i could use 2n2222 to drive the row or column... and then use something smaller to light that specific led
[13:32:43] <Essobi> Okay... well. are you going to ask something or just talk about what your friend told you yo do? :D
[13:32:53] <Essobi> I'm working on a DAPA atm..
[13:44:07] <ferdnaO> Essobi, what is DAPA?
[13:44:25] <ferdnaO> yeah i am just going to talk about it... if you get any ideas please let me know =)
[13:49:19] <OndraSter> ferdnaO, did I just hear LED MATRIX!
[13:49:31] <ferdnaO> yes =)
[13:49:44] <OndraSter> https://skydrive.live.com/redir.aspx?cid=40bf7833586103ab&resid=40BF7833586103AB!499&parid=40BF7833586103AB!111&authkey=!AM9BlG3lYBLJUqs
[13:49:46] <OndraSter> here :)
[13:49:56] <OndraSter> RG only
[13:49:58] <OndraSter> no B channel
[13:50:19] <ferdnaO> looks nice...
[13:50:26] <OndraSter> hehe thanks
[13:50:26] <ferdnaO> and its huge....
[13:50:29] <OndraSter> 32x48
[13:51:11] <ferdnaO> so 24 8led matrix....
[13:51:12] <OndraSter> I am driving it from PC actually
[13:51:14] <OndraSter> yep
[13:51:54] <OndraSter> http://clip2net.com/s/1RhF5
[13:51:56] <OndraSter> PC app for it
[13:52:03] <ferdnaO> OndraSter, are you italina?
[13:52:08] <OndraSter> no
[13:52:41] <OndraSter> I do not have any Italian ancestors either
[13:53:11] <ferdnaO> cz?
[13:53:15] <OndraSter> ye
[13:53:19] <ferdnaO> =)
[13:55:27] <abcminiuser> Jei are a kjott saft-is
[13:55:38] <abcminiuser> Err jeg rather, I can't spell :P
[13:55:41] <ferdnaO> OndraSter, there is a bug... on the actual leds it has a ball on the left....
[13:55:54] <ferdnaO> on the program is not there
[13:55:58] <OndraSter> the app isn't showing the same thing as on the LED itself
[13:56:06] <ferdnaO> i call that a bug
[13:56:12] <OndraSter> the LED app was launched minutes ago, the LED themselves were pictured few weeks ago
[13:56:17] <ferdnaO> oh
[13:56:19] <ferdnaO> i see
[13:56:29] <OndraSter> I just loaded random image I had floating aroun
[13:56:30] <OndraSter> d
[13:56:43] <ferdnaO> look for ascii art...
[13:57:01] <OndraSter> hehe
[13:57:04] <OndraSter> ascii porn you say?
[13:58:19] <ferdnaO> OndraSter, i just said "art" not necessarily porn... but is your call...
[13:58:30] <ferdnaO> http://www.sparkfun.com/products/759
[13:58:35] <OndraSter> :D
[13:58:39] <OndraSter> I am presenting it next week
[13:58:40] <OndraSter> DUH
[13:58:48] <OndraSter> err, not next week... on 25th
[13:58:55] <OndraSter> $35 for that...
[13:59:02] <OndraSter> I paid $35 for 25 LED modules themselves
[13:59:14] <ferdnaO> oh
[13:59:15] <ferdnaO> http://www.sparkfun.com/products/681
[13:59:18] <ferdnaO> so htat one
[13:59:25] <OndraSter> just... a lil' cheaper
[13:59:39] <ferdnaO> from where?
[13:59:59] <OndraSter> http://www.ebay.com/itm/25-LED-Dot-Matrix-24pin-8x8-3mm-Red-Green-Common-Anode-/270954762776?pt=LH_DefaultDomain_0&hash=item3f16299218
[14:00:02] <OndraSter> from here
[14:01:05] <ferdnaO> cooool
[14:01:22] <OndraSter> I am driving it with huge number of shift registers
[14:01:22] <ferdnaO> nice website i've never been there before...
[14:01:23] <asteve> I would have preferred to get common cathode
[14:01:29] <OndraSter> asteve, why?
[14:01:59] <asteve> OndraSter: the way I think about controlling them, it's easier to think that the power comes from the three RGB pins from a positive source from the arduino
[14:02:19] <asteve> and then all three travel through the same ground
[14:02:56] <OndraSter> well, I drive them... power supply (3.7V battery in my case) => SP8J3 (P-MOSFET) => LED => A6275 driver (shift register with constant current)
[14:03:01] <asteve> I bought -10- 9 RGB leds with common anode, if I did it again I'd get common cathode
[14:03:03] <OndraSter> I multiplex always 16 lines
[14:03:18] <OndraSter> thus I am lighting up always 2 lines at once
[14:05:49] <OndraSter> and basically I can do few different color variations
[14:05:58] <asteve> OndraSter: ya that's cool; I just thought I'd make a statement for someone else considering either
[14:06:02] <OndraSter> I am refreshing each line ... 200? times per second
[14:06:04] <OndraSter> have to re-check
[14:06:25] <OndraSter> asteve, not sure whether the LED drivers can also source
[14:06:26] <OndraSter> or just sink
[14:06:50] <OndraSter> the ones I have can only sink
[14:07:05] <ferdnaO> cool they have 5mm too
[14:07:22] <OndraSter> but the prices go really high :P
[14:07:31] <OndraSter> and for RGB... they go more than exponentially higher
[14:08:15] <ferdnaO> yeah looking at that
[14:08:17] <OndraSter> I thought about building at least 800x600 LED wall to my room, either from regular (RGB SMD/R G and B SMD) LEDs or those modules (depends on what would be cheaper)
[14:08:18] <ferdnaO> ...
[14:08:20] <OndraSter> but it is EXPENSIVE!!
[14:08:22] <OndraSter> hehe
[14:08:32] <ferdnaO> i would like for you to draw a happy face and put ferdna on the bottom
[14:08:47] <OndraSter> hehe
[14:09:04] <OndraSter> happy face?
[14:09:05] <OndraSter> https://skydrive.live.com/redir.aspx?cid=40bf7833586103ab&resid=40BF7833586103AB!464&parid=40BF7833586103AB!111&authkey=!AE7x4QPjwQxDs7g
[14:09:18] <OndraSter> I made this picture before I added support for multiple color variations :P
[14:09:38] <OndraSter> (the PC in the background is the stuff I use for LPT/COM lol)
[14:09:40] <ferdnaO> yeah like that... you missing ferdna
[14:09:44] <OndraSter> hehe
[14:10:02] <ferdnaO> i dont see background pc
[14:10:06] <OndraSter> on the left
[14:10:09] <OndraSter> next to the LEDs
[14:10:15] <ferdnaO> oh shitting bricks now
[14:10:39] <ferdnaO> what are you going to use that led matrix for?
[14:10:48] <OndraSter> my school project
[14:11:00] <OndraSter> also I'd suggest putting some digital "buffers" along the path. With 24 LED drivers connected the SCK line is almost pure sinus
[14:14:58] <ferdnaO> OndraSter, school project? high school? university? technical?
[14:15:05] <OndraSter> "high" school
[14:15:10] <OndraSter> middle school it is called here
[14:15:19] <ferdnaO> oh
[14:15:45] <OndraSter> next week I am writing first final tests :P
[14:17:16] <ferdnaO> btw, you are using windows.... yukkkk...
[14:17:32] <OndraSter> yes I am
[14:17:37] <OndraSter> my tablet is running W7 as well
[14:17:42] <OndraSter> my phone is running... wait for it...
[14:17:44] <OndraSter> WP7!
[14:19:03] <specing> I just took my tablet apart and put it back together
[14:19:14] <specing> No fucking serial port anywhere
[14:19:57] <OndraSter> I could find one serial
[14:20:05] <OndraSter> if I'd cut out the WACOM digitizer :P
[14:21:06] <ziph> W7 tablets use Wacom pens?
[14:21:44] <OndraSter> it is Tablet PC
[14:21:51] <OndraSter> originally sold back in 2003 - 2004 or so :P
[14:21:56] <OndraSter> but it still runs W7 fine
[14:22:17] <OndraSter> it is proper tablet with proper inductive stylus
[14:25:59] <OndraSter> https://twitter.com/#!/Majkler/status/195947393810825216/photo/1
[14:26:05] <OndraSter> LOL
[14:26:58] <ferdnaO> i dont understand it
[14:27:13] <Steffanx> Don't try to
[14:27:26] <OndraSter> yeah
[14:27:31] <OndraSter> don't try :)
[14:27:43] <OndraSter> (simply said - making fun of current "music")
[14:29:48] <Steffanx> No, all 'old music' is great
[14:30:06] <OndraSter> yep
[14:30:19] <OndraSter> trance all the way.
[14:30:20] <Steffanx> me doesn't talk to OndraSter again
[14:30:26] <Steffanx> trance is ok, though
[14:30:36] <OndraSter> Disco time for me... 'tis friday
[14:30:47] <OndraSter> duh, it is ... 2120.. too late
[14:31:38] <Steffanx> too late for what?
[14:32:01] <OndraSter> to go out.
[14:32:27] <OndraSter> Back to the books! Doing final exams next week and I still haven't read a word lol
[14:32:30] <Essobi> Herp da derp.
[14:32:31] <Steffanx> No day
[14:32:34] <Steffanx> *way
[15:01:12] <Essobi> Should an AVR be powered when you're programming with a DAPA?
[15:01:28] <Tom_itx> is that a serial programmer?
[15:01:32] <Tom_itx> if so probably so
[15:01:57] <Tom_itx> measure the power pins on it and see if it's powered
[15:02:21] <Essobi> It's parallel.
[15:02:36] <Tom_itx> same applies
[15:02:42] <Kevin`> Essobi: the avr needs to be powered from somewhere in any case
[15:02:57] <Essobi> roger that
[15:02:57] <Kevin`> don't power it through the protection diodes ;p
[15:02:59] <Tom_itx> i'm betting you need to power it separately
[15:03:10] <Essobi> I thought I did.
[15:03:18] <Essobi> on my old dapa I built
[15:17:20] <Essobi> Yay, it's working.
[16:55:57] <abcminiuser> exDM69, you around?
[18:32:02] <xata> hello
[18:33:55] <OndraSter> hello
[18:33:55] <tobbor> OndraSter! like, totally tell us about the project!
[18:34:05] <OndraSter> tobbor, srsly? And which one? :D
[21:19:41] <izua> huh
[21:19:43] <izua> this is odd
[21:20:26] <vectory__> o_O
[21:20:34] <izua> on mega48/88/168, you can't have an external crystal (for high speed stuff) and a crystal for timer2 (for rtc apps), or at least an external clock on rtc2 from a precise source (think of a max32KHz)
[21:24:01] <vectory__> like with tiny2313, less capabilities even in the clock department
[21:29:54] <Kevin`> izua: why not use the internal oscillator for the cpu and timer2 oscillator for timing?
[21:30:20] <izua> because, the internal oscilator doesn't do 20 MHz?
[21:30:33] <Kevin`> you actually need 20mhz? :/
[21:31:31] <izua> you actually need a modern computer as opposed to a 386 and windows95?
[21:31:34] <Kevin`> have you looked at the xmega devices? they have a more flexible clock system. i'm not sure which other devices have a seperate external rtc and cpu clock input aside from that though
[21:32:36] <izua> the ones on the 40/44pin footprint (mega16 / mega8535 layout)
[21:32:51] <izua> i'm not looking for alternatives though, it just striked me as a weird pin map
[21:33:16] <izua> say you don't need 20 MHz, but you want a crystal to have USART, that's not something that would strike you as unnecessary, would it? :)
[21:34:02] <Kevin`> oh there are cases it would be useful, sure. although in that specific case you could just calibrate the internal oscillator based on the rtc oscillator on startup or continuously
[21:35:15] <Kevin`> especially since those devices don't have an internal pll divider to select random frequencies
[21:35:23] <Kevin`> (that it would be useful, that is)
[21:35:44] <Kevin`> well, a few chips do, actually. the ones intended for power supply use and such with high speed pwm
[21:36:04] <Kevin`> and of course xmega
[21:37:40] <izua> yeah, i guess
[21:37:51] <izua> startup / continous calibration would be the deal
[21:38:11] <Kevin`> alternately you could use an external clock that's accurate or a crystal and keep that running
[21:38:17] <izua> the ones for continous pwm aren't really suited for anything but a programmable pwm peripheral imo, to a main device
[21:39:08] <Kevin`> I find myself using them for lots of random tasks
[21:40:49] <Kevin`> especially interesting is having software usb that syncs the cpu's pll to the usb data from the host. although that's more for hobby use or maybe a really low cost device
[21:42:08] <Kevin`> technically you can do that one with a normal avr chip too, but it's a bit out of spec for the adjustment range of the oscillator and won't work on all chips
[21:47:01] <izua> what's the point of that? there are software usb clients anyway
[23:59:47] <TeknoJuce> how would you take two switches on two different legs of the uC but make it so you can only logically press one button at a time in circuitry not in code