Hi, Mykhaylo,
Unfortunately, the code only demos how to use channel link to write the FTM_PWMLoad register, if you want to have DMA write write for example six FTM_CnV registers, you have to change the code.
1)you have to set the EMLM bit in DMA_CR.
2)set the DMLOE bit, MLOFF, NBYTES bits
DMA_TCDn_NBYTES_MLOFFYES=0x00;
DMA_TCDn_NBYTES_MLOFFYES|=(1<<30)|((C2V-C1V)<<10) | (6*4);
it is okay
Hope it can help you
BR
Xiangjun nRong