ETPU configuration related query for gpio

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

ETPU configuration related query for gpio

670 Views
vignesh_v
Contributor III

Hi,

   I'm using mpc5777c 516 ds chip in my board which I'm working on project.

I need to use the ETPU B pins as digital IO's - as gpios for my task.

As a first step I tried to set an LED ON (ETPUB pin 147) using the example given for

ETPU gpio test for MPC5777c as reference . I'm not able to trigger that LED ON

I used the configuration exactly used in the example

Made some changes an tried also but I'm not able to do that.

I'm able to do the same for I mean MDO pins I'm able to light up the LED .

Could some one help on what could be wrong

Regards,

Vignesh

Labels (1)
0 Kudos
2 Replies

577 Views
vignesh_v
Contributor III

Hi Thanks,

              Its working fine. For MDO it can be primary function right for GPIO  configuration. its working fine with that itself.

Thanks,

Vignesh

0 Kudos

577 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I guess you mean following example:

Example MPC5777C-eTPU_GPIO_test GHS714 

It configures ETPUB0 as output and it requires to get the example to run.

EVB connection:  ETPUB0 (PortR P25-1) --> ETPUB1 (PortR P25-0) by wire

However the example uses eTPU module with loaded general timing eTPU library. Here you have much easier solution to use SIU module for general purpose output functionality.

Blinking LED example (by SIU and by PIT) you may find here:

Example MPC5777C-PinToggleStationery GHS714 

Also I am attaching excel file with EVB header description.

Hope it helps