Hi All,
I'm a little confused about the Serial driver in the
XSC1BD BSP. I have placed debug statements in the
following functions:
OEMInterruptEnable()
OEMInterruptDisable()
OEMInterruptHandler()
OEMInterruptDone()
I added the USB Client and Serial drivers to my Platform
and I appear to be getting receive interrupts from USB
but not from Serial.
I also noticed that the Serial driver code never calls
the "InterruptInitialize()" function.
During initialisation (at startup), from USB I enter the
following functions:
**************OEMInterruptEnable: USB CLIENT.
**************OEMInterruptHandler: INTC_USB
**************OEMInterruptDone: SYSINTR_USB_CLIENT.
**************OEMInterruptHandler: INTC_USB
**************OEMInterruptDone: SYSINTR_USB_CLIENT.
But from serial (FFUART), I only get:
**************OEMInterruptEnable: SYSINTR_SERIAL.
**************OEMInterruptDone: SYSINTR_SERIAL.
How come a serial interrupt isn't automatically created
when "OEMInterruptEnable()" is called like for the USB
driver? Why doesn't the XSC1BD call
the "InterruptInitialize()" function? How does
the "OEMInterruptDone()" function get called without ever
entering the "OEMInterruptHandler()" function?
I can transmit out of the serial port but I cannot
receive any. Any help would be appreciated.
Cheers, Andrew