Problems with UDB PSoc 4 CY8CKIT-042

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

cross mob
Anonymous
Not applicable

Good morning

   

I'm trying to measure the frequency of a square signal from a sensor, for which I used the counter and PWM module as shown in http://www.cypress.com/file/144696/download, when I try to send the value the frequency using the USART module, an error stating that "datapath cells" 4/4 appears. I understand that I can not use more modules and I wonder if Psoc programming must be done in both languages (Graphic and code), or if it can be done only by one of the two; or if there is no solution for UDB use all at the same time, as I also convert ADC and other sensors using SPI or I2C module.

   

Thanks

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

There are components made out of UDBs and others that use fixed function blocks. So when using the latter for your project all you want to have may fit into the design.

   

And Yes, you need to place and wire your hardware and additionally program the hardware using C-language and the provided APIs.

   

 

   

Bob

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Can you use the SCB-based UART instead of the UDB-based one?

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

jagarciag,

   

you have run out of UDB's; you can also use the Software Only Tx-UART component for sending data out. Works fine if CPU is not overloaded by other tasks.

0 Likes