Author Topic: Atmega clones / alternatives?  (Read 1518 times)

0 Members and 1 Guest are viewing this topic.

Offline FflintTopic starter

  • Regular Contributor
  • *
  • Posts: 183
  • Country: pl
Atmega clones / alternatives?
« on: December 29, 2022, 12:55:13 am »
I'm looking for information if there are any clones of atmega644/Atmega1284 etc that are actually available (like gd32 for stm32) or perhaps alternatives? I need 44 (or more pins) 8mhz clock, 64kb eeprom, 1~2kb ram. I can /, *seem to find anything like it.
 

Offline neil555

  • Contributor
  • Posts: 41
  • Country: gb
Re: Atmega clones / alternatives?
« Reply #1 on: December 29, 2022, 02:04:38 am »

I don't think there are any clones, as for alternatives, whats your use case and how many do you need?

Mouser have 387 ATMEGA1284RFR2-ZU's in stock if that helps.

https://www.mouser.co.uk/ProductDetail/Microchip-Technology/ATMEGA1284RFR2-ZU?qs=hq%2FeQWvt0cplE0%252B3WWjaTQ%3D%3D
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Atmega clones / alternatives?
« Reply #2 on: December 29, 2022, 05:55:41 am »
Sort of, but you'll probably have to go digging for them: http://www.lgtic.com/lgt8fx8p/

Offhand, there seems to be a fair number of boards (e.g. basic breakout / "nano") using them, and I guess some hits on Aliexpress etc. for e.g. lgt8f328p.  So I mean, if you want to give it a try...

Last I looked, AVR-DA were modestly in stock, maybe it's worth adapting the project to that.  Or XMEGA.  Granted, probably all the stocks are different from when I last looked -- the next best lesson would be to be flexible in your options.  Granted, there's a fair difference between classic MEGA, X and Dx: it wouldn't exactly be a trivial porting process.  Similar in many respects, but NOT compatible.

More applicable, the (MEGA) -4 series is just stripped-down -8 and such, innit?  If a 644 will work, a 648 will surely work (with minor porting).  I suppose not 328, but maybe some optimizing and compression can be done to conserve space, if it's only marginally over 32k.  Between those, and footprint options, you should have a couple dozen parts to choose from, some of which are likely in stock.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline FflintTopic starter

  • Regular Contributor
  • *
  • Posts: 183
  • Country: pl
Re: Atmega clones / alternatives?
« Reply #3 on: December 29, 2022, 09:48:21 am »


I don't think there are any clones, as for alternatives, whats your use case and how many do you need?

Mouser have 387 ATMEGA1284RFR2-ZU's in stock if that helps.

https://www.mouser.co.uk/ProductDetail/Microchip-Technology/ATMEGA1284RFR2-ZU?qs=hq%2FeQWvt0cplE0%252B3WWjaTQ%3D%3D

Thanks, I haven't seen this one. It actually does meet my requirements (as mentioned before, 44 pin at least, 10mhz, 64k Rom, 1~2k ram) ideally avr code could run on it.

The reason I ask for clones/alternatives is that although the model you mentioned is available on mouser today it might be gone tomorrow while certain clones (like stm32 clones gd32) are persistently available at low prices.

So that's what I'm looking for. To port one or two atmega644 designs (that just pretend to be basic logic - the most specific requirement is the pin count and the clock).


Sort of, but you'll probably have to go digging for them: http://www.lgtic.com/lgt8fx8p/

Offhand, there seems to be a fair number of boards (e.g. basic breakout / "nano") using them, and I guess some hits on Aliexpress etc. for e.g. lgt8f328p.  So I mean, if you want to give it a try...

Last I looked, AVR-DA were modestly in stock, maybe it's worth adapting the project to that.  Or XMEGA.  Granted, probably all the stocks are different from when I last looked -- the next best lesson would be to be flexible in your options.  Granted, there's a fair difference between classic MEGA, X and Dx: it wouldn't exactly be a trivial porting process.  Similar in many respects, but NOT compatible.

More applicable, the (MEGA) -4 series is just stripped-down -8 and such, innit?  If a 644 will work, a 648 will surely work (with minor porting).  I suppose not 328, but maybe some optimizing and compression can be done to conserve space, if it's only marginally over 32k.  Between those, and footprint options, you should have a couple dozen parts to choose from, some of which are likely in stock.

Tim

I have heard about lgt8f328p, but the amount of flash isn't sufficient at only 32k. Something like that would be great if it had 64k (128k even better).

Regarding other microchip products, their availability is so hit and miss I would much prefer to avoid them altogether. This is not a commercial project (you could call it a hobby project), but once I port the software to the new chip there is potential for maybe 10 units per month to be required for years(attractively priced) . As it is not commercial I can't buy few hundred at start. I'm looking for something that is likely to be available.

Additionally I think once current stocks run out we're not going back to the previous availability of various microcontrollers.
The only way we're going to see cheap microcontrollers is the way RPi Rp2040 was done. New design made in a modern process.

This is why I mentioned gd32. It is a great example. It is different enough to not be a drop in replacement (ij timing critical stuff at least) so it seems to be continually available cheaper than stm32.
 

Offline bidrohini

  • Regular Contributor
  • *
  • Posts: 201
  • Country: bd
Re: Atmega clones / alternatives?
« Reply #4 on: December 29, 2022, 01:58:00 pm »
Never heard of any clones of Atmega :(
 

Offline Lindley

  • Regular Contributor
  • *
  • Posts: 206
  • Country: gb
Re: Atmega clones / alternatives?
« Reply #5 on: December 29, 2022, 03:10:59 pm »

 I'm looking for something that is likely to be available.



In these times of chip shortages who knows when production /supply will be terminated ?

As you expect your project to continue for some years perhaps now is the time to convert your code to something like the RP2040 as even if it is superceeded,  the program code will likely work with such a popular package.

At just $1 for the RP2040 chip or $4 for the Pico module in one offs  the price seems right.
https://thepihut.com/products/raspberry-pi-rp2040-microcontrolle
Though there are some differences like only 30 i/o  to your 32 i/o  there are often simple workarounds if you give the idea some thought.  Plenty of forum help to overome any such problems.

 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15441
  • Country: fr
Re: Atmega clones / alternatives?
« Reply #6 on: December 29, 2022, 07:04:39 pm »
Never heard of any clones of Atmega :(

Which is interesting, considering how popular they have been and how so many chips have been cloned.
They don't seem too hard to implement either.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7236
  • Country: ca
  • Non-expert
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4316
  • Country: us
Re: Atmega clones / alternatives?
« Reply #8 on: December 30, 2022, 02:27:12 am »
Quote
44 pin at least,
You realize that the ATmega1284 is essentially a 40-pin chip, right?  The SMT parts have two extra sets of power pins...

There are the LGT parts, which supposedly includes a 48pin version. https://www.aliexpress.us/item/3256804680821882.html  I have not heard as much about them as the 32pin "Arduino Nano sized" chips.  They are "improved" and not exact clones.

And there are rumors of ATmega chips that fail to meet low-power specs of "real" ATmegas; I don't know if anyone ever decided whether they were "clones" or just "out of spec" gray-market chips.  They seem to show up most often in the Arduino-sized chips - perhaps the sellers think that hobbyist users are less likely to noticed discrepancies...
 

Offline bidrohini

  • Regular Contributor
  • *
  • Posts: 201
  • Country: bd
Re: Atmega clones / alternatives?
« Reply #9 on: December 30, 2022, 03:44:02 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf