Adding external RAM to M52259 using mini-flexbus ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Adding external RAM to M52259 using mini-flexbus ?

954件の閲覧回数
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 返信

760件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------