3 Replies Latest reply on Sep 15, 2018 10:26 AM by ring

    Does CY8C21434B have enough RAM to implement a 23 buttons in SmartSense?

    user_15363663

      Hi, I have a problem during the Linking process.

      I opened a new project with CY8C21434B and I placed the unit SmartSense to implement 23 button in smartsens technology . I followed the first example in datasheet (Code Sample) to implement the firmware.

      When I tried to compile the project a link error occurred (RAM not enough):

      " ...   

      !E <library>(1993): {linker} Cannot allocate space for 46 bytes for 'ram0' area

      !E <library>(1993): {linker} Cannot allocate space for 23 bytes for 'SmartSense_ramBtnFThreshold' area

      !E <library>(1993): {linker} Cannot allocate space for 23 bytes for 'SmartSense_ramSnSSig' area

      !E <library>(1993): {linker} Cannot allocate space for 72 bytes for 'SmartSense_ramSnsParam' area

      ... "

       

      I tried to enable the parameters of the compiler like code compression, enable paging and stack area on page 1, to get more RAM but is not enough yet.

      It seems that up to 16 buttons there isn't a problems. From 17 buttons onwards it start the problems.

      Project parameters:

      • PSoC Designer 5.3
      • PSoC  CY8C21434B
      • Unit SmartSense (Ver.1.50; Sensor Autoreset: enable;  Threshold Setting Mode: Automatic)
      • Global Resurce: Vcc:3,3V;  SysClk: 24MHz;  CPU_Clock = 12MHz;
      • Compiler Parameters: Enable paging and Stack offset C8; Code Compression all flags.

       

      Is it possible that CY8C21434B don't have enough RAM to implement 23 button SmartSense?