« first day (888 days earlier)      last day (4042 days later) » 

2:35 AM
grEEtz
 
3:31 AM
@AnindoGhosh Bonjour
 
3:49 AM
@ThePhoton Namaste :-)
 
@AnindoGhosh NamastEE
3
 
@ThePhoton ROTFL
 
Would you like to hear about what a PITA Xilinx is?
 
4:20 AM
@ThePhoton i would
 
@Rick_2047 They are a real pain in the ass.
 
hmmm.... I thought they were good
really
 
@Rick_2047 I just needed to get IMPACT running on a lab PC today. Between their crap website, crap software install widget, crap license manager, ..., it took more than an hour.
 
what are you doing with the xilinx? and which xilinx product btw?
 
Just CPLDs
At the beginning of the project I tried to convince the rest of the team to consider other vendors. Lattice would have been the best fit because we are actually using a Lattice FPGA.
Not that Lattice's software bugs haven't caused headaches
 
4:26 AM
i never understood what is the difference between an FPGA and a CPLD
 
CPLD have much less resources.
Traditional CPLD had a much simpler structure with very wide fan-in "product terms" (AND gates), and a few OR gates. The most recent CPLD families are more like just very small FPGAs (LUT-based architecture) with on-chip nonvolatile memory.
 
then where do CPLDs come in?
 
(Did I forget to mention, CPLDs store their program nonvolatilely on-chip, FPGAs need to be reprogrammed from external memory whenever they're turned on or reset)?
 
@ThePhoton i knew this one
 
@Rick_2047 less resources, less cost, nonvolatile storage.
Useful for setting up the glue logic to let you program an FPGA from a PC or uC, for example.
 
4:30 AM
so basically to implement small digital processing
obviously not used for filtering right?
 
@Rick_2047 Could, as long as it's not a very complicated filter...
But if you start doing 32-bit adds or something, you're going to eat up a CPLD's resources in a hurry.
Typically you get less than 200 flip-flops in a CPLD
 
what about 24bit adds?
200 flip flops is too small a number for anything above 16 bit i gues
 
@Rick_2047 Anything you can do in a CPLD you ought to be able to code up in a day or less and see if it fits.
Project I'm working on we have 5 or 6 different boards around a main board with a big FPGA. Each of the little boards has a CPLD to implement some control registers, serial I/O, etc., under control of the main board. A lot of it is just used as I/O expander to let us control ADCs, etc., on the little boards.
 
oh
that is an interesting setup
 
You can also do small state machines
The old-school CPLDs (with the wide fan-in gates) were good for asyncrounous logic because they had very easy to estimate propagation delays...the new ones I'm not so sure...
 
 
4 hours later…
8:12 AM
One thing I've wondered with CPLDs and FPGAs in general is why they don't make devices with a lower pin count, in-built regulators, config memory and all the rest of it with a fair few gates. I would have thought for example say for filtering / demodulation / protocol decoding of serial data that would be a pretty popular configuration or am I missing something?
 
 
4 hours later…
12:26 PM
Hi Guys
 
hi @dean
 
@StaceyAnne how are things?
 
@Dean, things are good, I'm drowning in work though, which i guess is a good and bad thing
 
12:44 PM
good morning
 
hi @jippie
 
@StaceyAnne I Know that feeling
 
1:30 PM
@StaceyAnne can you help me with an FPGA problem?
 
@Rick_2047, I can try :)
 
its very basic problem
so I have a spartan - 3E kit, called nexys2 from digilent
i have an oscillator of 50MHz on it
how do I access that?
 
The oscillator chip should be connected to two FPGA pins
The schematic should tell you which two
or the UCF file
 
it says it is connected to B8
 
it might be one if it's single ended
 
1:37 PM
so to access that should I physically connect a wire from B8 to another pin?
 
when you say access the pin, what do you mean?
use it on the FPGA?
 
yeah, i have another module which needs that 50MHz clock
 
you mean a VHDL module?
or verilog, part of the firmware?
or hardware module
 
no its a verilog module
 
ok, look at this answer
0
A: Developing hardware in FPGA with LED Driver Chip

Stacey AnneDuring the firmware build process, the Map stage maps the top level signals of your firmware to physical FPGA pins. This assignment is almost always done manually by including pin assignments in a file called the constraints file (by the xilinx tool set, at least). If no constraints are found the...

basically, the clock ends up as a signal in your firmware on the FPGA
 
