I learned microcontrollers with the venerable PIC16F84 and descendants, way before Arduino was a thing. It took me over 15 years years to finally jump ship to AVRs for random small projects. Please don't use PICs. For anything. There is literally no metric where they are ideal.
-
-
Literally no metric? Power consumption, DIP availability, analog peripheral selection, cross-platform vendor-supported tooling, interrupt latency, code density, ease of programming, pin remappability, short-run factory programming, code-gen tools, low-cost debuggers...
3 replies 0 retweets 1 like -
Replying to @jaydcarlson @kuzetsa and
> cross-platform vendor-supported tooling Since when is "vendor-supported" a positive? PICs have *horrible* C support and the vendor compilers are a complete joke. AVRs have excellent support in gcc. > ease of programming Have you *ever* written PIC asm vs, like, anything else?
1 reply 1 retweet 5 likes -
Replying to @marcan42 @jaydcarlson and
> pin remappability What? At least in my age, you got one (1) pin per special function most of the time, if two clashed, sorry, sucks to be you. Look at modern ARM chips for proper remappability. > short-run factory programming Who cares? Everyone should use in-circuit prog.
2 replies 0 retweets 2 likes -
Replying to @marcan42 @jaydcarlson and
> low-cost debuggers Seriously, have you tried any other micros? PICs were historically on the *expensive* side of debuggers (ugh ICD2, nevermind the ICE era), until PICkit came along. By then other micros had cheap debuggers too.
1 reply 0 retweets 5 likes -
Replying to @marcan42 @jaydcarlson and
> power consumption That's MSP430 land. > code density Citation needed. Also, RETLW 0x42 > code-gen tools What does this even mean? The PIClist busyloop delay generator?
3 replies 0 retweets 6 likes -
Replying to @marcan42 @jaydcarlson and
> MSP430 land There's at least competition in this space now. There's the SimpleLink series from TI (e.g. CC1312R with 60 µA/MHz) or ST's ultra low power ones with similar power consumption.
1 reply 0 retweets 0 likes -
Replying to @tachiniererin @marcan42 and
There's also Maxim's practically unusable DARWIN series which don't even have a programming manual and require you to use their SDK, which also last time I checked, has no documentation.
1 reply 0 retweets 1 like -
Replying to @tachiniererin @marcan42 and
I'd not seen these, but I can raise you these:https://www.parallax.com/catalog/microcontrollers/propeller …
1 reply 0 retweets 1 like -
Replying to @cybergibbons @marcan42 and
Oh those are actually pretty awesome! Parallax is very open about their development process and has released Verilog code for the P1 and P2 under open source licenses. I mean, it's a really weird and expensive chip, but not very high on the shitty/cursedness scale (imo)
3 replies 0 retweets 3 likes
Wow, I've programmed P1, but I didn't know P2 was a thing. That chip is ridiculous.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.