The MPC5748G uses register operators to change the output of other pins to control LED lights

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

The MPC5748G uses register operators to change the output of other pins to control LED lights

417 Views
lubo_NEW
Contributor III

The pin that controls LED3 in the SAMPLE given by AUTOSAR_OS is what GPIO100 says in the instructions
I think it should be controlled with other pins, such as the encapsulated pin 45 of the controller (GPIO39/PC[7]) and why is LED3 defined as
#define LED3 2 Why do you define the installation package this way
MPC574xG_AUTOSAR_OS_4_0_92_RTM_1_0_3 folderQQ图片20210304110357.png

0 Kudos
1 Reply

402 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the example is obviously written for this board:

https://www.nxp.com/design/development-boards/automotive-development-platforms/mpc57xx-mcu-platforms...

... where LED3 is connected to PG4 pin:

lukaszadrapa_0-1614857580023.png

PG4 is GPIO100:

lukaszadrapa_1-1614857645230.png

So, I can see no problem here.

Regards,

Lukas

 

0 Kudos