Part Number:TM4C123GH6PM
Tool/software: Code Composer Studio
I'm trying to wrap my brain around why the open drain has a voltage across it. I'm using GPIO PA7. In code composer I've got the lines:
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA); GPIOPinTypeGPIOOutputOD(GPIO_PORTA_BASE, GPIO_PIN_7);
I'm trying to drive an optoisolator (see circuit in image). When the GPIO goes high it pulls the drain to ~1.3 to 1.5 V. Should the voltage between the D to S voltage be that much?