need help in serial communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

need help in serial communication

Jump to solution
429 Views
vikassubramani
Contributor II

/*******************************************************************************************************************************/

/* MC9S08DN16 */

/* The below program is a sample code with the following configuration */

/* SCI enable */

/* 9600 baud rate, 8 data bits, 1stop bit, No parity bit */

/* Idle wakeup */

/* Idle character bit count starts after stop bit */

/* receiver wake up to standby mode */

/* Receiver enable */

/* RS_485 direction set to receive */

/* Interrupt on receiver full */

/* Interrupt on any receiving error */

/********************************************************************************************************************************/

Labels (1)
0 Kudos
1 Solution
288 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hello vikas,

i suggest refer below document which is about how to implement HCS08 Peripheral Module. SCI is included.

http://cache.freescale.com/files/microcontrollers/doc/user_guide/HCS08QRUG.pdf

I also attached the sample code.

===================================

this answer is for you. if it helps, please click on correct answer button. thansk!

Best Regards,

Zhang Jun

View solution in original post

0 Kudos
1 Reply
289 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hello vikas,

i suggest refer below document which is about how to implement HCS08 Peripheral Module. SCI is included.

http://cache.freescale.com/files/microcontrollers/doc/user_guide/HCS08QRUG.pdf

I also attached the sample code.

===================================

this answer is for you. if it helps, please click on correct answer button. thansk!

Best Regards,

Zhang Jun

0 Kudos