This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A question about using IRQ of DMA with RTE uVisoin v5.

Hi, experts.

I'm recently working on CMSIS RTOS with MDK-ARM V5.1, on STM32F103 MCU.

I'd like to know about using IRQ of DMA on  RTE(Run Time Environment).

My application uses following functions.

- UART with "UART API" on RTE(Run Time Environment).

- TIMER on output compare mode to generate wave form.

I'd like to use DMA to send the TIMER period data of wave form.

and,

I'd like to use IRQ to update wave form data. When former DMA's transform has finished.

I've confirmed that following DMA channels are not conflicted.

- Tx(UART) uses DMA1_channel 4.

- TIMER     uses DMA1_channel 2.

and,

Any other DMA channel is not used.

but,

I can't use IRQ of DMA.

Because, all of the IRQ handlers of DMA channel are defined in "DMA_STM32F10x.c" which is automatically installed by "Pack Installer".

and "DMA_STM32F10x.c" is not allowed modifying by user. ("DMA_STM32F10x.c" have "key lock icon" on MDK.)

then,

The  DMA1_Channel2_IRQHandler which I made for TIMER have "multiply define Error".

Should I unlock  the write prtection of "DMA_STM32F10x.c"  and modify the DMA1_Channel2_IRQHandler in "DMA_STM32F10x.c" ?

or

Is there anything way to disable the unused IRQ handller in "DMA_STM32F10x.c" ?

Parents Reply Children
No data