2024-05-23 03:53 AM
Hello! In the SPC58XX-RLA PWM-ICU Test Application for Discovery routine, I would like to ask which CH0 is circled in red as shown in the following figure, CH1... What do they represent? I have been confused whether eMIOS0 CH0 in the first image and Channel 0 in the Channel 0 Setting in the second image are the same channel. I hope you can give me an answer! Thank you!
Solved! Go to Solution.
2024-05-26 04:24 AM
Hi Bwang,
The answer to your question is no, channel 0 (CH0) in the first picture is not the same as in picture 1.
The example "SPC582Bxx_RLA PWM-ICU Test Application for Discovery" you see has two eMios set up differently. One is SAIC (Single Action Input Capture), and the other is OPWMB (Buffered Output Pulse With Modulation).
The Emios0 CH0-CH7 channels (Group 0) can be configured independently of each other either as PWM or ICU.
In addition, each channel of the eMaios0 Group0 can be configured with a different frequency depending on the frequency of the internal counter.
The eMios0 Group0 is shown in the red rectangle,
while in the green rectangle, eMios0 is grouped as
Group1 -> (CH9 - Ch15)
Group2 -> (CH17 - CH23)
Group3 -> (CH25 - CH31)
Group1,2,3 can be configured in the GUI as PWM with a common group frequency depending on the Internal Frequency Counter.
eMios configuration as PWM
In the example, the eMios configured as PWM is the Emios0 Group1.
This is because pin 6 is selected as the output signal in the PinMap Editor and is used with CH9.
In the PWM configuration window,
in rectangle 1, eMios0 Group1-3 is selected as the channel group, based on the previous settings, and
in rectangle 2, 'Channel 0 settings' is configured, because it represents channel CH9. See the following image.
AutoDevKit Team
2024-05-26 04:24 AM
Hi Bwang,
The answer to your question is no, channel 0 (CH0) in the first picture is not the same as in picture 1.
The example "SPC582Bxx_RLA PWM-ICU Test Application for Discovery" you see has two eMios set up differently. One is SAIC (Single Action Input Capture), and the other is OPWMB (Buffered Output Pulse With Modulation).
The Emios0 CH0-CH7 channels (Group 0) can be configured independently of each other either as PWM or ICU.
In addition, each channel of the eMaios0 Group0 can be configured with a different frequency depending on the frequency of the internal counter.
The eMios0 Group0 is shown in the red rectangle,
while in the green rectangle, eMios0 is grouped as
Group1 -> (CH9 - Ch15)
Group2 -> (CH17 - CH23)
Group3 -> (CH25 - CH31)
Group1,2,3 can be configured in the GUI as PWM with a common group frequency depending on the Internal Frequency Counter.
eMios configuration as PWM
In the example, the eMios configured as PWM is the Emios0 Group1.
This is because pin 6 is selected as the output signal in the PinMap Editor and is used with CH9.
In the PWM configuration window,
in rectangle 1, eMios0 Group1-3 is selected as the channel group, based on the previous settings, and
in rectangle 2, 'Channel 0 settings' is configured, because it represents channel CH9. See the following image.
AutoDevKit Team