Part Number: TMS320F280039C
Other Parts Discussed in Thread: SYSCONFIG
#pragma DATA_SECTION(Rdata, "ramgs0");
typedef union {
St_EAdcResults EAdcResults_st[2];
uint32_t EAdcResults_a16;
} Un_EAdcResults;
volatile Un_EAdcResults ADC_Sys_eADCResults_un = {0};
const uint16_t *Rdata = NULL;
ADC_Sys_eADCResults_un.EAdcResults_a16 = (uint32_t *)&Rdata;
I've configured DMA channel for Receiving data from Rxbuff to a variable, Rdata is the variable assigned in sysconfig.
In the Above code I'm trying to assign the Rdata to ADC_Sys_eADCResults_un.EAdcResults_a16;
//***************************************************************************** // // DMA Configurations // //***************************************************************************** extern const uint16_t *Rdata; #define PFC_SPI_RX_DMA_BASE DMA_CH1_BASE #define PFC_SPI_RX_DMA_BURSTSIZE 2U #define PFC_SPI_RX_DMA_TRANSFERSIZE 1U void PFC_SPI_RX_DMA_init();
