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
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 :
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 "static inline void INT_SYS_EnableIRQ(IRQn_Type irqNumber) "function .
Wish it helps you!
If you still have question, please contact me!
Alice
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
Hello Ole,
Do you need the IRQ of DMA or the function of UART trigger DMA ?
Best Regards
Alice
What would be really nice is a little demo sw, which uses the DMA for transfer instead of IRQ....