Lcu RiseFilter Configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Lcu RiseFilter Configuration

跳至解决方案
815 次查看
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 解答
784 次查看
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 回复数
785 次查看
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

 

781 次查看
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 项奖励
回复