USART difference LPC81x vs LPC82x, TXIDLE

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

USART difference LPC81x vs LPC82x, TXIDLE

905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by S Kojima on Wed Apr 27 01:33:51 MST 2016
Dear fellows,

I'm doing prototyping for LPC81x by using LPC824MAX.

In one of my recent projects, I'm going to use TXDIDLE interrput report.

Is that bit missing( Was not implemented in slicon) in LPC81x serise ?
As far as LPCOpen's uart_8xx.h, UART_STAT_TXIDLE is not a part of conditional comlilation that distinguish LPC824 from LPC81x.

I'm going to use TXIDLE to confirm that the last Tx'ed byte has REALLY been transferred and the time needed for that transfer has been REALLY elapsed.
If TXDIDLE is not implemented in LPC81x, is ther any reasonable alternative ways to know the time consumed ?
Employing another timer (such as SCT or SysTick) will NOT be a solution to me. Those ones are all occupied.

Regards,
标签 (1)
0 项奖励
回复
2 回复数

821 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复

821 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by S Kojima on Wed Apr 27 02:30:34 MST 2016
Hello,

tiny correction:
uart_8xx.h is correct.
UART_STAT_TXIDLE exists also on LPC81x.
UART_INTEN_TXIDLE (which I wish to have interrupt report feature) is NOT implemented in LPC81x.
And uart_8xx.h properly reflects those.

What I would like to do is killing intended time only with USART-related hardware resources and during that term I would like to keep a certain pin at low level.

Any smart idea ?
0 项奖励
回复