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.

TMS320F2837xS & CY15B102Q

Hi,

I am using SPI of TMS320F2837xS to communicate with CY15B102Q(FRAM) to store faults. Read/Write works fine but i am not able to lock or unlock memory array of FRAM using BP1 & BP0. Any one can help me to resolve the issue.

Regards,

Jagadeesh 

  • Hi Jagadeesh,

    Can you tell us what is required on your device to unlock/lock the memory in the FRAM device? What are the SPI communication requirements for that device?

    Regards,

    Kris

  • Hi Kris,

    Status register:
    Bit Definition Description
    Bit 0 Don’t care This bit is non-writable and always returns ‘0’ upon read.
    Bit 1(WEL) Write Enable WEL indicates if the device is write enabled. This bit defaults to ‘0’ (disabled) on power-up.
    WEL = '1' --> Write enabled
    WEL = '0' --> Write disabled
    Bit 2(BP0) Block Protect bit ‘0’ Used for block protection. For details, see Table 4 on page 7.
    Bit 3(BP1) Block Protect bit ‘1’ Used for block protection. For details, see Table 4 on page 7.
    Bit 4-5 Don’t care These bits are non-writable and always return ‘0’ upon read.
    Bit 6 Don’t care This bit is non-writable and always returns ‘1’ upon read.
    Bit 7(WPEN) Write Protect Enable bit Used to enable the function of Write Protect Pin (WP).


    Block Memory Write Protection:
    BP1 BP0 Protected Address Range
    0 0 None
    0 1 30000h to 3FFFFh (upper 1/4)
    1 0 20000h to 3FFFFh (upper 1/2)
    1 1 00000h to 3FFFFh (all)


    i need to lock/unlock the memory from 30000h to 3FFFFh

    Regards,
    Jagadeesh