This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sof event

I am programming an lpc2148 to read signals from the pc via usb in isochronous mode. I want to set a bit in order to bring about start of frame event. Whcich bit in which register?

Parents
  • > I want to set a bit in order to bring about start of frame event. Whcich bit in which register?

    FRAME bit on USBDevIntEn register enables SOF interrupt, USBDevIntSet generates the interrupt for test, USBDevIntClr clears the flag.

    SOF reception on the device may drop.
    As the USB engine on LPC family doesn't have hardware SOF recovery (*1), a digital PLL (a timer) on the firmware tracks FRAME (SOF) interrupt interval.
    isoc transfer is handled using this recovered SOF timing.

    (*1) SiLabs 'F32x/34x and EZ-USB equips hardware SOF recovery.

    Tsuneo

Reply
  • > I want to set a bit in order to bring about start of frame event. Whcich bit in which register?

    FRAME bit on USBDevIntEn register enables SOF interrupt, USBDevIntSet generates the interrupt for test, USBDevIntClr clears the flag.

    SOF reception on the device may drop.
    As the USB engine on LPC family doesn't have hardware SOF recovery (*1), a digital PLL (a timer) on the firmware tracks FRAME (SOF) interrupt interval.
    isoc transfer is handled using this recovered SOF timing.

    (*1) SiLabs 'F32x/34x and EZ-USB equips hardware SOF recovery.

    Tsuneo

Children
No data