Hello,
I'm looking for an Arduino platform reccomendation for something I'm working on:
I have a microcontroller (non-arduino) that I want to test out its SPI, I2C and UART comm, simultaneously.
Basically, I'm going to be messing with the microcontroller and I want to see if it affects the serial comm signals.
I was thinking an arduino might be a good way to do this.
I'd like to run the UART, I2C and SPI from my microcontroler, to the Arduino, and monitor or log the serial data somehow to observe any glitches.
Can the Arduino run all 3 serial comm, and maybe some GPIO in the same sketch... and which Arudino would you recommend for this?
much thanks!
panfilero:
Hello,
I'm looking for an Arduino platform reccomendation for something I'm working on:
I have a microcontroller (non-arduino) that I want to test out its SPI, I2C and UART comm, simultaneously.
Basically, I'm going to be messing with the microcontroller and I want to see if it affects the serial comm signals.
I was thinking an arduino might be a good way to do this.
I'd like to run the UART, I2C and SPI from my microcontroler, to the Arduino, and monitor or log the serial data somehow to observe any glitches.
Can the Arduino run all 3 serial comm, and maybe some GPIO in the same sketch... and which Arudino would you recommend for this?
much thanks!
Do you think the Data Rates of the UART, I2 C and SPI might be helpful in making a decision?
How many UARTs do you need?
I'd suggest a Micro or a Teensy. They have all of those interfaces plus a USB interface so that you can view/control the thing easily from your PC. The Teensy has two additional serial UARTs, a second I2C port and CAN bus too. A Due or Mega would also work.
I guess I need 2 UARTS?
I want to see data on a terminal window, so I'll need to be using the USB.
Does the UART use the USB? If it does, then I'll need an Arduino with 2 UARTs.
My data rates can be as slow as I want.
Thanks
MorganS
December 2, 2015, 10:19pm
5
On the Uno and most other Arduinos, the USB does occupy the first UART.
SoftwareSerial is also an option for those boards.
I think I'm going to go with the Teensy-LC, it has 3 UARTS, 2 SPI, 1 I2C
http://store-usa.arduino.cc/products/teensy-lc
Thanks!