ccurtis
Well-Known Member
Hello,
I have a tristate buffer output connected to the usart rx pin of my PIC, which also happens to be one of the pins used for reprogramming the PIC. I am not using the usart tx pin, except during connection to the pickit 3 programmer. The enable for the buffer is driven by one of the port pins. Is there is way to ensure that the port pin driving the enable is high to tri-state the buffer so I can connect my pickit 3 and then to reprogram it? My code sets the enable output low to enable the buffer, so it's in the low state when the PIC MCLR is held low (in reset) and my pickit3 can't connect to it.
I have a tristate buffer output connected to the usart rx pin of my PIC, which also happens to be one of the pins used for reprogramming the PIC. I am not using the usart tx pin, except during connection to the pickit 3 programmer. The enable for the buffer is driven by one of the port pins. Is there is way to ensure that the port pin driving the enable is high to tri-state the buffer so I can connect my pickit 3 and then to reprogram it? My code sets the enable output low to enable the buffer, so it's in the low state when the PIC MCLR is held low (in reset) and my pickit3 can't connect to it.