Help me, please: I want to use COMPxOUT for trip ePWM, but it seems like I need to use for this one more GPIO-pin... is concerto have possibility to generate events from comparator inside himself for trip ePWM?
p.s. my english is bad, sorry for this, and maybe i am reading worse then writing: if this possibility (and ways to use it) is described in manual, specify it for me.
There is not an internal way to trip the EPWM with the COMPxOUT signal. You need to dedicate a GPIO as in input and use the GPTRIP logic to trip the EPWM.
Thank you, Ricky, for the answer!
GPTRIP use only GPIO0 - GPIO63 that is mean, for example, that I need electrically connect the pin141/GPIO129/COMP1OUT to one of the pins/(GPIO0 - GPIO63), and then, use the GPTRIP logic to trip the EPWM?
Yes, you are correct. You must connect the COMP1OUT pin externally to GPIO0-63, and then use the GPTRIP logic to trip the EPWM.
Hello to all again!When we initialize all (6) comparators in Concerto at sequence (1 - 2 -3 - 4 - 5 - 6) they working properly. But, if set its up in sequence: 2 - 3 - 1 - 4 - 5 - 6... :) Bit COMPDACEN for comp1 doesn't set, and bits COMPDACEN for comp2, comp3, comp4, cmp5, comp6 are set normally. If set breakpoint at row "Comp1Regs.COMPCTL.bit.COMPDACEN = 1;" - comp1 COMPDACEN is set normally.
It is bug or feature?
This should not be the behavior and is not a feature. I was not able to reproduce this on my setup. Could you send me your code, so I can try it?
Ricky, thanks for the answer! More details in "Concerto analog comparator" http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/t/201434.aspx
my colleague Yuriy Sikalov is now executes this task.
Best regards, Alexey!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.