Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What type of MCU to choose?

Status
Not open for further replies.

milesguidon

Member level 2
Joined
Dec 4, 2010
Messages
52
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,288
Location
Los Angeles, CA
Activity points
1,753
I need to choose a MCU for something I am designing, but I am unsure of what to use.

My input to the MCU is going to be asynchronous data, in 14 bit words. My output from the MCU is going to be serial data in 224 bit words [24 bytes] along with a clock. So, the input doesn't need a clock [I only need to tell the MCU the Baud rate], but the component after the MCU that takes the MCU's output needs a clock along with the 24 byte packets to handle the transfers. This much I know. I hope that I have chosen the correct order in designing my digital system [that is, choose what you want at the beginning, and choose what you want the end goal to be...THEN find an MCU that can do what you need it to].

I am new to designing anything with digital parts, and I am having a hard time choosing a microprocessor that can take in asynchronous data in 14 bits, and output synchronous data with a 24-byte length. It's not so much that I can't choose an MCU, but that I just don't know what different MCU's can handle as input and output. If an MCU datasheet says it can do serial I/O, does this mean it can also do asynchronous serial input and synchronous serial output [can it mix and match]? It could be that there are many microprocessors that are capable of what I am looking for, but I just don't know where to start. Could anybody please help me with this?

Thanks.
 

What is the baudrate you talk about?

If it is very low, you can do everything in software with any cheap micro controller available. For fast rates, you need a micro controller with dedicated serial interface hardware. Most serial port interfaces on micro controllers can be configured to be synchronous or asynchronous, you need two of them. If it very high baudrate, look for a CPLD or FPGA solution.

Stefaan
 
Your requirement can be handled by a simple 8bit micro, but you didn't mention the speed.

Speed is the one of the main aspects while selecting a micro. Most of the micro's dont have the hardware for 14bit input.

You have to write your own code to handle both input and output.
 
The datasheet for the part that is sending the data to the microcontroller lists an auto baud rate detection for 2400, 4800, 9600, 19.2k, 38.4k for module-to-mcu communication. I think this means that the MCU can be told that the baud rate is any of these values, and the module will realize this.
 

I need to choose a MCU for something I am designing, but I am unsure of what to use.

My input to the MCU is going to be asynchronous data, in 14 bit words. My output from the MCU is going to be serial data in 224 bit words [24 bytes] along with a clock. So, the input doesn't need a clock [I only need to tell the MCU the Baud rate], but the component after the MCU that takes the MCU's output needs a clock along with the 24 byte packets to handle the transfers. This much I know. I hope that I have chosen the correct order in designing my digital system [that is, choose what you want at the beginning, and choose what you want the end goal to be...THEN find an MCU that can do what you need it to].


I am new to designing anything with digital parts, and I am having a hard time choosing a microprocessor that can take in asynchronous data in 14 bits, and output synchronous data with a 24-byte length. It's not so much that I can't choose an MCU, but that I just don't know what different MCU's can handle as input and output. If an MCU datasheet says it can do serial I/O, does this mean it can also do asynchronous serial input and synchronous serial output [can it mix and match]? It could be that there are many microprocessors that are capable of what I am looking for, but I just don't know where to start. Could anybody please help me with this?

Thanks.
As a newbie, suggest you start with a module, not a chip. And one with a rapid development programming environment rather than a "bare metal" CPU.
Such as
zbasic dot net
and the user forum where you'll get amazing instant help:
zbasic DOT net/forum/
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top