You are here

Why I am getting Errors "Macrocells", "Unique P-terms", "Datapath Cells" exceeds? | Cypress Semiconductor

Why I am getting Errors "Macrocells", "Unique P-terms", "Datapath Cells" exceeds?

Summary: 9 Replies, Latest post by bobgoar on 20 Mar 2017 05:55 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
maknight's picture
User
210 posts

Hi All,

I want to do the following,

I want to read temperature using TMP05 and communication using UART full duplex.

But when i compiled my program it says that, i am exceeding the above mentioned UDB resources.

I wanted to know how i can over come this?

And on which factors these resources depends.

Looking forwards to your suggestions.

Regards

Awais

user_242978793's picture
User
1205 posts

Please post your code.

user_1377889's picture
User
10119 posts

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

 

Bob

 

maknight's picture
User
210 posts

Hi,

Thank you four reply.

Please see attachment.

jkgupta654_2265946's picture
User
3 posts

Hi Maknight,

Just go to the View option -->Resource Meter --> Digital --> UDB

There you can see error showed in Red colour(which means you are using excess component).

 

Regards,

Jatin

maknight's picture
User
210 posts

Hi Jatin,

Thank you for your reply.

I wanted to know how these resources are being affected with my design. Even when I just place one UART and TMP05. It is still showing the errors.

Regards

Awais

user_1377889's picture
User
10119 posts

The UART uses 3 UDBs, the TMP02 needs 2. That is one more than the PSoC has got (4). Though restricted with the IO pins, I would suggest to use an SCB based UART that does not use any UDBs.

 

Bob

maknight's picture
User
210 posts

Thank you again for your reply Bob :)

Can you please tell me the difference between SCB based and UDB based UARTS?

One more thing, How I can find out that, which component will use how much UDBs?

 

Awais

user_1377889's picture
User
10119 posts

The "U" in UDB stands for "Universal". Most of the PSoC5 components have been built out of these digital blocks using HDL (Hardware Definition Language). This language (Warp Verilog) is already installed on your system to give you the opportunity writing your own components. Tough stuff, I can promise!

In the component's datasheet you always find (just before the AC specs) which and how many resources the implementation does cost.

 

Bob

user_242978793's picture
User
1205 posts

Here is your program and it is working now. All I did was change the UART component.

Log in to post new comments.