This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLPC200: Error message using DLP Lightcommander API

Part Number: DLPC200
Other Parts Discussed in Thread: DLP5500,

A customer has built their system with DLP5500 and DLPC200.  Also they have developed control progrm

using DLP Lightcommander APIs.  They see following error messages when USB connection is out.

Please let us know the cause of each error messages.

1. ERROR - no USB communication

2. ERROR - cannot communicate with selected USB device

Thank you.

Best regards,

S.Watanabe 

  • Hello Watanabe-san,

    This sounds like the USB interface is not initialized with the custom code for this platform.

    Did your customer use the same Cypress USB chip used in the TI platform?

    If yes, did they program the Cypress PROM with the custom code provided here:

    http://www.ti.com/tool/dlpr200 - it is the item labeled DLPR200USB

    Please let us know if this solves the customer's issue.

    Fizix

  • Fizix, thank you for your quick reply.
    I am sorry my explanation was not enough.
    Let me explain detail situation.
     
    Their operation of accessing DLPC200 with USB.
    PortabiltyLayer.dll is included with their project.
    1. Device manager recognized USB connection with DLPC200.
    2. InitPortabilityLayer(loglvl + 1, loglvl, Logit) is called first.
    3. Call functions bellow.
        Loop:
          DLP_Misc_SetUSBDeviceNumber(0)
          DLP_RegIO_WriteImageOrderLut(8, Imgorder, 2)
          DLP_Display_DisplayPatternManualForceFirstPattern()
          DLP_Display_DisplayPatternManualStep()
          <100ms interval>
        goto Loop
     
        Mostly the system is communicating wiht DLPC200 normally.
        But sometimes(1 time per few days) USB communication is failed.
        The API returns following message.
              "ERROR - no USB communication"
                                       or
              "ERROR - cannot communicate with selected USB device"
          So he would like to know what status cause returning above
        message.  Buffer empty?   or Some status of CY7C68013?
        Please check API source code and find what status returns
        the message if you can access API source codes.
    Thank you.
    Best regards,
    S.Watanabe
  • Watanbe-san,

    I am sorry for the delay on this one.  I have been working with the SPI interface.  There is one signal that is not part of the SPI protocol that is used on the DLPC200 implementation.  It is "SLAVE_BUSY".  This signal must be monitored to make sure the controller is not busy before sending a packet.  Can you have them verify that they are using this pin?

    Fizix

  • Fizix, thank you for your reply.   I will check SLAVE_BUSY signal.

    The customer is still working with this issue.  Their application execute "memory allocation" function to

    handle captured camera images.  I guess memory allocation function may be used in DLP5500 USB API.

    Please check API source code if you can access the source codes.

    Thank you.

    Best regards,

    S.Watanabe