Hello support team,
I have 2K*16 in GS0 Ram but it's not enough for our application
I tried to use RAMLS4567 instead:
28002x_launchxl_demo_flash_lnk.cmd:
SECTIONS
{
codestart : > BEGIN, ALIGN(8)
.text : >> FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3 | FLASH_BANK0_SEC4 | FLASH_BANK0_SEC5, ALIGN(8)
.cinit : > FLASH_BANK0_SEC1, ALIGN(8)
.switch : > FLASH_BANK0_SEC1, ALIGN(8)
.reset : > RESET, TYPE = DSECT /* not used, */
.stack : > RAMM1
.init_array : > FLASH_BANK0_SEC1, ALIGN(8)
.bss : > RAMLS4567
.bss:output : > RAMLS4567
.bss:cio : > RAMGS0
.const : > FLASH_BANK0_SEC6_7, ALIGN(8)
.data : > RAMLS4567
.sysmem : > RAMLS4567
ramgs0 : > RAMGS0
ramgs1 : > RAMLS4567
/* Allocate IQ math areas: */
IQmath : > RAMLS4567
IQmathTables : > RAMLS4567
.TI.ramfunc : LOAD = FLASH_BANK0_SEC1,
RUN = RAMGS0,
LOAD_START(RamfuncsLoadStart),
LOAD_SIZE(RamfuncsLoadSize),
LOAD_END(RamfuncsLoadEnd),
RUN_START(RamfuncsRunStart),
RUN_SIZE(RamfuncsRunSize),
RUN_END(RamfuncsRunEnd),
ALIGN(8)
}
and
#pragma DATA_SECTION(u16AdcMeasCurrentByDma, "ramgs1"); /* map the data to memory */ static volatile u16 u16AdcMeasCurrentByDma[ADC_NO_SYNC_PER_1MS]; /* array for current measurement */
And the data in u16AdcMeasCurrentByDma after DMA interrupt is all 0
Can DMA access RAMLS4567?
Are there any way I can increase the RAM area for DMA?
Regards,
Quy