KSDK-1.0.0 PEx Uart irq/dma

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

KSDK-1.0.0 PEx Uart irq/dma

787 Views
oaf
Contributor IV

Hi,

 

I'm trying to figure out how the UART is configured by ProcessorExpert, and I've not been successful.

 

1. I could not find any polled/irq/dma selection in the Bean, but as I find this item Settings -> Shared components -> fsl_interrupt_manager = intMan1

    I assume that the driver is IRQ based? I've not been successful in singlestep to find out where the IRQ vector is actually set? And the

    shared component 'fsl_interrupt_manager' is not to be seen in the components tab...

 

2. If I want to configure this could some kind soul give a step-by-step guidance to how to configure as IRQ, as DMA?

 

3. The bean help doesn't mention this problem with a word

Labels (1)
0 Kudos
4 Replies

450 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Ole,

As far as I know , there is no guide about this so far.

Yes ,Configure the interrupt on KSDK  need use the "fsl_clock_manager" .

This functions are all about the interrup :

pastedImage_0.png

About each function meaning ,you can double click them and then check the code.

When use them , directly drag and drop to the file .

Enable interrupt , check its IQR number , then use this pastedImage_1.png "static inline void INT_SYS_EnableIRQ(IRQn_Type irqNumber) "function .

Wish it helps you!
If you still have question, please contact me!


Alice

0 Kudos

450 Views
oaf
Contributor IV

Hi,

After more investigation I found that the driver is IRQ driven.

KDS\SDK\rtos\mqx\mqxx\source\nio\drivers\nio_serial\src\nio_serial.c

     nio_serial_init()

This function installs the IRQ vector and enables the NVIC. I could not find any support for DMA

0 Kudos

450 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ole,

Do you need the IRQ of DMA  or the function of UART trigger DMA ?

Best Regards

Alice

0 Kudos

450 Views
oaf
Contributor IV

What would be really nice is a little demo sw, which uses the DMA for transfer instead of IRQ....

0 Kudos