Emios(PWM-GPT)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,079件の閲覧回数
Ayaz
Contributor IV

Hi

To provide the period to Emios_pwm, I use the Emios_mcl driver. In addition, I use Emios_gpt to trigger the BCTU.

My issue is that when the emios_gpt is activated. emios_pwm outputs a default value ??,  What may be the cause of this ?

I am using S32K344 evolution board.

BR

Ayaz

0 件の賞賛
返信
1 解決策
2,056件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

I can't see how EMIOS triggers Bctu when used as Gpt, but I guess it is based on some flags or internal outputs

"To request an ADC conversion through the BCTU, a timer module such as eMIOS asserts its output signal, which is connected to a BCTU trigger input."

I hope you can read the data sheet later or write some test code yourself. This is the test routine I made for Gpt->Bctu->Adc. You can refer to it.

Trigger sequence

Senlent_0-1709191936556.pngSenlent_0-1709191936556.png

Adc result

Senlent_1-1709191952153.pngSenlent_1-1709191952153.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,057件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

I can't see how EMIOS triggers Bctu when used as Gpt, but I guess it is based on some flags or internal outputs

"To request an ADC conversion through the BCTU, a timer module such as eMIOS asserts its output signal, which is connected to a BCTU trigger input."

I hope you can read the data sheet later or write some test code yourself. This is the test routine I made for Gpt->Bctu->Adc. You can refer to it.

Trigger sequence

Senlent_0-1709191936556.pngSenlent_0-1709191936556.png

Adc result

Senlent_1-1709191952153.pngSenlent_1-1709191952153.png

 

0 件の賞賛
返信