Pages: [1]   Go Down
Author Topic: Using NewSottSerial at Different Frequencies  (Read 358 times)
0 Members and 1 Guest are viewing this topic.
Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I wrote a script that generates the C code for new delay
tables that can be inserted into NewSoftSerial.
The script uses the 8MHz and 16MHz values from
the existing code to generate new values.

I had the script generate values for 20MHz and compared
the new values with the existing values. At the low baud rates
the values are in agreement. The numbers seem a little off
at the high baud rates so they may need to be tweeked.

No hexadecimal dollars for bugs in the script but I will
do my best to fix them quickly smiley-wink

The script and the table I generated for F_CPU = 12MHz
are at http://wiblocks.luciani.org/docs/app-notes/software-serial.html

(* jcl *)

------------------------------------
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks
blog: http://luciani.org

Logged


Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I received a report that the constants generated for 4800Baud with a cyrstal
frequency of 12MHz are working.

(* jcl *)

------------------------------------
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks
blog: http://luciani.org
Logged


Pages: [1]   Go Up
Jump to: