[fpc-pascal] FPC Embedded DMA with STM32?

turro75 valerio.turrini at gmail.com
Sat May 9 17:23:36 CEST 2015


Hi All,

more or less I'm getting everything working in lazarus, I made a full
working RC transmitter with PPM encoder, nrf24l01 and Nokia LCD. When ready
I'll publish the project template and some units for everyone who wants to
play with this.
Now the problem:
when trying to write or read
DMA1_Channel1.CCR:=0;
DMA1_Channel1.CNDTR:=0;
I get a window_watchdog_interrupt() in gdb and program stops running
 
while accessing these it's fine:
DMA1_Channel1.CPAR:=0;
DMA1_Channel1.CMAR:=0;

I modified the TDMA_Registers by removing the channel array and moved to the
same implementation as stm stdlib do respecting the same absolute address
but no way to get it working.

any suggestion?



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/FPC-Embedded-DMA-with-STM32-tp5721684.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list