Hi,
What's the best practice for re-assigning a pin via the switch matrix on the LPC802 after it has already been assigned? For instance, if I have already assigned PIO0_8 and PIO0_9 to be the TX and RX lines for UART0 and now want to make them the SDA and SCL lines for a I2C connection, would the code look like this?
Solved! Go to Solution.
Hello James,
" am I just assigning the UART0 TX and RX lines to PIO0_0? "
-> I think yes. So please config it to Reset value 0xFF .
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello James,
" am I just assigning the UART0 TX and RX lines to PIO0_0? "
-> I think yes. So please config it to Reset value 0xFF .
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks! I obviously should be reading the manual more. :-)