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.

TIDA-01226: Confusion about the reference schematic——USB bridge circuit

Part Number: TIDA-01226
Other Parts Discussed in Thread: DLPC3439

Hi

Referring to the schematic diagram, a USB bridge circuit(U48) was designed,

but the USB to SPI conversion was not implemented.

(1) I hope you can provide the configuration data of the chip below for reference.

CY7C65215-32LTXI

I am using the CYPRESS tool below to write configuration data.

USB Serial Configuration Utility

(2) I hope you can provide the method steps of writing the FLASH program in SPI mode,

as well as the corresponding writing tools and usage methods.

Thank you very much !

Best Wishes!

JingMingJun

  • Hello JinMingJun,

    1. Let us look into this. I do not think this is something we currently have available; however you may be able to use the Cypress tool to configure the chip to send the USB commands as SPI/I2C commands to the flash/controller.
    2. Once the Cypress device is setup you can use the GUI to program the flash memory.

    Thanks,
    Kyle
  • Hello Kyle

    Thank you for your reply.
    1.In fact, I did use the Cypress tool to configure the chip to send the USB commands as I2C commands to the DLPC3439 with Composer successfully , but I was unable to send the SPI command to the DLPC3439 with Composer(does my confirmation method be incorrect?).
    Because the TI reference design implements the sending of SPI commands, I would like to know about the implementation (configuration) method.
    2.GUI, refers to composer?
    What settings do I need to make? How to confirm the setting success or not? How to write FLASH program?

    Thanks,
    JingMingJun
  • Hi JingMingJun,

    After looking your query, i understand you want to write the program to Flash memory.

    In fact, I did use the Cypress tool to configure the chip to send the USB commands as I2C commands to the DLPC3439 with Composer successfully

    As you mentioned I2C commands are working fine through Cypress then you can use the composer GUI to program the Flash. What this command will do.. it will tell Master DLPC3439 to program the Flash and DLPC3439 program the Flash over SPI.

    but I was unable to send the SPI command to the DLPC3439 with Composer(does my confirmation method be incorrect?).

    Unfortunately, Composer doesn't support the SPI commands.

    GUI, refers to composer?


    GUI link : http://www.ti.com/tool/DLPDLCR4710EVM-G2 

    I hope this clears your query. Please let us know if you need further support.

    Thanks,

    Navneet

  • Hi Navneet

    Thank you very much for your reply.
    I downloaded the GUI as shown. According to the User Guide in the GUI below, the GUI can control the DLP system through I2C or SPI.

    “The DLP® LightCrafterTM Display evaluation module (EVM) includes a Windows®-based GUI tool used to control the EVM through SPI and I2C commands.”

    The way you mentioned seems to be the I2C approach, and I also want to know how the SPI approach is implemented (there are related designs in the schematic).

    I tried to write the program to FLASH via the GUI (I2C?SPI?), but it didn't work. The return information is as follows:
      Command "dobackup": Bad expression: WriteGPIO(0x80,0x180)
      WriteGPIO: failed
      Command "doupdate_full": Bad expression: WriteGPIO(0x80,0x180)
      WriteGPIO: failed

    What could be the reason?
    Thanks,
    JingMingJun
  • Hello JingMingJun,

    Jing >> I tried to write the program to FLASH via the GUI (I2C?SPI?), but it didn't work.\

    On TI EVM, by default when you connect the USB to EVM it worked over I2C... Are you not able to download the program using this configuration (PC connected to EVM using USB and GUI is used for programming the FLASH) ?

    Please use the 4710 EVM GUI only.

    You can see the settings here
    Open GUI - > Advanced -> Edit - > Preference - >connections

    SPI communication is not available right now.

    Thanks,
    Navneet
  • Hi Navneet

    >>Are you not able to download the program using this configuration (PC connected to EVM using USB and GUI is used for programming the FLASH) ?

    Yes.

    >>Please use the 4710 EVM GUI only.

    I did use the 4710 EVM GUI.

    connections set as follows:

    It seems that the communication is normal, because the command status is all "OK", but there is "Command Error" and the temperature query is also empty.
    Under the same settings, backup and write to the FLASH program failed.
    Is there something wrong?

    >>You can see the settings here
    >>Open GUI - > Advanced -> Edit - > Preference - >connections
    >>SPI communication is not available right now.
    Can this GUI only work in I2C mode?
    Is the description in UserGuide wrong?
    How to achieve the FLASH program written in SPI mode?

    Thanks,

    JingMingJun

  • Hi JingMingJun,

    Ideally there shouldn't be any error (no command error), and it should get the temperature also.

    In cypress configuration please reset it to default also make vendor and product id to zero. Protocol none is okay. And again try for updating the firmware (I am assuming you are updating the latest firmware available at ti.com )

    >>Can this GUI only work in I2C mode?
    During firmware upgrade, both I2C and SPI interfaces are supported. That is, it auto-detects the connection interface and proceeds.
    The command interface supports only I2C but not SPI.

    Thanks,
    Navneet
  • Hi Navneet

    I modified the GUI settings and the CypressIC configuration (which I used), and finally I can download the firmware.
    However, the temperature is still not available, and the "Command Error" is still checked.

    Thanks,
    JingMingJun
  • HI JingMingJun,

    It's good to hear that you successfully downloaded the firmware.

    I am not sure how temperature is not showing, there may be a command error at startup and it is not able to get the temperature reading.
    You can ignore this for now. If it is still a show stopper, please write to us.

    Please click on resolved, if you think your issue of downloading firmware is fixed.

    Thanks,
    Navneet

  • Hi Navneet

    Thank you very much for your support.
    In the end, I want to confirm 2 more questions:
    1) Is it necessary to write the initial configuration to the new Cypress IC? When the GUI is first connected, will the GUI initialize it?
    2) In my design, the control polarity of the CY_IIC_OE signal needs to be inverted because the Buss Buff in the reference schematic is replaced. If I don't change the existing hardware, I can't use it when I connect to the GUI. Can the GUI be modified? Or can I send the source code of the GUI to me? I will try to modify it.
    Thanks,
    JingMingJun