Adding external RAM to M52259 using mini-flexbus ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Adding external RAM to M52259 using mini-flexbus ?

956 次查看
kleckerspur
Contributor III

Hello,

could you give an example how to implement external SRAM in mqx using CW10.x and MQX 4.1 ?

I want to use this in this kind of way ?

unsigned char sram_create_pool(void)

{

    _sram_pool_id = _mem_create_pool(BSP_EXTERNAL_SRAM_MEM_BASE, BSP_EXTERNAL_SRAM_MEM_SIZE);

    if(_sram_pool_id == NULL) {

        return 0;

   }

    return 1;

}

//Allocation memory function

pointer sram_mem_alloc(int mem_size)

{

    return _mem_alloc_from(_sram_pool_id, mem_size);

}


Thanks

1 回复

762 次查看
soledad
NXP Employee
NXP Employee

Hi,

Please check the below threads and let me know if these help!!!!

Adding external RAM to M52259 using mini-flexbus

Best Place to add external SRAM in MQX


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------