Lcu RiseFilter Configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Lcu RiseFilter Configuration

ソリューションへジャンプ
813件の閲覧回数
GaneshBhagwat
Contributor IV

I encountered an issue while using the Lcu_Ip_SetSyncOutputRiseFilter function. I was able to configure the LCU successfully, but I needed to dynamically update the rise dead-time parameter through code using this function.

Although I referred to the documentation, I couldn't clearly understand where or how to pass the value for the rise dead-time filter. The function seems to take a list and its dimensions as input, but it’s unclear how this relates to configuring the dead-time parameter.

Could you please provide more details or examples to clarify this functionality?

GaneshBhagwat_0-1737975391452.png

タグ(1)
0 件の賞賛
返信
1 解決策
782件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @GaneshBhagwat,

You need to create an instance of this structure:

danielmartynek_0-1738054024812.png

Lcu_Ip_SyncOutputValueType lcuOutputRiseFilter[6U];

lcuEnable[0].LogicOutputId = LCU_LOGIC_OUTPUT_0;
lcuEnable[0].Value = 1U;
lcuEnable[1].LogicOutputId = LCU_LOGIC_OUTPUT_1;
lcuEnable[1].Value = 3U;
lcuEnable[2].LogicOutputId = LCU_LOGIC_OUTPUT_2;
lcuEnable[2].Value =5U;
lcuEnable[3].LogicOutputId = LCU_LOGIC_OUTPUT_3;
lcuEnable[3].Value = 7U;
lcuEnable[4].LogicOutputId = LCU_LOGIC_OUTPUT_4;
lcuEnable[4].Value = 10U;
lcuEnable[5].LogicOutputId = LCU_LOGIC_OUTPUT_5;
lcuEnable[5].Value = 15U;

danielmartynek_1-1738054492195.png

The Dimension paremeter is just the number of entries in the List

Lcu_Ip_SetSyncOutputRiseFilter(lcuOutputRiseFilter, 6);

 

Regards,

Daniel

 

元の投稿で解決策を見る

2 返答(返信)
783件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @GaneshBhagwat,

You need to create an instance of this structure:

danielmartynek_0-1738054024812.png

Lcu_Ip_SyncOutputValueType lcuOutputRiseFilter[6U];

lcuEnable[0].LogicOutputId = LCU_LOGIC_OUTPUT_0;
lcuEnable[0].Value = 1U;
lcuEnable[1].LogicOutputId = LCU_LOGIC_OUTPUT_1;
lcuEnable[1].Value = 3U;
lcuEnable[2].LogicOutputId = LCU_LOGIC_OUTPUT_2;
lcuEnable[2].Value =5U;
lcuEnable[3].LogicOutputId = LCU_LOGIC_OUTPUT_3;
lcuEnable[3].Value = 7U;
lcuEnable[4].LogicOutputId = LCU_LOGIC_OUTPUT_4;
lcuEnable[4].Value = 10U;
lcuEnable[5].LogicOutputId = LCU_LOGIC_OUTPUT_5;
lcuEnable[5].Value = 15U;

danielmartynek_1-1738054492195.png

The Dimension paremeter is just the number of entries in the List

Lcu_Ip_SetSyncOutputRiseFilter(lcuOutputRiseFilter, 6);

 

Regards,

Daniel

 

779件の閲覧回数
GaneshBhagwat
Contributor IV

Thanks for the quick response. Yes I checked you solution now, its working. I checked it with the below code as you suggested.

GaneshBhagwat_0-1738056251892.png

 

0 件の賞賛
返信