5 Replies Latest reply on Jun 27, 2016 5:49 AM by JoMe_264151

    Two CSD Module Using in Same Project (CY8C4126AZI-M445)

      Hi everybody,


      I would like to use two CSD modules in same project. But i took error message about Resource limit end of the building operation like attached. 4100M datasheet says : 


      "Each CSD block has two IDACs which can be used for general
      purposes if CapSense is not being used.(both IDACs are
      available in that case) or if CapSense is used without water
      tolerance (one IDAC is available). The PSoC 4100M has two
      CSD blocks which can be used independently; one for
      CapSense and the other for IDACs.
      The two CapSense blocks are referred to as CSD0 and CSD1.
      Capacitance sensing inputs on Ports 0, 1, 2, 3, 4, 6, and 7 are
      sensed by CSD0. Capacitance sensing inputs on Port 5 are
      sensed by CSD1."


      Do you have any IDEA ? Also, i have another dramatic information : when i try to same operation with CY8C4127AZI-M485, it can work without any error. There is a table at page 30 of datasheet. The table gives some information about IDAC and CSD capabilities. But i can not comment table and above information at same time.


      Thanks in advance for your valuable comments. 

        • 1. Re: Two CSD Module Using in Same Project (CY8C4126AZI-M445)

          Please Post your project so we can see what is going on.  It looks like you don't have a big enought part and you have exceeded your resources.

          • 2. Re: Two CSD Module Using in Same Project (CY8C4126AZI-M445)

            Hi Bob, 


            Thank you for your interest. In fact , there is no spesific option for my project. Anyway, i attached it for you. Before assigning pin, when you add second CSD module, "Resource Limit Error" is shown on error screen. 


            I will be waiting your valuable comments. 


            Thanks in advance. 

            • 3. Re: Two CSD Module Using in Same Project (CY8C4126AZI-M445)

              Your selected device has got only 1 8-bit DAC which is needed for CapSense. This is the reason why you may not use two CapSense components at the same time (Which you usually do not need, one component is quite sufficient).


              A tip: at the very right hand side of the Creator window is a tab named "Resource Meter". After a build you may see here what resources your chip has got and how many of them were used.





              • 4. Re: Two CSD Module Using in Same Project (CY8C4126AZI-M445)

                Hi Bob,


                Thank you for your answer. I have attached two pages of the datasheet to my this post. If you can check, you will see that there is no spesific IDAC for CY8C4126AZI-M445. There is only CSD module. 


                I need second CSD module. Because ; i have 31 sensors as totally ( 21 sensors are singular, 10 sensors are for slider) and my display size is so big appro. 35cm. So, i thought reading parallel via second module can be better. 


                Also, if you use one CSD module, you can not use port 5 for assigning capacitive sensor I/O. In this case , you have to assign to capacitve I/O to yellow pins. ( Please check attached screenshot) . The help file says that " Yellow with black text indicates this is a valid assigment, but there is a consequence if you select it". On the other hand, when to move capacitive sensor to yellow I/O , i give warning message :  "Function CSD.source is reachable through the analog routing fabric, but using this pin may lead to routing congestion or failure".


                Could you clarify to me ? Why do i give a yellow warning message ? If assign to capsense input to yellow I/O. Has it risk ? Should i do , or should not ? 


                Lastly , when i use only one CSD module , i can not see scan time at the end of the complie opeartion. Do you have any idea about it as well ? 


                Thanks in advance.

                • 5. Re: Two CSD Module Using in Same Project (CY8C4126AZI-M445)

                  I suggest you to get in contact with Cypress directly: At top of this page select "Design Support -> Create a Support Case". Describe your problem, leave a link to this thread. You will get help soon.