Other Parts Discussed in Thread: AFE031
Tool/software: Code Composer Studio
Hello,
I am new to C2000 microcontroller programming . I need to send EPWM signal from F28069 control card to AFE031 on TMDSPLCKIT-V3 to generate 1Khz sinusoidal signal as Output
I referred an example boostxl_afe031_dacmode_main.c for f28004x and also Example_2806xEPwmUpDownAQ.c for f28069.
I got bit confused as to which method should I use.
Also after reading a bit I tried to make the flow diagram. Just let me know if I am proceeding in right direction or not?
InitSysCtrl()----> InitPieCtrl();----->InitPieVectTable();-----> &epwm1_isr;------> EPWM1_Init();-----> EPWM2_Init();------>&dma_isr------->dma_init();------->dma_start();----->mcbsp_init(); [to transfer data from DMA to McBSP]------>init_mcbsp_spi();[to trenasfer data from McBSP to SPI peripheral]------->HAL_afe031Init(void)----->HAL_afe031_cfgGpio();---->HAL_spi_fifoInit();[get data from f28069 controller SPI]---->HAL_spi_init()----->HAL_afe031_regWrite----final O/P.
Please suggest .
Thanks for the same
Regards
Ankur Chauhan