|
we have good threads for software things but we don't have anywhere for hardware really so now we do i know we got a lotta electrical engineers itf so lets talk about hardware i mostly do like digital design and low-power microcontroller poo poo like msp430s n whatever okay so the question that prompted this thread is like so usually when i wanna get bytes out of a computer into a thing i use like an ftdi usb-uart or similar. but what if i want to get data in/out faster?? how do i do like real usb or ethernet as painlessly as possible??
|
# ? Nov 25, 2014 19:36 |
|
|
# ? May 16, 2024 17:58 |
|
uart able to!!!
|
# ? Nov 25, 2014 19:38 |
|
just wanted to pop in and remind everyone of the obvious and unquestionable truth of avr supremacy
|
# ? Nov 25, 2014 19:40 |
|
avr supremacy is legit especially if you use xmegas, xmegas are dope
|
# ? Nov 25, 2014 19:40 |
|
Bloody posted:we have good threads for software things but we don't have anywhere for hardware really so now we do pcie fpgas have hard ip for it and it's fast as hell otherwise for usb, find a mcu that has a decent (lol) usb peripheral or get a ulpi usb xcvr and strap that to a fpga ftdis are probably the most decent option, they have tons of poo poo they can do in silicon -- the ft2232 can do a ton of stuff with its mpsse (i2c, spi, jtag, etc)
|
# ? Nov 25, 2014 20:24 |
|
also avrs suck hth
|
# ? Nov 25, 2014 20:25 |
|
maniacdevnull posted:just wanted to pop in and remind everyone of the obvious and unquestionable truth of avr supremacy please go into detail because I was raised on PICs and know nothing else
|
# ? Nov 25, 2014 20:27 |
|
movax posted:also avrs suck hth atmegas suck but xmegas are like lower-power more featured msp430s
|
# ? Nov 25, 2014 20:29 |
|
pcie sounds cool as hell but hard like how the hell do i write a pcie driver or whatever on the pc side??
|
# ? Nov 25, 2014 20:30 |
|
|
# ? Nov 25, 2014 20:30 |
|
Bloody posted:atmegas suck but xmegas are like lower-power more featured msp430s although some of the m0 and m3 silicon people are pumping out these days are just mind-bogglingly efficient
|
# ? Nov 25, 2014 20:31 |
|
Bloody posted:atmegas suck but xmegas are like lower-power more featured msp430s personally i would de-feature msp430s out of existence, i hate the loving things (mostly the fram family) and documentation Bloody posted:pcie sounds cool as hell but hard like how the hell do i write a pcie driver or whatever on the pc side?? on linux or windows? linux pci subsystem isn't half bad, you can write a simple driver in a couple of minutes that'll say hello world upon detecting your device and expose bar0 via an ioctl for you to blink leds at 8Gb/s
|
# ? Nov 25, 2014 20:32 |
|
the only thing i'll really give the msp430 fram series is their power draw of like 1.2mA @ 10MHz at 3.3V, without trying to do any lpm poo poo
|
# ? Nov 25, 2014 20:33 |
|
i do computer hardware things but i don't write drivers and i want to learn more about it.
|
# ? Nov 25, 2014 20:36 |
|
Tin Gang posted:please go into detail because I was raised on PICs and know nothing else as a hobbyist, avr just has a better toolset. winavr is a great c compiler and toolchain, and that's what i started on. also, because avrs are what's inside arduinos, there are a ton of code examples and people selling cheap avr programmers, and if you want you can even get the arduino ide to talk to a bare avr if you have a programmer. and you can get a nice isp programmer for avrs on the cheap, or if you really want to cheap out you can make one out of a parallel port and a few resistors ive never done pic stuff, so no idea how it compares, i just like avrs because it's what i know
|
# ? Nov 25, 2014 21:06 |
|
also atmel studio owns because it is visual studio no iar or keil crap
|
# ? Nov 25, 2014 21:26 |
|
PCI driver in Linux is pretty easy to write. the problem with pcie is that it's difficult to debug the physical layer unless you have very good tools. I2S is actually a super easy way to move a lot of data and you can get parts with pretty fast I2S channels. if your signal rate is higher, for higher rates usb is probably your best bet.
|
# ? Nov 25, 2014 21:31 |
|
video vlc color flux advertisements 1080p 4k color temperature ads moving pictures sony amiga
|
# ? Nov 25, 2014 21:34 |
|
The Management posted:PCI driver in Linux is pretty easy to write. the problem with pcie is that it's difficult to debug the physical layer unless you have very good tools. yea debugging sounds stressful. i only really need like 10s of mbits per second so idk pcie feels overkill for that
|
# ? Nov 25, 2014 21:43 |
|
Bloody posted:yea debugging sounds stressful. i only really need like 10s of mbits per second so idk pcie feels overkill for that physical layer you need a very expensive oscilloscope generally to confirm / track down SI issues luckily, the channel is mostly built for you on a given motherboard -- if you're building an add-in card, don't gently caress up your short traces to the edge connector, match impedance and you're generally good 10s of mbits, either usb or ethernet i guess. probably usb. or spi
|
# ? Nov 25, 2014 21:47 |
|
how do i spi from a pc i guess like ftdi modules have spi up to like 30mbits does that count
|
# ? Nov 25, 2014 22:42 |
|
one time i soldered an atx 24 pin molex to a PCIE socket to try and power a piece of hardware without needing to shove it in a case. it didnt work.
|
# ? Nov 25, 2014 22:56 |
|
Bloody posted:how do i spi from a pc modern intel chipsets have a spi controller on them; no idea if you can do dma and such with them, but they exist. unfortunately, they're usually attached to the spi memory that holds your bios, so uh, i wouldn't use that. pretty sure the embedded chipsets though (for like industrial atom) have available spi controllers yeah, you could do a ftdi part for spi, but at that point you may want to just make your device itself the usb endpoint. basically comes down to, integrate usb into your hardware, or interface with an external usb<->* bridge like the ftdi that could give you parallel, spi, etc Illusive gently caress Man posted:one time i soldered an atx 24 pin molex to a PCIE socket to try and power a piece of hardware without needing to shove it in a case. it didnt work. oops Bloody posted:also atmel studio owns because it is visual studio i'll give you that, visual studio owns bones
|
# ? Nov 25, 2014 23:00 |
|
movax posted:modern intel chipsets have a spi controller on them; no idea if you can do dma and such with them, but they exist. unfortunately, they're usually attached to the spi memory that holds your bios, so uh, i wouldn't use that.
|
# ? Nov 25, 2014 23:01 |
|
hardware is the best ware also get a cheap used analog oscilloscope and learn to fix it and how it works its a p cool project and in the end you get a p good scope for <50$
|
# ? Nov 25, 2014 23:03 |
|
the only programming languages i have ever been half-way competent at are python and pic assembly. nothing inbetween
|
# ? Nov 25, 2014 23:09 |
|
i would like it very much if xmegas came in DIP packages because i am still an idiot babby who hasn't bothered to spend 10 dollars on a handful of QFP breakouts and i don't know why i'm not ordering some right now ffs all the cool chips only come surface-mount these days anyway
Sagebrush fucked around with this message at 23:16 on Nov 25, 2014 |
# ? Nov 25, 2014 23:14 |
|
proto-advantage will not only sell you a breakout board, you can tell them what chip you want and they will assemble it for you
|
# ? Nov 25, 2014 23:23 |
|
surface mount is seriously easy to solder by hand if you have liquid flux and if you dont have liquid flux just get the gently caress out
|
# ? Nov 25, 2014 23:23 |
|
hey bloody i jutst wanted to pop into say that for a party im going to i'm doing apple cider + fireball like this inspired by you also this thread makes me realize im pretty dumb thank you blooduy
|
# ? Nov 25, 2014 23:25 |
|
mishaq posted:hey bloody i jutst wanted to pop into say that for a party im going to i'm doing apple cider + fireball like this inspired by you good poo poo
|
# ? Nov 25, 2014 23:26 |
|
A Wheezy Steampunk posted:uart able to!!!
|
# ? Nov 25, 2014 23:30 |
|
yeah it's nothing about soldering it by hand it's that i literally have been too lazy to get the breakouts because i have a bunch of DIP attinys sitting around and tbh i kinda like making dead-bug circuits
|
# ? Nov 25, 2014 23:32 |
|
Sagebrush posted:yeah it's nothing about soldering it by hand it's that i literally have been too lazy to get the breakouts because i have a bunch of DIP attinys sitting around and tbh i kinda like making dead-bug circuits the only good bug is a dead bug
|
# ? Nov 25, 2014 23:38 |
|
I'm doing my part!
|
# ? Nov 25, 2014 23:53 |
|
sometimes i want to do more hardware stuff then i realise that i'd have to janitor bits and change my mind
|
# ? Nov 25, 2014 23:55 |
|
the only bits youll be janitoring is bits of puke and maybe poo while working for your local public school system
|
# ? Nov 26, 2014 00:02 |
|
that was directed at moo cow because i did not appreciate his post in this thread
|
# ? Nov 26, 2014 00:18 |
|
lol when hobbyists roll in and tell you "avr supremacy" just because that's what arduinos use
|
# ? Nov 26, 2014 01:15 |
|
|
# ? May 16, 2024 17:58 |
|
i have an arduino it sits in a box and does nothing right now
|
# ? Nov 26, 2014 01:17 |