So I got my wage once again and wondered what to spend it on, so I thought I might get one of those ST Nucleo devboards, because they're pretty cheap, I might wanna learn how to program those nice ARM micros, and they come with a fairly decent support and hardware resources as well, so I got one. Yay.
I've ran for the
L152RE one for a number of reasons:
- Amount of flash memory. It's got whopping 512KiB of it. Freaking half a meg. Suck that, Arduino!
- Amount of SRAM. I almost went jawdrop mode when I saw it's got 80KiB of it. Why'd I ever need so much memory anyway? More about that later.
- It's also got a pretty much standalone ST-Link V2 on it, which could be used to program other micros and hack random other stuff, and seems to be supported by the OpenOCD too! Yay!
This thing alone's worth a nice buck.
- Triple SPI and double I2C, not bad.
- No less than 5 USARTs. Neat.
- It also supports USB somehow, too.
- It has arduinous headers on it too, in case one might wanna use any of those ubiquitous shields
- They claim it's also got 11 timers and up to 34 capacitive sensing channels and it can drive up to 8x40 segment LCD. Yeah, not bad. also a 1MSPS ADC - cool.
- It's also got two 12bit DACs. Yup. THIS was the main reason why I bought it.
 |
| There it is. |
When I got it (I even was late for school just to pick it up at a local post office, because I thought I could play with it at school, but alas, I didn't have the goddamn miniUSB cable it needs that day, damnit), I was actually fairly surprised when I discovered it
acts like a flash drive after plugging it in! It comes with a little html file on it which pretty much only redirects you to the mbed.org site and gives you their online compiler. That thing also comes with a whole range of examples, I haven't even tried a half of them, even though I might do so later, and I went straight to playing around with that dual-channel DAC on the thing, because you know, I just love drawing stuff on the 'scope in XY mode. I dunno why, but that's one of the few things that kinda satisfy me.
And that turned out to be pretty nice.
Anyway, back to the review,
 |
Both of those waveforms should display the same, but they don't.
The first one comes from the DAC on PA_4 (aka A2),
the second comes from the PA_4 (D13) crippled by the onboard LED. |
One thing I found slightly disappointing, is the fact it's got an LED connected to one of the DAC outputs. I know why, the DAC just so happens to end up on Arduino pin D13, which is where a LED is typically attached to on most arduinous boards of this form factor. So what's the problem, dude? Well, it just
so happens the LED cripples the wave coming out of the DAC in a pretty ugly fashion. So it basically doesn't let anything over about 2V out, which almost made me go mad. This can be solved by removing a little jumper resistor at the bottom, but since I'm lazy, I've just downscaled the output in the code to be always under that value in the linear range. Nailed it.
But apart from that, I can't
really complain much about this thing. I think I'd even recommend you getting one - they have a very wide range of them, each sporting a different processor with a different set of features that might be handy for something else. Anyway, it costs less than a half of the price of the Arduino Uno, and it has the same headers too, so in case you happen to be running low on money and actually think going with something slightly nicer than just a simple 8bit micro, I guess this might be the choice for you. I also really like the fact it's got that ST Link debugger on it ready to be broken out and being used standalone, so that might really come in handy too later, once you actually make your own little board or something.