PDA

View Full Version : Runtime reroute of P2.5 functionality



FiziksXT
Aug 27th, 2013, 01:34 AM
It it possible to reroute the functionality of P2.5 at runtime? At the moment i read a UART signal with a preceding start condition. These start condition i read in with the help of a ext. int. (ERU) on P0.1. The UART signal will be read by the USIC/UART module on P2.5. How i can see is P2.5 able to use both (the UART or the ERU module). How can i change the function of P2.5 at runtime to read this proprietary UART signal? The incoming UART signal is connected to P0.1 and P2.5

Note: The existing drivers were generated with Dave Apps

Greetings Fiziks

MMarquardt
Aug 28th, 2013, 02:55 AM
You do not need to reroute. You just configure both peripherals to use the signal from the same input pin.