Need Help: LS1046ARDB - Tx Interrupt in IM mode

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

Need Help: LS1046ARDB - Tx Interrupt in IM mode

跳至解决方案
3,563 次查看
srak
Contributor III

In document, there is information about Rx interrupt (RxF Interrupt, RxBD busy Interrupt) but I could not find information on Tx interrupt. How to check for Tx complete event or Tx ready event?

标签 (1)
0 项奖励
回复
1 解答
3,416 次查看
LFGP
NXP TechSupport
NXP TechSupport

unfortunately there is no dedicate interrupt to handle what you want,
please follow to the next link in order to get an idea to develop your own interrupt

https://developer.arm.com/documentation/den0024/a/AArch64-Exception-Handling/Interrupt-handling

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,474 次查看
srak
Contributor III

You can use theBSYfield in theFMBM_TST—Tx Statusregister.

How to enable interrupt for this field? I could not find interrupt details in document.

0 项奖励
回复
3,526 次查看
srak
Contributor III

Not using LPUART. I am using Ethernet - Independent mode. Any Tx interrupt available for Ethernet?

0 项奖励
回复
3,417 次查看
LFGP
NXP TechSupport
NXP TechSupport

unfortunately there is no dedicate interrupt to handle what you want,
please follow to the next link in order to get an idea to develop your own interrupt

https://developer.arm.com/documentation/den0024/a/AArch64-Exception-Handling/Interrupt-handling

 

0 项奖励
回复
3,506 次查看
LFGP
NXP TechSupport
NXP TechSupport

You can use the BSY field in the FMBM_TST—Tx Status register.

Please go to the section BMI Tx Port Registers in the LS1046 DPAA reference manual, page 552 

use the next link for the DPAA

https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors/la...

 

0 项奖励
回复
3,543 次查看
LFGP
NXP TechSupport
NXP TechSupport

if you are using LPUART you can read the field TXEMPT in the LPUART FIFO Register.

Please go to the section 24.3.7 LPUART FIFO Register (LPUARTx_FIFO) in the reference manual to get more info about it.

0 项奖励
回复