Arduino serial and i2c with just the 8mhz?

70 views
Skip to first unread message

Jeff Johnson

unread,
Nov 12, 2012, 7:56:44 PM11/12/12
to lv...@googlegroups.com
Does anyone know if using the regular 328P chip without a crystal (to use the onboard 8MHz) will still allow you to do serial communication as well as i2c, or is it too slow or unreliable without the 16MHz crystal setup?

Thanks.
Jeff

Brad Luyster

unread,
Nov 12, 2012, 9:31:28 PM11/12/12
to LVL1 - Louisville's Hackerspace
Since I2C is synchronous with respect to the master, you'll have no issue there.

Serial is unlikely to be an issue, unless your receiving system has tight tolerances, or you have to use a strange baudrate.  Take a look here to see what bit rates are acceptable for a given clock: http://www.wormfood.net/avrbaudcalc.php

Jeff Johnson

unread,
Nov 12, 2012, 9:33:06 PM11/12/12
to lv...@googlegroups.com
Cool.  Thanks Brad.

#

unread,
Nov 12, 2012, 9:34:29 PM11/12/12
to lv...@googlegroups.com
i agree with brad ,, was tryin to find a chart for baudrates
   i can say ive used both i2c an serial with no external crystals and things worked as expected but i dont have tools an stuff to check for sure ,


On Mon, Nov 12, 2012 at 9:31 PM, Brad Luyster <bradl...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages