Hox to Configure Pin Mux on TWR-K64F120M with mqx

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

Hox to Configure Pin Mux on TWR-K64F120M with mqx

544 Views
fabricetocci
Contributor III

Hi,

We are using a TWR_K64F120M with MQX as starter dev kit for my project.

The Dev env is IAR workbench with IJet probe.

The system drives a set of dynamic sensors (Invensens MPU9250), a GPRS modem (SIERRA HILO HL8548)  and some other static sensors.

We have completed our first development steps with Tower kits and we want to move to our first mockup HW.

For this HW we want to change Pin muxing compare to TWR_K64.

Lets take I2C0 as example.

On TWR K64 I2C0 is mapped as follow

I2C0_SCL is mapped on PTD8 (ALTERNATE 2)

I2C0_SDA is mapped on PTD9 (ALTERNATE 2)

On our HW we want to map I2C0 as follow:

I2C0_SCL is mapped on PTE24 (ALTERNATE 5)

I2C0_SDA is mapped on PTE25 (ALTERNATE 5)

How can we acheive  that?

What do we have to change?

Can we manage the pin mux changes on TWRK64F120M with processor expert?

Thank you for you help.

Best regards.

Fabrice.

0 Kudos
3 Replies

274 Views
soledad
NXP Employee
NXP Employee

Hello Fabrice,

Please check the below thread and let me know if this helps!!!

MQX GPIO. How to add LED pins to the default BSP configurations

In addition you need to modify according your needs the init_gpio.c file, this file is located at the path:  C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk64f120m


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

274 Views
fabricetocci
Contributor III

Hi Soledad,

Something must be wrong, in the link you have provided, the access to the page is denieded.

(Limited access right, )

Can you please give me access?

Thank you.

Regards.

Fabrice

0 Kudos

274 Views
soledad
NXP Employee
NXP Employee

Hello,

I don't know why you cannot access to this link, please let me investigate,

But please check the document attached

Have a nice day!!

0 Kudos