channel id error for dio

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

channel id error for dio

跳至解决方案
397 次查看
Vijay98
Contributor II

Hello nxp team,

we are trying to enable the PTD17 pin high with dio peripheral

port name: PTD_H

Dio port Id: 7

Dio channel Id: 1

how to check the channel id i set is correct or not?

right now this pin is not getting high.

标签 (1)
0 项奖励
回复
1 解答
328 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hi @Vijay98 

For achieving a correct configuration of PTD17 inside the Dio component, could you please check the following article (link)? It provides a complete description of the mapping between the Port Id, Channel Id and the pin that should be configured.

The article also presents a demo application, showcasing how certain values can be written to the pins, or how the pins values can be read, using the APIs exposed by the MBDT Dio Simulink block.

Hope this helps,

Irina

在原帖中查看解决方案

0 项奖励
回复
1 回复
329 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hi @Vijay98 

For achieving a correct configuration of PTD17 inside the Dio component, could you please check the following article (link)? It provides a complete description of the mapping between the Port Id, Channel Id and the pin that should be configured.

The article also presents a demo application, showcasing how certain values can be written to the pins, or how the pins values can be read, using the APIs exposed by the MBDT Dio Simulink block.

Hope this helps,

Irina

0 项奖励
回复