UART on kl25z

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

UART on kl25z

跳至解决方案
5,629 次查看
aayushm
Contributor I

What is the differnce  between UART0, UART1, UART2 on kl25z ?

What is the operating voltage of RX/TX pin of kl25z ?

标记 (2)
0 项奖励
回复
1 解答
2,923 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Please check my colleague comments at below thread:

UART on kl25z

Wish it helps.

Best regards,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,924 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Please check my colleague comments at below thread:

UART on kl25z

Wish it helps.

Best regards,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,923 次查看
gibbon1
Contributor III

The big difference is that UART0 has more clock options than UART1 and UART2. See system Options Register 2 (SIM_SOPT2) in the data sheet. UART1 and 2 use the same clock as runs the processor core.

In my case I'm constantly switching off the FLL clock and running the uP off the internal 4MHz clock to save power. By using the 4MHz clock to run UART0 I don't have to worry about data being sent out the uart getting corrupted.

I think there are also some features to automatically wake the uart up when the tx line toggles on UART0.

0 项奖励
回复
2,923 次查看
aayushm
Contributor I

Thanks gibbon1 . That is a very useful information.

Can you please tell me, What is the operating voltage of rx/tx uart line?

0 项奖励
回复
2,923 次查看
gibbon1
Contributor III

Generally I think they are just standard CMOS voltage levels, typically 3.3V logic. If you want actual RS232 or RS485 signal levels you need an interface chip. For development stuff I use a USB to 3.3V serial cable see link below. to talk to the processor serial port.

http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf

0 项奖励
回复