#avr | Logs for 2016-09-18

Back
[00:13:42] <Casper> NoSuM: more like capacitor probably
[00:55:10] <grog> sabor: this cellular module can do up to 4Mbps 'full modem' so im assuming it'd be sync at those speeds?
[00:56:58] <Casper> it may sync at faster speed
[00:57:18] <grog> usart i mean, vs uart
[00:57:22] <Casper> also, may be slower speed and can't use the full burst speed
[02:14:33] <Emil> NoSuM: basic stray capacitance
[02:33:02] <eszett> I have a question, is "VBUS" always referring to the USB 5V line?
[02:38:16] <ThatDamnRanga> nope
[05:28:14] <tis_me> I have a SST25VF080B flash memory with an SPI interface.
[05:28:55] <tis_me> Instead of full duplex, like most devices, it uses a compressed half-duplex protocol.
[05:30:17] <tis_me> It reads on the first rising edges, and writes on the falling edges. It uses 15 clock cycles with both edges used on the 8 clock cycle.
[05:32:18] <tis_me> Has anyone seen anything like this and will setting CPOL=1, and switching 1/2 way through from CPHA=0 to CPHA=1 work?
[05:34:45] <tis_me> Or do I need to bit-bang the communciations?
[05:39:04] <tis_me> Never mind, I'm going to bit-bang the crap out of that chip. :)
[05:39:07] <theBear> hmmm, interesting approach, and i don't know, in that order :)
[05:39:15] <theBear> heh, that's the kinda talk i like to hear
[08:24:14] <ub|k> anyone using max7221?
[08:29:25] <sabor> not me, why?
[08:37:43] <LeoNerd> I've use the 7219, which is veryvery similar
[08:49:11] <sabor> ooh, yeah, i have also some max7219 waiting for a project...
[10:02:45] <ub|k> having some issues configuring it. the code, if someone feels like having a look - https://gist.github.com/pferreir/37e1f85e80a84083f3ba3198e11a3041
[10:02:57] <ub|k> it kind of works sometimes
[10:25:04] <theBear> ub|k, how long your spi set of 4 wires between max and micro ? how long power feed to max wires ? you got a decoupley/niceness cap right physically near to the max chip ?
[10:26:16] <theBear> wtf retarded maybe google maybe stupid adobe browser-embedded pdf viewer dude ? 90% of that datasheet is empty boxes and diamonds that look like they wanna be foreign letters
[10:26:46] <theBear> if ya gonna force/coerce me into using your stupid plugin thing, at least make it work well
[10:33:36] <ub|k> theBear: i'll take a pic
[10:36:16] <ub|k> theBear: http://i.imgur.com/7JLs13O.png
[10:36:42] <ub|k> anyway, the 1st digit is fine now. only the 2nd one consistently fails
[10:36:50] <ub|k> whatever i send, it's like it's ignored
[10:37:59] <ub|k> oh crap
[10:38:03] <ub|k> it's my code :/
[10:38:24] <ub|k> `digit > 1` instead of `digit > OP_DIGIT1`
[10:39:55] <theBear> aha.... and aww, i was gonna take an opportunity to convert someone from the evils of breadboards to any other method of connecting bits to each other, but i cann't in good conscience do that unless you have problems and/or express dismay with breadboards, lots of people that ain't me aren't holding a very very old grudge against the dastardly rectangle things, and enjoying themselves doing it :)
[10:42:08] <ub|k> theBear: which other methods are there?
[10:42:31] <sabor> pushing them into a soap and painting connections using solder paste ;)
[10:43:36] <theBear> for future ref, options to troubleshoot include switching the digit-selects between the digits, see if the issue follows a pin at either the ic or the display end, and even "hotwiring" (after disconnecting from elsewhere/max pins) a digit or segment(s) on by maybe resistoring them to a gnd/v+ depending which end they arae.... in that case other digits would operate/apppear normal, but the one you wired to
[10:43:37] <theBear> stick on would filcker very fast between any values the max trying to send to a digit, whether it physically connected or not, cos it'd be on constantly, instead of the moment that the max flashes the write seg-selects to make that number appear on whatever display is lit, which USUALLY would be the one the max digit-selected in sync with the seg-selects that constantly flipping between the digits
[10:43:37] <theBear> currently sposed to be lit..
[10:47:28] <theBear> ub|k, arguably none as quick and straightforward, personally i been basically doing similar to breadboard approach layouts on vero/clone kinda stripped generic pcb's for MANY years now, which is MUCH more "reliable" cos you can't just accidentally bump a wire loose when it soldered to something, and similar kinda reasons, BUT initially you gotta drill/remove sections of copper tracks to form gaps like a
[10:47:28] <theBear> breadboard has up the middle, tho you CAN choose where they are, and put them basically anywhere you please (the gaps for things like a ic to fit over) and of course you need yer iron hot and solder and stuff to change ANYTHING, tho you can have little jumpers or buttons or things if you need to change something a lot during testing if you want, and of course things can get messy quickly and unlike a
[10:47:29] <theBear> breadboard, it's messy if not just all effed up trying to go backwards, or correct a mistake somewhere you didn't leave room for mod/fixies
[10:48:54] <theBear> a lotta people, mostly not-young (cos younger folk never been properly instructed or bothered to read a whole electronics book etc :] ) folks, are very big advocates for wirewrap, including for proto/experimentey workout-as-you-go kinda stuff like this, it's certainly a good way of sticking stuff to stuff, but i never owned my own tool, so i ain't got into it
[10:48:57] <Tom_itx> but they're so quick and lazy
[10:49:16] <theBear> what, veroboards ? i know, but we don't all have room for acid baths around the home :)
[10:49:26] <Tom_itx> breadboards
[10:49:28] * theBear grins like he may have said something cheeky
[10:50:31] <theBear> Tom_itx, my regx-fu is weak, forgive my betrayal, but if you don't remind me, i may never remember the two letters we used to conversate, in place of ya know, sentences, round these parts for a while, quite some time ago ?
[19:25:03] <FL4SHK> uh, so, I got it to work
[19:25:52] <Lambda_Aurigae> that's good.
[19:25:56] <Lambda_Aurigae> I hate it when it doesn't work.
[19:26:16] <FL4SHK> lol
[19:26:25] <FL4SHK> I was actually not putting it into DFU mode
[19:27:12] * Lambda_Aurigae has no clue what "it" is in this case.
[19:27:27] <Lambda_Aurigae> been offline a couple of days.
[19:28:24] <FL4SHK> It's an Arduino Uno that I'm doing weird stuff with
[19:28:29] <FL4SHK> making it act as a USB game controller
[19:28:36] <FL4SHK> It reads a Gamecube controller
[19:28:51] <Lambda_Aurigae> definitely an it then.
[19:28:59] * Lambda_Aurigae don't do arduino
[19:29:33] <FL4SHK> I'd like to get into non-Arduino stuff
[19:30:24] <FL4SHK> not sure why I'd use a micontroller instead of an FPGA though
[19:30:37] <FL4SHK> other than needing USB communications
[19:33:13] <Lambda_Aurigae> I can do usb without arduino easily.
[19:33:17] <Lambda_Aurigae> can and do.
[19:33:32] <Lambda_Aurigae> mostly I use pic chips for that though.
[19:33:43] <FL4SHK> I'm actually more interested in using FPGAs now than microcontrollers
[19:33:51] <FL4SHK> how do you do it?
[19:34:08] <Lambda_Aurigae> and have never gotten into FPGA
[19:34:25] <Lambda_Aurigae> mostly I use a simple pic as a usb interface to usart or spi or i2c or similar.
[19:34:32] <FL4SHK> Uh so you use an existing chip for it
[19:34:35] <FL4SHK> okay
[19:34:45] <Lambda_Aurigae> yeah.
[19:35:00] <Lambda_Aurigae> pic32mx270f256b for complex projects that include usb in them..
[19:35:28] <Lambda_Aurigae> or for a simple usb-usart/spi/i2c/gpio interface I use a pic16f1454 or 1455 or 1459
[19:39:59] <Lambda_Aurigae> if usbAVR chips came in dip package I would use those instead.
[20:32:26] <carabia> Lambda_Aurigae: th components are like so the 80's
[20:32:37] <carabia> get with the times!
[20:33:00] <Lambda_Aurigae> no.
[20:33:06] <Lambda_Aurigae> I'm an old fart.
[20:33:20] <Lambda_Aurigae> hell, I still have wire wrap tools, wire, and sockets.
[20:34:18] <carabia> you're an analog clock in a digital world, ... just like a timex, you take a licking and keep ticking.
[20:34:44] <Lambda_Aurigae> yeah, but I prefer casio...I kill timexes too easily.
[20:35:19] <Lambda_Aurigae> but my through hole parts to do the job that I need done for the most part.
[20:35:29] <Lambda_Aurigae> I can do SMT but prefer not to.
[20:35:34] <carabia> wire wrapping is too oldschool and counter-productive for me.
[20:37:44] <Lambda_Aurigae> I haven't actually done any wirewrap in a few years.
[20:37:49] <Lambda_Aurigae> but still have the stuff.
[20:42:41] <carabia> You don't do it... for a reason
[20:43:39] <Lambda_Aurigae> haven't had a need.
[20:44:08] <carabia> haha