KV5 DMA and UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KV5 DMA and UART

154 Views
pietrodicastri
Senior Contributor II

Good morning

I imported the example for using the UART and DMA. The original example has the UART0. It works. I changed for using other ports, now I try with UART4 and it does not. I can see the callback called for the and of TX but never for the end of RX. I don t get the point. I am sure the pins and the connections are ok. I am using the tower system for the KV5. 
I drop here the example with minor modifications for changing the UART.

Every help is welcome..

Thank You

Pietro


 

0 Kudos
Reply
2 Replies

124 Views
luis_maravilla
NXP Employee
NXP Employee

Hello Pietro

Could you help us confirm which UART-DMA example are you using and which SDK version is it from?

Could you help us share your connections?

Best Regards, Luis

0 Kudos
Reply

153 Views
pietrodicastri
Senior Contributor II

The file is here. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2291885%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKV5%20DMA%20and%20UART%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291885%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGood%20morning%3C%2FP%3E%3CP%3EI%20imported%20the%20example%20for%20using%20the%20UART%20and%20DMA.%20The%20original%20example%20has%20the%20UART0.%20It%20works.%20I%20changed%20for%20using%20other%20ports%2C%20now%20I%20try%20with%20UART4%20and%20it%20does%20not.%20I%20can%20see%20the%20callback%20called%20for%20the%20and%20of%20TX%20but%20never%20for%20the%20end%20of%20RX.%20I%20don%20t%20get%20the%20point.%20I%20am%20sure%20the%20pins%20and%20the%20connections%20are%20ok.%20I%20am%20using%20the%20tower%20system%20for%20the%20KV5.%26nbsp%3B%3CBR%20%2F%3EI%20drop%20here%20the%20example%20with%20minor%20modifications%20for%20changing%20the%20UART.%3CBR%20%2F%3E%3CBR%20%2F%3EEvery%20help%20is%20welcome..%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20You%3CBR%20%2F%3E%3CBR%20%2F%3EPietro%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291980%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KV5%20DMA%20and%20UART%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291980%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Pietro%3C%2FP%3E%0A%3CP%3ECould%20you%20help%20us%20confirm%20which%20UART-DMA%20example%20are%20you%20using%20and%20which%20SDK%20version%20is%20it%20from%3F%3C%2FP%3E%0A%3CP%3ECould%20you%20help%20us%20share%20your%20connections%3F%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%20Luis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291886%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KV5%20DMA%20and%20UART%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291886%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20file%20is%20here.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E