|
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 |
|
|
# ¿ Apr 29, 2024 10:45 |
|
avr supremacy is legit especially if you use xmegas, xmegas are dope
|
# ¿ Nov 25, 2014 19:40 |
|
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 |
|
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 |
|
also atmel studio owns because it is visual studio no iar or keil crap
|
# ¿ Nov 25, 2014 21:26 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
I own no equipment so it owns Workin in a lab with like 100k network analyzers n metcal irons n poo poo Not that I ever take advantage of this Might for Santee though!
|
# ¿ Nov 26, 2014 01:42 |
|
ChiralCondensate posted:I (in a team with others) janitor these bits: dope
|
# ¿ Nov 26, 2014 02:42 |
|
beep boop lmao
|
# ¿ Nov 26, 2014 05:25 |
|
wish/hope im your santee
|
# ¿ Nov 26, 2014 05:25 |
|
kwinkles posted:its not you but it is another well known shamefully nerdy yosposter. if you want i can post my source code to be ridiculed, i am a bad c++ programmer and i am sure i write it all as if it were system verilog and everything happens in zero simulation time with no regard for actual resources. tbf thats probably better than average
|
# ¿ Nov 26, 2014 05:58 |
|
wheres the cheapest place to get loose tolerance full panel 1 or 2 layer boards im not interested in toner transfer
|
# ¿ Nov 26, 2014 05:58 |
|
z0rlandi viSSer posted:we have cycles to fukkn spare like woah your in the wrong thread m8
|
# ¿ Nov 26, 2014 06:47 |
|
I bought a tm4c launchpad board last night. 20 bucks and a cortex m4 and a zillion peripherals n poo poo
|
# ¿ Nov 27, 2014 02:54 |
|
Mido posted:in my dumb opinion it's okay to waste cycles on simple applications in projects that don't need to scale or multi task much. get something done. optimize when it's time. structure your code base well so you can refactor your inefficiencies later Epic thissery. The field owns though when you find yourself optimizing stack usage to save individual bytes because it means writing out to flash slightly less frequently and now you can meet or exceed your power requirements etc etc. Desktop software is like you're an artist with an arbitrarily large canvass and you have so much freedom and room for activities that your constraints wind up largely self imposed but on a lil microcontroller it's like you have the back of a postcard to get as much done as possible Idk I'm bad at analogies good night yospos
|
# ¿ Nov 27, 2014 03:47 |
|
Locker Room Zubaz posted:I messed around with FPGAs a little in college and thought they were really cool and I want to get back into them. Can anyone recommend a decent breadboard? Yeah but only if by decent you mean expensive and horribly complex Or at least expensive Actually I'm not sure if it's expensive but the igloo nano dev kit is pretty cute and painless. Digilent (I think?) makes some decent educational stuff too iirc
|
# ¿ Nov 27, 2014 04:29 |
|
kwinkles posted:i read this and i think: faaaaaaart RIP power budget
|
# ¿ Nov 27, 2014 04:47 |
|
I'm the through hole clown devices
|
# ¿ Nov 28, 2014 00:31 |
|
Mr Dog posted:there are still people using something other than Cortex-M chips for something that doesn't have to be ultra low power Aww yiss ddr termination
|
# ¿ Nov 28, 2014 01:55 |
|
Their architecture is bad and their mips per mw or whatever power metric you want is bad
|
# ¿ Dec 1, 2014 05:24 |
|
movax posted:i'd be surprised if either the nexys-3 (spartan 6) or nexys-4 (artix 7) wouldn't be enough -- hopefully you can get academic pricing Idk one of their app notes crams an 8051 and some not cheap peripherals in a third of the 250
|
# ¿ Dec 1, 2014 16:03 |
|
your program counter comes up in a known state (probably) or some sort of reset generator causes it to enter a known state (such as the reset vector) from there, code happens
|
# ¿ Dec 1, 2014 19:10 |
|
like on msp430s or maybe its arm7s or something i forget it doesnt matter it always comes up at 0x0200 so if yo want a bootloader you stick its entry point at 0x0200 and go from there
|
# ¿ Dec 1, 2014 19:11 |
|
install diptrace
|
# ¿ Dec 1, 2014 21:54 |
|
yea that thing seems cool iot is dumb as gently caress but it sure is making a lot of cool dev kits available for dirt cheap
|
# ¿ Dec 4, 2014 19:06 |
|
I can't wait for my refrigerator to get a virus and melt all of my food so that I too can get a virus
|
# ¿ Dec 5, 2014 06:10 |
|
Xmegas own because they are good chips with great and cheap/free tools
|
# ¿ Dec 5, 2014 06:34 |
|
dang thats a long effort post gonna go read it pre-emptive good poo poo op
|
# ¿ Dec 5, 2014 19:18 |
|
Mr Dog posted:alright i might as well do an effortpost on usb as well. note that i don't know much about usb beyond 1.1 but eh 12mbit is still decently fast this is a really really good post
|
# ¿ Dec 5, 2014 19:32 |
|
Jonny 290 posted:i'm thinking of doing RGBW LED strips in Hausbus instead of christmas lights. i just bought one of these and it is really cool although a similar thing but wifi could be cooler: http://www.ti.com/ww/en/launchpad/launchpads-connected-ek-tm4c1294xl.html#tabs has a metric shitton of gpio for blinking leds and has a ton of example code but trigger warning: code composer studio
|
# ¿ Dec 5, 2014 19:34 |
|
yeah they've apparently amped up the wired poo poo into a arduino-like thing or something (energia???) but im an idiot masochist so i downloaded ccs im pretty sure that bottom row is just every single cpu pin broken out to 0.1"
|
# ¿ Dec 5, 2014 19:42 |
|
DuckConference posted:well some guy made an fm transmitter out of a small uc and a battery because the main pll was reconfigurable fast enough for that to be viable way to modulate the core clock with audio frequencies, so as long as the pll lock is much shorter than the symbol duration I guess you could do it. doesn't do receiving, though that owns
|
# ¿ Dec 5, 2014 21:44 |
|
Illusive gently caress Man posted:dope post. the chip i've been working with the last few days is slightly different though. There's no DMA. There's two registers I have direct access to (UADDR, UDATA) and then several other registers (most of which are bitfields for enabling/checking for interrupts on things like "a packet is ready in EP3-IN") which I can access through those two. Then i can read packets a byte at a time by (for example) setting UADDR to 'read bit' bitwise and the usb register number for the EP0-out buffer, waiting for the ready bit on UADDR to be set, and then reading UDATA to get my byte. Repeat 8 times for the whole setup packet. The chip has 2 IN endpoints, 1 OUT endpoint and ep0. sdounds like your using the aforementioned poverty-tier hardware. sorry for your loss.
|
# ¿ Dec 6, 2014 07:47 |
|
"who gives a gently caress" "at mega"
|
# ¿ Dec 8, 2014 01:51 |
|
|
# ¿ Apr 29, 2024 10:45 |
|
semon demon posted:I did a ton of FPGA stuff in school like writin a few multicore processors in verilog and some weird video processsing poo poo and it was real fun but now I spend all day doin gay database garbage. Are there any non-stupid-expensive and non-ridiculous-toolchain FPGA's for general gently caress-around-ery out there? a lot of the dev kits come with some sort of license like you can get a decent zynq kit for a couple hundred bucks with a not too crippled copy of vivado
|
# ¿ Dec 8, 2014 02:03 |