memeory settings FX2

I have implemented an SPI interface in Cypress FX2. I have problems in giving the XDATA and CODE. I gave the settings as CODE - 0X80-0X0fff and XDATA 0X1000. But when I program it ,Iam not able to see the SCLK. IS anything wrong with the memory settings .
Thanks.
Vanitha

Parents
  • > I have implemented an SPI interface in Cypress FX2.

    How did you implement SPI?
    EZ-USB FX2(LP) doesn't have any on-chip SPI.
    Did you connect an external SPI chip?
    Or, did you trick the UART as this app note shows, or bit banging?

    "SPI Implementation Using Serial Mode 0 on EZ-USB - AN1067"
    www.cypress.com/

    > I have problems in giving the XDATA and CODE. I gave the settings as CODE - 0X80-0X0fff and XDATA 0X1000.

    Did you see any error on the linker log?
    If not, it sounds like fine.

    > But when I program it ,Iam not able to see the SCLK. IS anything wrong with the memory settings .

    Did you see any other trouble than SCLK?
    Other functions - like USB enumeration - works fine?
    Why do you think the trouble is related to the memory setting?

    Information is too short to comment something helpful.

    Tsuneo

Reply
  • > I have implemented an SPI interface in Cypress FX2.

    How did you implement SPI?
    EZ-USB FX2(LP) doesn't have any on-chip SPI.
    Did you connect an external SPI chip?
    Or, did you trick the UART as this app note shows, or bit banging?

    "SPI Implementation Using Serial Mode 0 on EZ-USB - AN1067"
    www.cypress.com/

    > I have problems in giving the XDATA and CODE. I gave the settings as CODE - 0X80-0X0fff and XDATA 0X1000.

    Did you see any error on the linker log?
    If not, it sounds like fine.

    > But when I program it ,Iam not able to see the SCLK. IS anything wrong with the memory settings .

    Did you see any other trouble than SCLK?
    Other functions - like USB enumeration - works fine?
    Why do you think the trouble is related to the memory setting?

    Information is too short to comment something helpful.

    Tsuneo

Children
More questions in this forum