Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS320F28379D: How to use dual cpu in TMS320F28379D

$
0
0

Part Number:TMS320F28379D

Tool/software: Code Composer Studio

Hi,

I have gone through the dual programming codes given in the C2000 WARE examples. Since i  have not worked in dual CPU programs i am not understanding how the two CPUs are getting linked with the two separate files(one file for cpu1 and another file for cpu2). I have gone through adc_epwm program under the dual examples.

Under the CPU1 code this line is given

//
// Transfer ownership of EPWM1 and ADCA to CPU02
//
EALLOW;
DevCfgRegs.CPUSEL0.bit.EPWM1 = 1;
DevCfgRegs.CPUSEL11.bit.ADC_A = 1;
EDIS;

 and the adc_epwm_cpu2 code is written normally . Can i get an elaboration of how the two CPUs are linked . Is the command linker file playing a big role in dual cpu  operation?

Sorry for my english.

Regards,

Ashwin 

-


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>