Which uC ?

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi !

 

I need to decide which uC to use.

 

My requirements are:

 

2 USART channels (TXD0 RXD0, TXD1 RXD1)

 

>= 16 kB flash  

 

TWI (SCL SDA)

 

SPI (MISO, MOSI, SCK)

 

JTAG

 

 

ATMEL uC selector gives me:

 

ATmega164/324/644

 

ATmega162

 

ATmega64 - too large

 

ATtiny ATXmega AT90  - I don't have experience with them

 

 

Which would you recommend me to use?

 

Thank you !

Regards!

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mega1284?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mega1284?

By implication that also means mega644, mega324 and mega164. You just scale up/down to meet your requirements.

 

The 164/324/etc are far more "modern" than the 162 so have more up to date "goodies". On the other hand they don't have an external RAM interface. So only pick 162 over the others if you think you need more SRAM (but if that's the case look at the 1284 anyway - a massive 16K of SRAM on board).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

xtal_88 wrote:
ATmega64 - too large

In what sense?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

Thank you for suggestions guys !

 

One question that came to my mind.. 

 

It's about temp. range and clock stability.

 

What do you suggest:

1) external oscilator 8MHz + 2 cap. 12pF

2) internal oscilator 8MHz default CKDIV8 ON => 1 MHz

 

 

I know that clock drifts appear during production and because of different temperature. I've read some of David's posts about that some time ago.

 

What are your experiences?

 

Thank you once again !

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In what sense?

I'm sort of guessing he means that 64 pins is physically too much?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

Dimensions 16 x 16 mm and I don't need so many pins

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's not everyone's cup of tea but just to note that ATmega64/128 also come in a 9mmx9mm MLF package too.
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Tiny1634? ;)

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.