need help in serial communication

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

need help in serial communication

跳至解决方案
668 次查看
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 */

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

标签 (1)
0 项奖励
回复
1 解答
527 次查看
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 项奖励
回复
1 回复
528 次查看
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 项奖励
回复