How can i use two UARTs in PSoC4 Cy8C4247LQI-BL483

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

cross mob
Anonymous
Not applicable

Hi,

   

i need two UARTS, one for a debug log on the PC and the other for communication with another uC.

   

When i put one UART in my Top Design, everything works, but when i put another UART block in ther an compile i get the following error:

   

--------------- Rebuild Started: 04/28/2016 15:07:19 Project: emBrace_BLE2UART, Configuration: ARM GCC 4.9-2015-q1-update Debug ---------------
Deleting file ".\emBrace_BLE2UART.rpt"
cydsfit.exe -.appdatapath "C:\Users\Patrick\AppData\Local\Cypress Semiconductor\PSoC Creator\3.3" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -p "C:\Users\Patrick\Documents\PSoC Creator\UART2BLE\emBrace_BLE2UART.cydsn\emBrace_BLE2UART.cyprj" -d CY8C4247LQI-BL483 -s "C:\Users\Patrick\Documents\PSoC Creator\UART2BLE\emBrace_BLE2UART.cydsn\Generated_Source\PSoC4" -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
Elaborating Design...
HDL Generation ...
Synthesis ...
Place and Route ...
Tech mapping ...
Error: mpr.M0014: Resource limit: Maximum number of Macrocells exceeded (max=32, needed=48). (App=cydsfit)
Error: mpr.M0014: Resource limit: Maximum number of Unique P-terms exceeded (max=64, needed=88). (App=cydsfit)
Error: mpr.M0014: Resource limit: Maximum number of Datapath Cells exceeded (max=4, needed=6). (App=cydsfit)
Error: mpr.M0014: Resource limit: Maximum number of Status Cells exceeded (max=4, needed=6). (App=cydsfit)
Dependency Generation ...
Clean Temporary Files ...
Error: cdf.M0005: CyDsFit aborted due to errors, please address all errors and rerun CyDsFit. (App=cydsfit)
--------------- Rebuild Failed: 04/28/2016 15:07:28 ---------------

   

I thought the PSoC4 has two UARTs, can you please help me ? I need two UARTs!

   

Pat

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

What makes you think that without any OS in the PSoC the function DBG_PRINTF() uses the UART_DEBUG component. (WHY CAPITAL LETTERS???)

   

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

View solution in original post

0 Likes
4 Replies