AnsweredAssumed Answered

KSDK2.0 EDMA_HandleIRQ callback calls NULL

Question asked by manfredschnell on Mar 17, 2016
Latest reply on Mar 17, 2016 by Jason Martin

Hello,

 

we use KSDK2.0 with K64.

 

In Function EDMA_HandleIRQ() "fsl_edma.c" the handle->callback() is called regardless if it's NULL. --> This leads to HardFault.

 

The "Kinetis SDK v.2.0 API Reference Manual.pdf" on page 221 writes relating to that:

 

 

 

 

 

"16.7.38  void EDMA_HandleIRQ (edma_handle_t *  handle )

 

 

 

 

This function clears the channel major interrupt flag and call the callback function if it is not NULL."

 

 

Next KSDK source should be changed to call the callback only, if it's not NULL.

 

Best regards

Manfred

 

 


 

Outcomes