Aziz Ismail

SCI port initialisation

Discussion created by Aziz Ismail on Jun 3, 2007
Latest reply on Jun 4, 2007 by David Payne
I am wondering .. i'm looking at the demo9s08app.c and it seems that every time a character is sent , it opens the port
send : SCIC2 =0x08;
receive: SCIC2 =0x04;

but when i initialised the port in my own code , at the start , i will get an initial word .. ( eg. Hello ) followed by funny characters ...

i talked to some pple , and they said that i have to calibrate the chip with ICSTRIM using an oscillator ...
a thread has mentioned this as well .. (internal ref clock accurate ... thread)

what is the difference between the demo app file usage and the intention of opening the port from the beginning ?

*just wondering*



Outcomes