Sign in to follow this  
Followers 0
RobG

MCU recommendation

6 posts in this topic

I am looking for MCU that fulfills those requirments:

 

cheap, <$1

low pin count, SOIC or TSSOP, 8 to 20 pins

5V (3.3V would work too)

25-48MHz (internal)

16 bit

low interrupt latency (similar to MSP430's 6/5 or 6/3 clock cycles)

free IDE

 

 

Share this post


Link to post
Share on other sites

Well, I am not sure about the interrupt latency (not that familiar with the arch), and the price is more like $1.50ish... but Renesas RL78/G13 is close:

 

https://www.renesas.com/en-us/products/microcontrollers-microprocessors/rl78/rl78g1x/rl78g13.html

 

https://products.avnet.com/shop/en/ProductDisplay?storeId=715839035&catalogId=10001&langId=-1&productId=3074457345625366633

 

OK, going down a bit, RL78/G12 has a 24MHz part that's <$1:

https://www.renesas.com/en-us/products/microcontrollers-microprocessors/rl78/rl78g1x/rl78g12.html?status=No%3B&pin_count=20%3A20%3B#

 

https://products.avnet.com/shop/ProductDisplay?catalogId=10001&langId=-1&storeId=715839035&productId=3074457345625120989&categoryId=&fromPage=autoSuggest

 

IIRC the compiler is free, or at least there is a GCC port, and Renesas e2studio is a free Eclipse-based IDE.

dubnet and RobG like this

Share this post


Link to post
Share on other sites

Except for the 16bit, the Silabs EFM8 family hits a few of your requirements.

 

I also wouldn't rule out low pin count QFN packages, say QFN24 or less. They are surprisingly easy to solder if you have a hot air station or toaster oven.

Share this post


Link to post
Share on other sites

I was going to go with MKE04Z8VTG4 (48MHz, 5V, TSSOP16, $0.60,) but a) had some issues with their tools, B) latency is 15/?, c) don't really want to deal with complexities of ARM (my code is super simple.)

 

RL78/G12 sounds like a winner, I will look into it.

Share this post


Link to post
Share on other sites

I was going to go with MKE04Z8VTG4 (48MHz, 5V, TSSOP16, $0.60,) but a) had some issues with their tools, B) latency is 15/?, c) don't really want to deal with complexities of ARM (my code is super simple.)

 

RL78/G12 sounds like a winner, I will look into it.

Not sure what the JTAG tools run for those, although I think they have a serial bootloader of sorts (the big brother RX series do anyway), and the arch is a modern evolution of the Z80 (taken from NEC when NEC sold their semiconductor division to Renesas) from what I gather.  Not important for a smaller chip but, for larger RL78/G14's and such with >64KB flash and/or SRAM, the architecture still uses a 16-bit address bus but with special paging that requires the compiler use "trampoline" code to switch pages as needed (should be transparent to the developer though but adds latency to function calls)..... but, for a super simple program on a small chip, you'll never encounter this.

 

edit: For JTAG, the Renesas E1/E20/etc series of emulators are specified, the cheapest variety is the E2 emulator Lite which is ~$65ish.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0