This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I am using MSP430FR5969 device,
There is an application coming with this device which is "FRAM Speed App".
In the application write 1KB of data in FRAM.
And I would like to change the size of the data to transfer.
What value should I change if I want to change the size of the data transfer? 430BOOST-SHARP96_ULP_FRAM.zip
static void FRAM_speedInit(void)
{
totKB = 0;
kBytes = 0;
data = 0x1234; // Initialize dummy data
timerA3InterruptCounter = 1; // Init as running
// Setup DMA for 1KB block
DMA_initParam dma_param = {0};
dma_param.channelSelect = DMA_CHANNEL_0;
dma_param.transferModeSelect = DMA_TRANSFER_REPEATED_BLOCK;
dma_param.transferSize = 512;
dma_param.triggerSourceSelect = DMA_TRIGGERSOURCE_0;
dma_param.transferUnitSelect = DMA_SIZE_SRCWORD_DSTWORD;
dma_param.triggerTypeSelect = DMA_TRIGGER_RISINGEDGE;
DMA_init(&dma_param);
DMA_setSrcAddress(DMA_CHANNEL_0, (unsigned long)&data,
DMA_DIRECTION_UNCHANGED);
DMA_setDstAddress(DMA_CHANNEL_0, (unsigned long)FRAM_WRITE_START,
DMA_DIRECTION_INCREMENT);
DMA_enableTransfers(DMA_CHANNEL_0);
DMA_enableInterrupt(DMA_CHANNEL_0);
// Timer3_A2 interrupt for 1/4s
Timer_A_initUpModeParam timerA_param = {0};
timerA_param.clockSource = TIMER_A_CLOCKSOURCE_ACLK;
timerA_param.clockSourceDivider = TIMER_A_CLOCKSOURCE_DIVIDER_1;
timerA_param.timerPeriod = 8192;
timerA_param.timerInterruptEnable_TAIE = TIMER_A_TAIE_INTERRUPT_DISABLE;
timerA_param.captureCompareInterruptEnable_CCR0_CCIE =
TIMER_A_CCIE_CCR0_INTERRUPT_ENABLE;
timerA_param.timerClear = TIMER_A_SKIP_CLEAR;
timerA_param.startTimer = true;
Timer_A_initUpMode(TIMER_A3_BASE, &timerA_param);
}
I think I have to change the code here.... Does anybody have an idea of it?
Best regards,
Mirae
**Attention** This is a public forum