This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28377S: regarding coding using various peripheral modules

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

im  trying to use a cmpss module with a triangular and sine as input signals which can be taken as output from dac module for one of the external inputs 

1)can i get a proper comparator result with digital filter or with asynch o/p?

2)  i need to combine both the buf_dac sine generation  with the cmpss_digital filter code (i.e, i need to insert the buf_dac can as function with cmpss being the main function)

or 

can i convert the buf dac as isr in the cmpss digital filter

 are any of the above 2 methods possible? if so how can i go about it?

  • 1. They should both be fine starting points for what you want to do. If you don't want to use the digital filter for whatever reason, you could start with asynch instead.

    2. You should be able to take the code from the DAC example and add it to the CMPSS example. Are you referring to the CPU timer 0 ISR that updates the DAC value? I don't see any problems with enabling the same ISR in the CMPSS example.

    Whitney