From you description, when there add DMA transfer, the application could not run.
We need to check DMA TCD setting if correct, it use DMA minor loop to transfer 2 bytes data from ADC result register to FTM CnV register and the Major loop is 0x80.
Please set a breakpoint after code run over da = DMA1_Init(NULL); and check DMA registers value.
Please check if TCDn_NBYTES is 0x2 and TCDn_CITER eqaual with TCDn_BITER value to 0x80.
You also could check after ADC start work and DMA CITER register value if modified or not.
Please pay attention that for FTM CnV register update isn't immedicately when new value write into CnV register.
When CLKS[1:0] ≠ 0:0 and 0:0, and FTMEN = 0, If the selected mode is EPWM, then CnV register is updated after CnV register was written and the FTM counter changes from MOD to CNTIN.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------