Need Help: LS1046ARDB - Tx Interrupt in IM mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need Help: LS1046ARDB - Tx Interrupt in IM mode

Jump to solution
750 Views
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?

Labels (1)
0 Kudos
1 Solution
603 Views
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

 

View solution in original post

0 Kudos
5 Replies
661 Views
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 Kudos
713 Views
srak
Contributor III

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

0 Kudos
604 Views
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 Kudos
693 Views
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 Kudos
730 Views
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 Kudos