How to match MPC5674F GPIO when using EB Tresos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to match MPC5674F GPIO when using EB Tresos

Jump to solution
1,481 Views
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 Kudos
Reply
1 Solution
1,467 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,468 Views
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 Kudos
Reply
1,463 Views
Vasily_Wu
Contributor III

Thank you. The solution can work.

0 Kudos
Reply