2014-06-08 09:07 PM
I am updating the tim2 arr by DMA ...with the update of timer 2 DAC will get triggered. I have checked the DAC o/p with CRO by it's corresponding pin and I am able to see the Sine wave but the problem is it is not entering into the DMA1_Stream5_IRQHandler.....Can any body say me why is it so?
I have attache the file..................2014-06-08 09:42 PM
void DMA1_Stream5_IRQHandler(void)
{ if(DMA_GetITStatus(DMA1_Stream5, DMA_IT_HTIF0)) { /** * Clear DMA Stream Half Transfer interrupt pending bit **/ DMA_ClearITPendingBit(DMA1_Stream5, DMA_IT_HTIF0); } if(DMA_GetITStatus(DMA1_Stream5, DMA_IT_TCIF0)) { /** * Clear DMA Stream Total Transfer complete interrupt pending bit **/ DMA_ClearITPendingBit(DMA1_Stream5, DMA_IT_TCIF0); STM_EVAL_LEDToggle(LED3); } } So FIVE and not ZERO - DMA_IT_HTIF0 etc2014-06-08 11:20 PM
I didn't understand I am doing the same right ...the same what you are writing
2014-06-08 11:21 PM
Thanks Ok I got that
2014-06-10 05:26 AM
Hi all In my below code which is attached It is entering into the DMA1_Stream5_IRQHandler in case 0 but not in case 1 and case 3 can anybody say me why?
________________ Attachments : the_recent_one.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I02d&d=%2Fa%2F0X0000000bSf%2FYdmW7.DNX3ZOGcPczlM7SrTWEH6rpqR_2QRIKFFRgvE&asPdf=false