Any microcontroller of atmel fulfilling my requirements

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

I have to start a new microcontroller based project for the same I am going through the specifications of different microcontrollers. As I am already aware about the atmel series of microcontrollers. Therefore I am interested in using this one But I am unable to find the suitable series of microcontroller. My requirement is that I need 5 serial ports and one parallel port. Most of peripherals are used always so, multiplexing is not the solution for me.

I also need to send the data through LAN. So, I think RJ45 is required and none of the microcontroller in atmel is providing this feature.

Any comments regarding this will be appreciated.

Thanks,

Anmol Kumar

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

There are two approaches to such a design.

1. Get an expensive uC that can do all this.
Wait for Leon and some of the others to come on line and I'm sure they'll be able to suggest suitable parts (XMOS?).

2. Use several cheap uCs and split the tasks between them.

If you think education is expensive, try ignorance.

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

Serial I/F's can also be handled by external serial devices (e.g. max3100). The major question is: What is the transmission speed? What do you want to do internally with the data? What do you want to do with the LAN? Mostly what are the time constrains?

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

If serial interfaces can be handled by serial devices its good. But I have never heard so before. Transmission speed is mostly 9600 bits per second (with some other parameters ie. data bits, stop bits etc.). I have to attach peripherals (related to payment technology) and sending and receiving of responses is there to do my job done. (as programmed and demanded by the end customer).
Actually LAN is required to send the data of particular transaction to server (for that some IP is given in setup).

Really time constraint is there and its 2 months.

Anmol

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

Make 4 software UARTS plus the 1 (or two) hw one.
Use the ENC28J60 (microchip) on the SPI port for the RJ45 (Ethernet) communication.
If you don't need too many pins, you can use the MEGA88, MEGA168 or MEGA328 (they can do 20MHz @ 5V - good for soft uarts).

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

Quote:

If serial interfaces can be handled by serial devices its good. But I have never heard so before.

Do you really believe that the silicon manufacturers/vendors would be making such devices knowing that they don' work well?

If you could get hold of them I can't help noticing that the high-end Xmegas have a UART per port so 8 on the biggest devices - but just try getting hold of some!

If you are tied to AVR I'd probably go with Fernando's suggestion and use a mega640/1280/2560 which has four in hardware so you'd have to do the fifth one soft.

Cliff

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

The XMOS chip will do it very easily (just buy the $99 XC-1 kit). XMOS has a full Ethernet implementation available. All that has to be added are the RS-232 drivers and a Phy chip for the Ethernet.

The Parallax Propeller is another solution:

http://www.parallax.com

It has eight "cogs" or processors. The UARTs (up to 256k) can be implemented on five cogs and the parallel port on a sixth, leaving two cogs spare. You'd need an Ethernet chip as well.

Leon

Leon Heller G1HSM