Why might adding a fixed I2C element cause fitter errors

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaGa_1759861
Level 2
Level 2
First solution authored 5 replies posted 5 questions asked

Does the inclusion of a fixed logic module consume UDB resources?

Using PSOC Creator 4.2.0.64 & PSOC5 CY8C5888AXI-LP096.

UDB resource meter shows 91.7% (7 SPI masters, muxes and some other stuff). I then try to add a fixed I2C module, straight forward drag and drop from the component catalog, and seeing the following fitter errors:

Error: plm.M0046: E2071: Unable to pack the design into 24 UDBs. See the Digital Placement section of the report file for details. For additional assistance, see the Mapper, Placer, Router section in the PSoC Creator help.

Error: plm.M0046: E2055: An error occurred during placement of the design.

Error: plm.M0046: "C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\bin/sjplacer.exe" failed (0x0000000B)

Dependency Generation...

Cleanup...

Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

MaGa,

91.7% is a lot! Most scarce PSoC resource is, actually, routing. It is likely that fitter can't make a path to connect FF I2C (in and out).

/odissey1

View solution in original post

4 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi MaGa_1759861

PSoC 5LP has both fixed function and UDB based I2C implementation. In the component, please make sure that the fixed function block is selected by checking the fixed function radio button as shown in the picture

pastedImage_0.png

Thanks and regards

Hari

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

MaGa,

91.7% is a lot! Most scarce PSoC resource is, actually, routing. It is likely that fitter can't make a path to connect FF I2C (in and out).

/odissey1

Thanks. It may well be routing, just a bit confusing that it complains about UDB then.

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I agree with /odissey1-san.

When I tried creating a project which has only 1 I2C, the UDB usage was 0.

So I suspect that the existence of the added I2C with pin routing interfering.

Although it may not help, but I would try some pin combination of I2C

so that there may be routes which will not interfere.

Or if possible, I would un-check all pin-assignments in Pins

and use generate application to let PSoC Creator try its best.

moto

0 Likes