//SCI2BDL=0b00100001;//37878, 33 = 20Mhz/16*384000, where BaudRate = clock/(16*prescalar)
SCI2BDL=0b00100000;//39062, 32 = 20Mhz/16*384000, where BaudRate = clock/(16*prescalar)
when
ICGC2_MFD = 7;
ICGC2_RFD = 0;
ICGC1 = 0b00111000;
All jumpers must be set. See page 169 of MC9S08GB60.pdf for additional info.
Data rate verified via serial hookup to RealTerm Serial Capture.
No comments:
Post a Comment