1:47 PM
so I can write something like NET "CLK_1MHz" LOC = "B8";
@StaceyAnne is that correct?
 
yes
you need to add that to use UCF file
(.ucf extension)
you should have one already, if you're using an example project
I assume you're using Xillinx tools?
since it's a spartan 3
 
yeah, thanks i will try that
 
@Rick_2047, since it's a clock, you will also need to use a clock input buffer to tell the Xilinx tools that it's a clock so that it can be routed correctly in the FPGA clock paths
you should be able to use another clock buffer as an example for this one
 
i did not get this
 
2:08 PM
Here,
system_clock_buffer : IBUFGDS
port map (
I => sysclk_p,
IB => sysclk_n,
O => global_clk_i
);

global_clk <= global_clk_i;
 
@StaceyAnne any idea on how to convert that 50MHz clock to 1Mhz?
 
you can use the clocking wizard in the core generator
The code above is for a IBUFGDS, which is differential, but there is a single ended one too
 
@StaceyAnne Other people get deleted from the stack for writing Gibberish.
 
@jippie hey, it's not gibberish
 
2:14 PM
@StaceyAnne Even if you structure Gibberish, it is still Gibberish
 
@Rick_2047 this is the clocking guide: xilinx.com/support/documentation/user_guides/ug331.pdf
see IBUFG on page 52
Hi abdullah
@jippie, how's your uC coding going?
 
@StaceyAnne I don't like being teased back ;o)
 
@StaceyAnne general question, do i need a ucf file for all the .v files that I have?
 
the ucf file is only for physical pins, to specify which signals connect to which pins
usually you have a top-level hdl file which has all of the physical FPGA pins (except some special ones) as signals. These signals are then routed to various had modules as needed
so your top level wrapper contains all of your other modules
and your ucf file specifies which pins your top level wrapper signals go to
 
2:36 PM
Question:
In the S-Domain, when a resistor R1 and a capacitor C1 are in series, how do you calculate the total impedance?
Do you just add them and it becomes: R1 + 1/(s*C1) ?
 
they're at 90 degrees apart
but yes
 
@StaceyAnne What if they are in parallel, does it become: 1 / [ (1/R1) + s*C1 ] ?
 
yes
the pure R laws are just special cases of Z
 
@StaceyAnne Thanks!
 
@abdullahkahraman np :)
 
2:47 PM
@StaceyAnne Can I ask more?
 
sure
 
Page 5 of this PDF, I can understand how it got the H(s), however, I cannot understand how it got H(jw)?
Also, I don't understand why he made H(s) so complicated..
@StaceyAnne This is my homework.
 
Hi all!
 
@DavidKessner Hi!
 
3:02 PM
Anything interesting going on today?
 
@DavidKessner I've been here for about an hour..
I am messing with the homework..
And I understood that my previous university taught me nothing at all.
 
@abdullahkahraman Homework, yuck! I had to go talk with my kids high school math teacher yesterday-- that was bad enough.
 
@abdullah, what bit don't you understand, the H0, or the s => wc substitution?
 
@StaceyAnne I understood how it got H(s), however, not the latter, i.e. s=>wc
I don't also understand why he tried to put R1 and C1.s together
Also, why he calls wo=1/(R1.C)
 
3:18 PM
w0 is the characteristic frequency of the filter, where the inductance of C = R
so R = 1/wC, w0 = 1/RC
this is the -3db cutoff frequency
 
Hmm.. So if it had more R and C in series, it would have multiple time constants? biomedstudent.com/Transfer%20Functions.shtml
@StaceyAnne I think I need to substitute all "s" with "jw". Then I will be able to find H(jw), right?
 
yes
it's just s-> jw and w0 -> 1/RC
basically the transform from the leplace domain to the frequency domain
 
yep :)
 
 
3 hours later…
6:40 PM
Hiya @angelatlarge
 
Hi @AnindoGhosh
 
The IR LED question, the diagram shows the RGB LED string is powered off the Arduino itself - though the OP says externally powered. Question is, how exactly is it externally powered?
 
The most useful thing would be to try to draw help OP to draw a circuit diagram. Maybe ask the OP to post some links to pictures? I am not sure.
 
Photos might help. Also, the youtube link did not open for me.
 
I need to get going soon. Perhaps you want to invite OP to chat? Otherwise the comments will surely grow to be very long...
 
6:51 PM
@angelatlarge Reason I didn't jump into comments is, I'm sleepy and it's past midnight here. For a change I plan to sleep early.
 
@AnindoGhosh: I hear you. Good night!
 
@angelatlarge :-)
 
 
2 hours later…
8:25 PM
sup
 
@NickHalden allo
 
@NickHalden I know for a fact that my mood isn't
 
@jippie I could insult you some, if that would help lighten your mood. :)
 
@DavidKessner can't get much worse than it is right now. I need a good night's sleep I guess.
 
@jippie Hard day?
 
8:28 PM
@DavidKessner A friend suddenly moving to another country.
as in 27000km away country
 
@jippie Deported? That happens.
@jippie The circumference of the earth is 40k. So no place is more than 20k away.
 
@DavidKessner not in a plane
@DavidKessner that word has a very bad sound in Dutch
 
@jippie Well you didn't specify that! It's probably more like 35k by bicycle.
 
32 by submarine
 
@jippie Is she good looking?
 
8:33 PM
@DavidKessner kinda
 
@jippie So the woman you have a thing for, but didn't tell her about it, has hooked up with another guy and is moving. Right? :)
 
@DavidKessner ouch.
 
@DavidKessner not exactly :)
@DavidKessner Arduino : Stellaris = (your vision on facts) : (reality)
 
@DavidKessner Man, you should never work at a suicide prevention hotline, nothing personal, but you would have very little repeat business.
 
@DavidKessner in other words, quite a bit more complicated.
 
8:38 PM
@Kortuk "Tough Love"!
 
@Kortuk I guess you would hand out vouchers for pay 2 get one for free?
 
@jippie Well, there are two root causes of not getting over it, I think @DavidKessner 's approach could cause either equally.
 
@Kortuk cause one: caught in the act, didn't manage in time
@Kortuk what is root cause #2?
 
@jippie I'm just giving you a hard time. Hope you weren't offended.
 
@jippie they could not call back to the hotline because they killed them self or because they have gotten over what was making them want to kill themselves. In the american "House of Cards" has a good scene related to this.
 
8:44 PM
@Kortuk There are so many reasons why I should never be a therapist, or anything close to that. I also would never work as a High School (or lower) teacher, because I'd be cussing at the kids and insulting them. :)
 
@DavidKessner yeah, I can do some teaching of high school and lower, but a real job doing it, I could not.
 
@DavidKessner never mind, it's ok.
@DavidKessner and still you were allowed to breed
 
@Kortuk hahahaha i get it
 
@jippie The Govt. over here is weird that way.
 
just added you on G+ @DavidKessner
time for bed
 
8:56 PM
@jippie You are Masochistic! (Not that I post much on G+)
 
/me is out.
 
@jippie G'nite.
 
@DavidKessner indeed I am, but that is not an EE topic.
 
9:26 PM
Kortuk has added an event to this room's schedule.
 
@StackExchange Ah, I'm definitely not going to be able to make it to this hangout... the 7th is my birthday
 
EE.SE hangout on Saturday again. Agenda: Talking about stuff.
@NickHalden Gonna skip your own birthday celebration!
40 secs ago, by Kortuk
EE.SE hangout on Saturday again. Agenda: Talking about stuff. And Nick's Birthday.
It is even on the agenda... And you are skipping it.
I removed your birthday part so that it would not be posted up everywhere.
 
@Kortuk Considering what you put up with from EE.SE users, I think you'd be fine.
 
9:43 PM
@Kortuk haha thanks
 
Hello all
 
@angelatlarge G'morning
 
@angelatlarge it looks like your name is angela
just sayin
 
@Nick: Only on smaller screen widths :)
 
@angelatlarge ah! right you are, i always keep my internet tabs docked to one half of the screen
 
10:02 PM
@NickHalden Her real name is "Angela T. Large". Why can't you be more welcoming instead of teasing people about their names?
 
@ThePhoton hahaha, middle name "The"
@angelatlarge if he's serious im just kidding. im sure you're not large. and even if you are nobody cares.
 
@ThePhoton: Nice! I hadn't thought of that.... damn
 
@NickHalden It's a perfectly good name. It's my first name.
 
So no one is going to tackle the "Question about transmitter/reciever"?
 
@angelatlarge Tackle, no. Put it out of its misery, maybe.
 
10:07 PM
It looks a bit like those post from a person who wanted to build a transmitter/receiver with only a crystal, and then only a wire?
 
@angelatlarge Yeah. Until you pointed it out, I assumed it was the same question and didn't even read it.
 
@The
 
@angelatlarge but if I put 5V on one end of the antenna why doesn't it come out on the other end???
 
@ThePhoton Not the same username...
 
@angelatlarge My New Years Resolution is to not answer any Arduino related questions.
Also, I have little hope that anyone with the name of "c++", but in binary, is any good at EE. I'm probably stereotyping, but...
 
10:12 PM
@DavidKessner You'll be missing out on some real quicksand gems, esp. over on stackoverflow
 
@angelatlarge I guess I'm just the wet-blanket at the Arduino party! :)
1
Q: How should I search up parts for basic hard-wired computer? (really basic, no, more basic than that)

musicwithoutpaperI'm looking to build a computer the size that I can use small jumper cables for the programming, no soldering. Of course it won't be able to do much more than binary counting, etc. What kind of parts would I use? I would like to assemble inverters and diodes to build the AND gates, XOR gates, et...

<Facepalm>
 
@DavidKessner Well, I guess that leaves some questions for wannabe EEs like myself
 
@angelatlarge "Wannabe" doesn't factor into it. I just don't have what it takes to answer those questions. I will gladly bow to others who want to give it a try!
 
@DavidKessner hahaha you looked it up?
i didnt even scroll over to see what the whole tihng was...
 
@angelatlarge What is it that you do, EE related, that is?
@NickHalden Yeah. Pathetic, huh?
 
10:18 PM
@DavidKessner Mainly build stuff aout of AVR chips.
 
@angelatlarge What's the most interesting thing you've built?
 
@DavidKessner Man, you are putting me on the spot... A CNC mill mostly out of trash parts.
 
@angelatlarge "Trash" is relative. But it is still cool.
 
@DavidKessner I mean "parts found in the trash" :)
 
@angelatlarge what are you doing for software? Does it take in G-Code?
 
10:23 PM
Yeah, exactly. G-code. Still working on the circular cut functions though.
 
@angelatlarge A coworker is building his own 3-D printer. His is different than what's out there already in that he's writing his software from scratch-- including the G-Code interpreter and all of the complex stepper motor motion stuff. He's using an Arm Cortex-M4 instead of the typical Arduino stuff.
 
I started with Arduino, but then moved to pure AVR: it's kind of more fun this way.
But it looks like I'll need Cortex for my next project (cf electronics.stackexchange.com/questions/63921/…)
 
@angelatlarge Are you writing your software from scratch, or deriving from some open source thing?
 
From scratch
I have a few libraries up on github here github.com/angelatlarge
 
@angelatlarge There are tones of cool ARM Cortex stuff out there. I have one project going on now that uses an Cortex A8 plus an M0 on the same PCB.
 
10:29 PM
Serious question to you guys: how do you motivate yourself to work on a electronics related hobby project when you spend 8+ hours doing it for a living?
I come home from usually about 10-11 hours of work and just want to eat, and watch TV, and play football =/
i only work on cool projects like once a month
 
@DavidKessner Good to know. I may have to post some questions about it later. I'll be sure to include a piece of wire connected to a crystal for your pleasure.
 
@NickHalden My hobby projects are small, and usually involve something other than EE. They might incorporate EE, but EE is not the main thing.
@angelatlarge Just don't tag your questions with "Arduino", or I might not read it! :)
I wish I had the time to build my own CNC machine. I've always wanted to do it, but never could quite pull it off.
 
@DavidKessner hmmmmm ok
 
@NickHalden Typical of most people here, my home activities often center around beer. :)
 
@NickHalden I just finished my degree, taking my time with job hunting. And I did get into playing around with electronics in order to brew better beer :)
 
10:33 PM
@NickHalden I'll be honest, I don't even have a soldering iron at home.
 
@ThePhoton When I need more advanced stuff, I just borrow it from work. O-Scopes, etc. If I a need to solder something complex, I'll bring it in to work.
 
When I'm home I'm busy doing home repair, volunteer work, homebrewing, ....
I have a wood lathe I powered up once to check out but haven't turned anything on it yet.
 
Well, I have to run! G'Night everybody!
 
@DavidKessner Goodnight
 
Hmm, I just feel like I'm never going to get "ahead" if I'm not also working on this stuff at home. I learn a decent amount at work, but the scope of our products is pretty limited...
 

« first day (888 days earlier)      last day (4042 days later) »