LPC11U68 USART0 auto-cts not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC11U68 USART0 auto-cts not working

415件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by David Perry on Wed Mar 30 12:47:40 MST 2016
I'm having an issue where the UART will transmit even though CTS should be preventing it. When I look at the Modem Status Register with the debugger I see the CTS bit is 1, so it's no surprise that UART transmits. However this bit is supposed to be the complement of the input signal CTS, which is high (3.3v).

So it appears the CTS input signal is not finding its way to the register. I have the pin mux set up like so:

Chip_IOCON_PinMuxSet(LPC_IOCON, UART0_PORT, UART0_CTS_BIT, IOCON_FUNC1);

I'm using the 48 pin part and the CTS signal is connected to pin 24, PIO0_7.

I've enabled auto-cts and auto-rts like this:

Chip_UART0_SetModemControl(LPC_USART0, UART0_MCR_AUTO_RTS_EN | UART0_MCR_AUTO_CTS_EN);

Everything else is working : RX, TX and auto-rts all function as expected.

Am I missing something besides setting up the pin mux?

Thanks for any suggestions,
Dave
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

342件の閲覧回数
toddwade
Contributor II

Have you ever gotten a response or have you resolved this?  I'm experiencing the same thing and am looking for a way to solve this.

todd

0 件の賞賛
返信

342件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信