buffer pool implementation on Kintetis?

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

buffer pool implementation on Kintetis?

442 Views
abdullahansari
Contributor III

Hello All,

I wanted to know if any one here in this community have implemented buffel pool in his/her code on kinetis. As far as defination is concerned "It is the pre-allocation of a group of buffers which can be used and freed back to the address in the memory after their use" and it saves or limits the scope of memory fragmentation.

Any example project/ implementation or suggessions will work.

Regards

Abdullah

Labels (1)
Tags (3)
0 Kudos
2 Replies

371 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Abdullah,

Please refer attached project, which is using DMA module move ADC conversion result to SRAM, and the SRAM works as a buffer.

Wish it helps.

Best regards,

Ma Hui

371 Views
abdullahansari
Contributor III

Hi Ma Hui,

Thanks for replying. I solved the problem by taking series of buffers[i][j]. Your attachment was helpful.

Regards

Abdullah

0 Kudos