LPC800 switch matrix

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

LPC800 switch matrix

500 Views
HeMyFAE
NXP Employee
NXP Employee

Is the LPC800’s switch matrix reconfigurable during run? Or is it just able to be configured at boot?

Regards,

hy

Labels (1)
0 Kudos
1 Reply

396 Views
soledad
NXP Employee
NXP Employee

Hi, 

I found the following information in the user manual: 

Pin function assignments can be changed “on-the-fly” from one peripheral to another while the part is running. To disconnect a peripheral from the pins and change the pin function assignment, follow these steps:

1. Enable the clock to the switch matrix.

2. Find the pin assign register for the current pin function. For example, register PINASSIGN0 for pin function U0_RXD. 3. Set the corresponding bits in the PINASSIGN register to their default value 0xFF.

4. Clear all pending interrupts for the disconnected peripheral and ensure that the peripheral is in a defined state.

5. In the pin assign register for the new pin function, program the pin number.

6. Disable the clock to the switch matrix.

Please let me know if this helps, 

Have a nice day 

Regards 

Soledad

pastedImage_1.png

0 Kudos