Hi Javier,
Task_getAffinity() and Task_setAffinity() APIs are only supported when BIOS.smpEnabled is set to true i.e. BIOS is running in SMP mode. C6x devices currently do not support SMP mode so unfortunately you will not be able to use these 2 APIs in your project.
Best,
Ashish