LPC178x: UART 38400bps with 12MHz IRC

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

LPC178x: UART 38400bps with 12MHz IRC

412 次查看
giusloq
Contributor III

I need to create a RS485/UART communication link between LPC178X and SAMD20 MCU. The communication should be 38400bps.

The clock on SAMD20 is based on an external 32.768kHz crystal (XOSC32K) and DFLL in closed loop mode.

I'm wondering if it is possible to clock LPC178X with internal IRC 12MHz oscillator. The datasheet reports a precision of 1% (11.88-12.12MHz) over all the voltages and temperatures. It seems sufficient for UART communication that usually needs a maximum of 2% error.

标签 (1)
0 项奖励
回复
1 回复

386 次查看
Habib_MS
NXP Employee
NXP Employee

Hello @giusloq,
I understand that you would use the IRC as core source clock, it is possible, as mentioned in the chapter 1.2 called "Features", as shown in the next image:

Habib_MS_0-1744146716879.png


Also, if you experience any issue do not hesitate to let me know
BR
Habib.

0 项奖励
回复