DMA assignments on STM32
Posted: Tue Jun 07, 2011 7:46 pm
Hello Giovanni,
at first thank you for your quick answer on my last post.
I have found another issue regarding my Olimex H107 with Keil uvision.
As i have written in my last post, my target should use
all 3 SPI ports, ADC, timers 2 and 4, PWM, USART ports 2 and 3 and the serial driver.
I have configured mcuconf.h and halconf.h accordingly. After a project build i have got following
linker errors:
.\obj\107test.axf: Error: L6200E: Symbol Vector70 multiply defined (by uart_lld.o and spi_lld.o).
.\obj\107test.axf: Error: L6200E: Symbol Vector74 multiply defined (by uart_lld.o and spi_lld.o).
.\obj\107test.axf: Error: L6200E: Symbol VectorD8 multiply defined (by uart_lld.o and serial_lld.o).
Target not created
Looking into the sources i have found that you have made a fixed assignment of the DMA channels
to SPI, USART, ADC. Additionaly you made multiple assignments of the same DMA channel to different I/O.
This leads to multiple assignments of vectors.
Is there a possibility of using a pure interrupt driven model for the I/O without DMA and give the developer
the freedom of assigning DMA channels to high bandwidth I/O, without rewriting the lld drivers?
Thank you in advance
at first thank you for your quick answer on my last post.
I have found another issue regarding my Olimex H107 with Keil uvision.
As i have written in my last post, my target should use
all 3 SPI ports, ADC, timers 2 and 4, PWM, USART ports 2 and 3 and the serial driver.
I have configured mcuconf.h and halconf.h accordingly. After a project build i have got following
linker errors:
.\obj\107test.axf: Error: L6200E: Symbol Vector70 multiply defined (by uart_lld.o and spi_lld.o).
.\obj\107test.axf: Error: L6200E: Symbol Vector74 multiply defined (by uart_lld.o and spi_lld.o).
.\obj\107test.axf: Error: L6200E: Symbol VectorD8 multiply defined (by uart_lld.o and serial_lld.o).
Target not created
Looking into the sources i have found that you have made a fixed assignment of the DMA channels
to SPI, USART, ADC. Additionaly you made multiple assignments of the same DMA channel to different I/O.
This leads to multiple assignments of vectors.
Is there a possibility of using a pure interrupt driven model for the I/O without DMA and give the developer
the freedom of assigning DMA channels to high bandwidth I/O, without rewriting the lld drivers?
Thank you in advance