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

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
  • The target MCU of AN1068 is the original EZ-USB (Anchor AN2131).
    Therefore, you have to rewrite the code intensively for FX2(LP).

    In this appnote, port C is assigned to the bit-banging port.
    The original EZ-USB maps port C on XDATA area (OUTC: 0x7F98).
    FX2(LP) places it on the register area (IOC: 0xA - bit-addressable).
    It is the reason the code doesn't work.

    Tsuneo

Reply
  • The target MCU of AN1068 is the original EZ-USB (Anchor AN2131).
    Therefore, you have to rewrite the code intensively for FX2(LP).

    In this appnote, port C is assigned to the bit-banging port.
    The original EZ-USB maps port C on XDATA area (OUTC: 0x7F98).
    FX2(LP) places it on the register area (IOC: 0xA - bit-addressable).
    It is the reason the code doesn't work.

    Tsuneo

Children