Not able to used 3 protocols(UART, I2C, SPI) Simultaneously on Cy8C4025AZI-S413 Microcontroller

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

cross mob
AsDh_4015406
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Hi All,

Not able to used three Protocols at a time. I got error when used  3 protocol.

Error: mpr.M0143: Too many clocks allocated for SCB components. (App=cydsfit)
Error: mpr.M0014: Resource limit: Maximum number of Serial Communication (SCB) exceeded (max=2, needed=3). (App=cydsfit)
Dependency Generation...
Cleanup...
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)

In my project,  required three protocol simultaneously.

How can I resolved this error..... Any help will be highly appreciated. 

Thanks & Regards,

AsDh 

 

0 Likes
1 Solution
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

PSoC 4200S family only has 2 SCB blocks (described on front page of datasheet).  So, you can't get 3 SCB blocks out of 4200S device.

PSoC 4200L and 4200M devices have 4 SCB blocks.  They would be better suited to your project.

If you really need to use 4200S device, you could bit-bang a UART function.

There is a software TX UART component in Creator.
There is also an example software RX UART written by Moto.
Solved: Software Based Uart Receive - Cypress Developer Community

You'll need to configure these for your hardware design.

Good luck with your project.

 

View solution in original post

0 Likes
2 Replies
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

PSoC 4200S family only has 2 SCB blocks (described on front page of datasheet).  So, you can't get 3 SCB blocks out of 4200S device.

PSoC 4200L and 4200M devices have 4 SCB blocks.  They would be better suited to your project.

If you really need to use 4200S device, you could bit-bang a UART function.  You'll have to search for this code or write it yourself.

Good luck with your project.

edit: Here are a couple of references for a software based UART.  You'll need to modify them for your hardware configuration.
PSoC Software TX UART component:
https://www.cypress.com/file/414666/download
PSoC Software RX UART implementation from Moto:
https://community.cypress.com/t5/PSoC-4-MCU/Software-Based-Uart-Receive/td-p/220861?start=0&tstart=0

 

0 Likes
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

PSoC 4200S family only has 2 SCB blocks (described on front page of datasheet).  So, you can't get 3 SCB blocks out of 4200S device.

PSoC 4200L and 4200M devices have 4 SCB blocks.  They would be better suited to your project.

If you really need to use 4200S device, you could bit-bang a UART function.

There is a software TX UART component in Creator.
There is also an example software RX UART written by Moto.
Solved: Software Based Uart Receive - Cypress Developer Community

You'll need to configure these for your hardware design.

Good luck with your project.

 

0 Likes