Hello everybody. I have been working on a code using the LPCXpresso IDE and the LPC1768 board from Embedded Artists and now I want to port it to the online compiler and run it on mbed.
The truth is that, the program compiled with LPCXpresso IDE runs great on the mbed!! But when I import my code to the online compiler it doesn't work anymore :(
I've been debugging it for a while and all I can say is that the DMA interrupt is not working. I mean, or the DMA Interrupt routine is not being called or the DMA is not running.
In my configuration I have a timer running and the DMA requests are being produced by the MAT0.0 match register. I know this is working fine because I've tested.
So, the DMA requests are being sent. The DMA interrupt should be called sometime but It is not happening.
This is my code: http://mbed.org/users/Gonzakpo/programs/KaossPad/lmvg06
The DMA configuration is in the main.c (just the interruption configuration) and in dma.c
If you find the error, I would really appreciate it!!.
Thank you in advance.
Gonzalo.
Hello everybody. I have been working on a code using the LPCXpresso IDE and the LPC1768 board from Embedded Artists and now I want to port it to the online compiler and run it on mbed.
The truth is that, the program compiled with LPCXpresso IDE runs great on the mbed!! But when I import my code to the online compiler it doesn't work anymore :(
I've been debugging it for a while and all I can say is that the DMA interrupt is not working. I mean, or the DMA Interrupt routine is not being called or the DMA is not running.
In my configuration I have a timer running and the DMA requests are being produced by the MAT0.0 match register. I know this is working fine because I've tested.
So, the DMA requests are being sent. The DMA interrupt should be called sometime but It is not happening.
This is my code: http://mbed.org/users/Gonzakpo/programs/KaossPad/lmvg06
The DMA configuration is in the main.c (just the interruption configuration) and in dma.c
If you find the error, I would really appreciate it!!.
Thank you in advance. Gonzalo.