Other Parts Discussed in Thread: HALCOGEN
Tool/software:
Hello Team,
I have a query about IC MCU 16/32BIT 3MB FLSH 144LQFP (TMS5703137DPGEQQ1).
In this controller how many PWM are we can use at a time.
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.
Tool/software:
Hello Team,
I have a query about IC MCU 16/32BIT 3MB FLSH 144LQFP (TMS5703137DPGEQQ1).
In this controller how many PWM are we can use at a time.
Hi Priyanka,
In Hercules devices the PWM's can be generated using 3 main modules:
1. ePWM
2. eCAP
3. N2HET
If you verify the datasheet of TMS570LS3137 the PGE package doesn't have ePWM and eCAP modules.
So, the only way to generate the PWM's are using N2HET module.
Again, using N2HET we can generate the PWM's in two methods.
1. HalCoGen's built-in blackbox N2HET model
2. Own custom NHET program
I will explain them in detailed below.
1. HalCoGen's built-in blackbox N2HET model:
This is one of the easiest ways to generate the PWM's using N2HET. In this way we can generate the PWM's by just configuring in HALCoGen.
As you can see here, we can just configure required period and duty cycles in HALCoGen and can generate the PWM's.
In this method we can generate 8PWM's from each N2HET instance, and we do have two N2HET instances in the TMS570LS3137 device:
So in total we can generate 16PWM's using this method.
2. Own custom NHET program:
We can generate our own custom NHET program from HET IDE, so if we do that theoretically we can generate PWM on each N2HET pin.
If we verify N2HET pins on PGE package:
We have 31 pins on N2HET1 instance
9 pins on N2HET2 instance:
So total 40 PWM's can be generated. But we never tested this method practically, because no customer requested this many PWM's, so we never get a chance to test it.
--
Thanks & regards,
Jagadish.