How to match MPC5674F GPIO when using EB Tresos

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

How to match MPC5674F GPIO when using EB Tresos

跳至解决方案
2,040 次查看
Vasily_Wu
Contributor III

Hello all,

When I'm using EB Tresos to config the DIO, there is a description:

Numeric identifier of the DIO port. Symbolic names will be generated for each port pin id for the pins which being used for configuration. NOTE: Use the following values to configure different ports.

  • PortA=4
  • PortB=5
  • PortC=6
  • PortD=7
  • PortE=8
  • PortF=9
  • PortG=10
  • PortH=11
  • PortI=12
  • PortJ=13
  • PortK=14
  • PortL=15
  • PortM=16
  • PortN=17
  • PortO=18
  • PortP=19
  • PortQ=27
  • PortR=28
  • PortS=29

But when I am reading the MPC5674F Manual, there is no GPIOA, GPIOB or PortA, PortB.

Case:

I try to use Pin_179 as Digital Out(LED1), which group should I choose?

DioPort.PNGDioChannel.PNG

 

0 项奖励
回复
1 解答
2,026 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is possible values for Dio Port Id and Dio Channel Id? if for example 0 to 15 then, I think, use

Dio Port Id = 179 / 16 = 11
Dio Channel Id = 179 % 16 = 3

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,027 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is possible values for Dio Port Id and Dio Channel Id? if for example 0 to 15 then, I think, use

Dio Port Id = 179 / 16 = 11
Dio Channel Id = 179 % 16 = 3

BR, Petr

0 项奖励
回复
2,022 次查看
Vasily_Wu
Contributor III

Thank you. The solution can work.

0 项奖励
回复