EDMA and Uart

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

EDMA and Uart

1,751 Views
chetan98
Contributor II

 

1.I am using wireless uart example for BLE how and when I trying to use lpuartedma example it is not printing anything in teraterm. I took reference of kw45b41zevk_lpuart_edma_transfer but not printing anything could you please guide me how to implement edma in wireless uart.

Board using KW45 LOC

2.can you please confirm whether shell use dma to store data or normal malloc is used to store and send data in teraterm.

Thanks and regards

Chetan

Labels (1)
0 Kudos
Reply
3 Replies

1,588 Views
chetan98
Contributor II

I have implemented freertos queue than printing data using shell we are recieving data from four device 210 byte each from one device each at 40 ms from four device.

Thanks

Chetan

0 Kudos
Reply

1,567 Views
sofiaurueta
NXP Employee
NXP Employee

Hello @chetan98 ,

 

Could you please help me understand better your application, what you are trying to implement on your application? Are there any specific requirements you are looking for?

 

Could you confirm if the wireless_uart and lpuart_edma_transfer examples are working in the KW45-LOC board? Are you working on the wireless_uart or lpuart_edma_transfer example as base? What modifications did you make on the SDK example?

 

If you have any more information you can share with us, it would be greatly appreciated so we can provide you the best support possible.

 

Best Regards,
Ana Sofia.

 

0 Kudos
Reply

1,662 Views
sofiaurueta
NXP Employee
NXP Employee

 

Hello,

Hope you are doing well.

 

Could you confirm if the wireless_uart and  lpuart_edma_transfer examples are working without modifications in the KW45-LOC? What SDK version are you using?

 

Also, what modifications did you implement in your custom code for KW45-LOC? Are you looking to use the shell example or ble_shell? Ble_shell example is part of the KW45-EVK SDK, but can be run in the KW45-LOC board without modifications.

 

The shell example supports non-blocking UART with a statically allocated ring buffer, data is handled by interrupts. Could you explain the application you are looking to implement?

 

Best Regards,

Ana Sofia.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2187698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEDMA%20and%20Uart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3E1.I%20am%20using%20wireless%20uart%20example%20for%20BLE%20how%20and%20when%20I%20trying%20to%20use%20lpuartedma%20example%20it%20is%20not%20printing%20anything%20in%20teraterm.%20I%20took%20reference%20of%26nbsp%3Bkw45b41zevk_lpuart_edma_transfer%20but%20not%20printing%20anything%20could%20you%20please%20guide%20me%20how%20to%20implement%20edma%20in%20wireless%20uart.%3C%2FP%3E%3CP%3EBoard%20using%20KW45%20LOC%3C%2FP%3E%3CP%3E2.can%20you%20please%20confirm%20whether%20shell%20use%20dma%20to%20store%20data%20or%20normal%20malloc%20is%20used%20to%20store%20and%20send%20data%20in%20teraterm.%3C%2FP%3E%3CP%3EThanks%20and%20regards%3C%2FP%3E%3CP%3EChetan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2187698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFreedom%20Development%20Platform%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2192801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20EDMA%20and%20Uart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2192801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249367%22%20target%3D%22_blank%22%3E%40chetan98%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20please%20help%20me%20understand%20better%20your%20application%2C%20what%20you%20are%20trying%20to%20implement%20on%20your%20application%3F%20Are%20there%20any%20specific%20requirements%20you%20are%20looking%20for%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20confirm%20if%20the%20wireless_uart%20and%20lpuart_edma_transfer%20examples%20are%20working%20in%20the%20KW45-LOC%20board%3F%20Are%20you%20working%20on%20the%20wireless_uart%20or%20lpuart_edma_transfer%20example%20as%20base%3F%20What%20modifications%20did%20you%20make%20on%20the%20SDK%20example%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIf%20you%20have%20any%20more%20information%20you%20can%20share%20with%20us%2C%20it%20would%20be%20greatly%20appreciated%20so%20we%20can%20provide%20you%20the%20best%20support%20possible.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%2C%3CBR%20%2F%3EAna%20Sofia.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2192308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20EDMA%20and%20Uart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2192308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20implemented%20freertos%20queue%20than%20printing%20data%20using%20shell%20we%20are%20recieving%20data%20from%20four%20device%20210%20byte%20each%20from%20one%20device%20each%20at%2040%20ms%20from%20four%20device.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EChetan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189297%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20EDMA%20and%20Uart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189297%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%0A%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EHope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20confirm%20if%20the%20wireless_uart%20and%26nbsp%3B%20lpuart_edma_transfer%20examples%20are%20working%20without%20modifications%20in%20the%20KW45-LOC%3F%20What%20SDK%20version%20are%20you%20using%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlso%2C%20what%20modifications%20did%20you%20implement%20in%20your%20custom%20code%20for%20KW45-LOC%3F%20Are%20you%20looking%20to%20use%20the%20shell%20example%20or%20ble_shell%3F%20Ble_shell%20example%20is%20part%20of%20the%20KW45-EVK%20SDK%2C%20but%20can%20be%20run%20in%20the%20KW45-LOC%20board%20without%20modifications.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20shell%20example%20supports%20non-blocking%20UART%20with%20a%20statically%20allocated%20ring%20buffer%2C%20data%20is%20handled%20by%20interrupts.%20Could%20you%20explain%20the%20application%20you%20are%20looking%20to%20implement%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EAna%20Sofia.%3C%2FP%3E%3C%2FLINGO-BODY%3E