SPT  range_2048smp_512crp_16, addrOffset >= SPT_MAX_MEM_OFFSET

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

SPT  range_2048smp_512crp_16, addrOffset >= SPT_MAX_MEM_OFFSET

216 Views
WenChao
Contributor II

Hello, RSDK 1.1.0 RSDK_offline_example ,I use range_2048smp_512crp_16ch_zrpad.psp,it reported an error that RSDK_SPT_RET_ERR_INVALID_PARAM,I looked up the code that :

 if ((addrOffset >= SPT_MAX_MEM_OFFSET) ||
                    ((paramList[i].paramValue % SPT_DATA_ADDR_ALIGN_BYTES) != 0u))
                {
                    /* Make sure we don't pass out-of-bounds or unaligned addresses to the SPT.
                     * They are limited by the destination (SPT Work Register) to 24 bits */
                    retStatus = SPT_REPORT_ERROR(RSDK_SPT_RET_ERR_INVALID_PARAM, SPT_PARAM_SET, SPT_E_INVALID_PARAM);
                }
how I can solve this problem coused by (SPT Work Register) to 24 bits?
0 Kudos
0 Replies