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

cross mob
lock attach
Attachments are accessible only for community members.
Ajay1995
Level 2
Level 2
5 replies posted First like received 5 questions asked

Hello....

I am Using CY8C4245AXI-483 as a Master For I2C & SPI Communication I get below error during compilation,

FFB and IO placement failed: Failed to find a valid placement for \SPIM:SCB\.

 

When I Configure I2C & SPI separately there is no error but when I configure I2C & SPI at a time I get above error.

Please check attached  configuration image for your reference.

Thanks  & Regards

AJ

1 Solution
NXTY_Tatebayasi
Level 5
Level 5
Distributor - NEXTY (Japan)
50 questions asked 25 likes received 250 sign-ins

Hi, @Ajay1995 

 

If you are allowed to replace the terminals on your board, please uncheck the Lock checkbox on the attached screen and compile the board.
This will automatically result in the correct pin assignments and eliminate the error.
I think from the datasheet that the original error was caused because you were trying to set spi and I2C in the scb1 block.

NXTY_Tatebayasi_0-1691575238633.png

NXTY_Tatebayasi_1-1691575414618.png

 

Best Regards, 

Chihiro Tatebayashi / NEXTY

View solution in original post

4 Replies
NXTY_Tatebayasi
Level 5
Level 5
Distributor - NEXTY (Japan)
50 questions asked 25 likes received 250 sign-ins

HI, @Ajay1995 

I am afraid that unchecking the "Show SPI terminal" checkbox and compiling the device may solve the problem.
For PSoC4200 series, it should be possible to connect them at an internal node without having to place SPI pins.

In my case, I was able to compile without error as shown in the figure below.

I hope this helps you.

NXTY_Tatebayasi_0-1691390563142.png

NXTY_Tatebayasi_2-1691390736429.png

NXTY_Tatebayasi_3-1691390783717.png

 

Best Regards, 

Chihiro Tatebayashi / NEXTY

0 Likes
lock attach
Attachments are accessible only for community members.
Ajay1995
Level 2
Level 2
5 replies posted First like received 5 questions asked

Hello  Chihiro Tatebayashi ...

Your attached configuration is right.

I don't get any error pin no 20 & 21 (Data & Clock Pin) but when I configure SPI (Pin N0-28,29,30,31) & I2C (Pin N0-11,12) I get this error FFB and IO placement failed: Failed to find a valid placement for \SPIM:SCB\. 

 

Please check attached configuration Images & my project for your reference.

Please let me know can I use Pin no 11 &12 for I2C & SPI (Pin N0-28,29,30,31) at same time because I designed my hardware on the same pin.

 Regards

   AJ

0 Likes
NXTY_Tatebayasi
Level 5
Level 5
Distributor - NEXTY (Japan)
50 questions asked 25 likes received 250 sign-ins

Hi, @Ajay1995 

 

If you are allowed to replace the terminals on your board, please uncheck the Lock checkbox on the attached screen and compile the board.
This will automatically result in the correct pin assignments and eliminate the error.
I think from the datasheet that the original error was caused because you were trying to set spi and I2C in the scb1 block.

NXTY_Tatebayasi_0-1691575238633.png

NXTY_Tatebayasi_1-1691575414618.png

 

Best Regards, 

Chihiro Tatebayashi / NEXTY

Ajay1995
Level 2
Level 2
5 replies posted First like received 5 questions asked

I get this error because am using same SCB block for SPI & I2C.

Thank you Chihiro Tatebayashi for your reply...

 

Thanks & Regards 

AJ