I'm having a bit of trouble with Pin 7 on PORTC seemingly browning out the device when pulled low. I have the pin configured as an input with no pullup or down because I'm using an opto with a pullup. I'm using single wire UART on the port as well as I2C. The odd part is I wrote my own drivers except for the single wire UART. I used the asf for the single wire and in a nut shell when I have just a bare bones project without ASF I don't see issue with the pin is pulled low. I figured it's something to do with the ASF but I'm lost as to which potential register being set would cause this. I checked the brownout fuses and monitored the voltage rail and the condition for brownout is never met. Any suggestions are welcome.
P.S. I'm more than willing to post the code but it is pretty hefty.