How to match MPC5674F GPIO when using EB Tresos

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

How to match MPC5674F GPIO when using EB Tresos

ソリューションへジャンプ
2,039件の閲覧回数
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,025件の閲覧回数
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,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,021件の閲覧回数
Vasily_Wu
Contributor III

Thank you. The solution can work.

0 件の賞賛
返信