leah2 has quit [Read error: Connection reset by peer]
<solrize>
are there 32-bit mcu's with ample memory, but simple to program like an AVR? i.e. no 100's of control registers, power modes, etc. Just some simple boot procedure and i/o to pins
frost has joined #riscv
<geist>
guess gotta define what ample memory is
<solrize>
256k flash 32k ram like incurrent samd21 boards maybe
<solrize>
that suffices to run micropython
<solrize>
could live with less i guess
riff-IRC has quit [Ping timeout: 252 seconds]
riff-IRC has joined #riscv
<geist>
sure, i guess there are tons of those, but i assume riscv or arm32 is too complicated to program?
<solrize>
it's not the instruction set, it's the amount of features in the mcu itself
<solrize>
the bigger avr's like the 2560 are quite expensive
jwillikers has quit [Remote host closed the connection]
<xentrac>
solrize: I wonder if the pioasm approach might give you what you're looking for if more mcus adopt it
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
mahmutov has joined #riscv
englishm has joined #riscv
riff-IRC has quit [Remote host closed the connection]
mahmutov has quit [Ping timeout: 252 seconds]
indy has quit [Ping timeout: 246 seconds]
indy has joined #riscv
davidlt has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
tgamblin has quit [Remote host closed the connection]
shoragan has quit [Ping timeout: 256 seconds]
tgamblin has joined #riscv
shoragan has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
tgamblin has quit [Remote host closed the connection]
wingsorc has quit [Quit: Leaving]
tgamblin has joined #riscv
freakazoid333 has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #riscv
freakazoid333 has quit [Remote host closed the connection]
freakazoid333 has joined #riscv
davidlt has quit [Ping timeout: 252 seconds]
valentin has joined #riscv
ats has quit [Ping timeout: 240 seconds]
hendursa1 has quit [Ping timeout: 244 seconds]
davidlt has joined #riscv
pecastro has joined #riscv
leah2 has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
riff-IRC has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
tgamblin has quit [Remote host closed the connection]
wingsorc has joined #riscv
tgamblin has joined #riscv
carado has quit [Ping timeout: 272 seconds]
jeancf_ has joined #riscv
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #riscv
jeancf_ has quit [Ping timeout: 272 seconds]
ats has joined #riscv
hendursa1 has joined #riscv
Tranmi has joined #riscv
freakazoid334 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
zjason has joined #riscv
freakazoid334 has quit [Read error: Connection reset by peer]
tgamblin has quit [Read error: Connection reset by peer]
tgamblin has joined #riscv
jwillikers has joined #riscv
dlan has quit [Remote host closed the connection]
<GenTooMan>
solrize, It appears that the over bearing part of most MCU's is the pile of stuff to set them up. Unfortunately the same mistake appears repeated over and over again with these systems of making such setup "clever" instead of simple.
dlan has joined #riscv
dionysos is now known as dilfridge
dilfridge is now known as iznogoud
<xentrac>
solrize: I don't think it is totally separate. a big reason for having hundreds of control registers is that common microcontrollers now come with three SPI buses, two USARTs, an I2C bus, a CAN bus, four 8-bit PWM channels and a 16-bit PWM channel, and so on, and pioasm might be a good enough solution that they can dispense with a lot of that stuff
<xentrac>
I mean it clearly won't get rid of having half a dozen low-power modes, but you could imagine it simplifying the interface a lot
iznogoud is now known as helium-3
carado has joined #riscv
frost has quit [Quit: Connection closed]
vagrantc has joined #riscv
_whitelogger has joined #riscv
freakazoid333 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
pecastro has quit [Quit: Lost terminal]
pecastro has joined #riscv
jwillikers has quit [Read error: Connection reset by peer]
jwillikers has joined #riscv
jwillikers has quit [Remote host closed the connection]
jwillikers has joined #riscv
jwillikers has quit [Remote host closed the connection]
jwillikers has joined #riscv
pecastro has quit [Quit: Lost terminal]
pecastro has joined #riscv
mahmutov has joined #riscv
valentin has quit [Ping timeout: 252 seconds]
pecastro has quit [Quit: Lost terminal]
valentin has joined #riscv
valentin has quit [Client Quit]
davidlt has quit [Ping timeout: 258 seconds]
winterflaw has joined #riscv
helium-3 is now known as dilfridge
iorem has quit [Quit: Connection closed]
mahmutov has quit [Quit: WeeChat 3.1]
mahmutov has joined #riscv
<dh`>
surely you can just ignore the buses you aren't using?
<solrize>
maybe it suffices for poweron-reset to initialize all those devices automatically into some reasonable inactive state
<solrize>
so you only have to deal with a device if you want to use it
<solrize>
i guess usb is also complicated and everything has it now
pecastro has joined #riscv
<dh`>
and all kinds of stuff you might care about attaches via usb
<geist>
the standard microcontroller, even complicated 32bit ones, generally just start up ready to go. maybe you need to enable the external crstal or so
<geist>
but really thats about as simple as it gets. you can generally just ignore the busses you dont care about
<geist>
on top of that they usually come with a library or framework you can link with, though i usually write my own
<geist>
sure, it's more complicated than an AVR, but... well, that's the march of technology. it's really pretty straightforward. dont be daunted by hundreds of registers, since most of them you'll never bother with
<geist>
i'm thinking, for example, a STM32 microcontroller, or even a sifive hifive. pretty simple, ready to go at instruction 0
<dh`>
ideally, the docs would tell you which things you can ignore entirely if you aren't using them, and say explicitly the minimum set of things you need to do to start up successfully
<dh`>
but well docs
gioyik has joined #riscv
<geist>
sure. but i can tell you from experience that for the most part every MCU i've fiddled with comes up with reasonable defaults
<geist>
yes, if you're making some production quality code you really want to dot all your is and cross ts, (though i doublt most production code does)
<geist>
but for hackery, defaults work pretty fine
<geist>
also things like what is the default state of all the pins, etc. generally speaking they're input, floating
mhorne has quit [Ping timeout: 252 seconds]
mhorne has joined #riscv
Tranmi has quit [Ping timeout: 258 seconds]
mahmutov has quit [Ping timeout: 265 seconds]
q66_ has quit [Quit: q66_]
winterflaw has quit [Ping timeout: 244 seconds]
pecastro has quit [Ping timeout: 256 seconds]
q66 has joined #riscv
crabbedhaloablut has quit [Ping timeout: 244 seconds]
crabbedhaloablut has joined #riscv
vagrantc has quit [Quit: leaving]
winlundn has joined #riscv
freakazoid333 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #riscv
freakazoid333 has quit [Read error: Connection reset by peer]