We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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" ?
Hello Tino,
can you please contact Keil support regarding this issue: https://www.keil.com/support/supportRequest.asp?P=&V=&S=
Kind regards,
Christopher