PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
While trying to create the HID Keyboard example in AN58726 I encountered a few problems:
1. Figure 14. It would help to have the I/O pin assignments in this figure. They appear only in the pin-configuration figure later on.
2. Page 14, section 3. The project name here does not match the project name used in section 1.
3. Page 16, section 5. "...with the addition of an OUT EP. Change to the schematic window and double click on...
4. Page 18, Figure 20. Instead, use the settings listed in Appendix B, page 39 under the heading, "HID Report Descriptor: Keyboard with LEDs." The report shown in Figure 20 is not correct.
5. Page 18, text above Figure 20. Make this step clearer and perhaps in boldface type. "After you complete the Report Descriptor, note the name you assigned this report, "Keyboard with LEDs." Click on the Device Descriptor tab and then click on the HID Class Descriptor line in the left window. In the HID Report text box, you must enter the exact same name, "Keyboard with LEDs." If you do not, you will see an error message. (The instructions get lost at the top of the figure. I passed over them at first.)
Some of the above might seem like nit picking, but they can cause problems for newcomers.
Show LessHey Community!
I know that PSoC5 supports only USB 2.0 component but when I plug in a USB 3.0 (cable and connector on the other end) the speed does change. I seem to be missing something obvious.
Thanks,
Ganesh
Show Lessusing a CY8C28413-24
I have 1 uart added
Want to make P1.5 RX pin, P1.7 TX pin.
Designer version 5.4 does not want to make this connection..so why not?
Ken
Show LessHello, I am interfacing with a 16-port GPIO expander using SPI on the PSOC5. I am using a Master SPI and am able to program the GPIO expander using the Write function of the SPI module. But know I would like to read some of the registers in the GPIO expander. I need some help with the programming for the SPI Master read. Is anyone has some examples on doing a read please share them with me.
Thank you very much,
Joe
Show LessHi,
I want to transfer data from UDB => FIFO => D0/D1 registers. In the 5LP reference manual, the description of the Fx_LD and Dx_LD signals is not clear to me. So I've some questions:
For the Fx_LD signal, I assume it has no effect if FIFO is in input mode (system bus writes the FIFO). Is this true? Or can the FIFO even been loaded from datapath when in input mode?
For the three FIFO output modes, let's say there's a UDB implementation which has five states 1-5.
1) some UDB computation, Fx_LD signal is set high
2) no UDB computation, Fx_LD signal is recognized by datapath as rising edge, Fx_LD signal is reset, FIFO is loaded from Ax/ALU, Dx_LD is set
3) no UDB computation, Dx_LD signal is recognized by datapath as rising edge, Dx_LD signal is reset
4) some UDB computation with Dx, where Dx has been loaded from FIFO
5) some UDB computation
Is the above interpretation true? If yes, is it possible to merge states 2 & 3?
If I understand the description of the _LD signals correctly, the transfer occurs at the falling clock edge. So, using FIFO clock inversion and setting both Fx_LD and Dx_LD in state 1 should make the FIFO recognize the rising edge within state 1. At state 2, the FIFO transfer completed, and Dx_LD will recognize the rising edge.
In state 4, Dx is loaded from FIFO, so state 3 is eliminated.
How would the FIFO edge/level setting affect the above? If set to level, would it mean that the FIFO is loaded at each falling clock edge on each state where the Fx_LD signal is high on the rising clock edge? So, it would be possible to load the FIFOs with the datapath clock, but the Dx registers can only be loaded at half the clock frequency?
Regards
Show LessIs the reset signal reset FIFO data?
There are four FIFO data, is there always data in it?
Hi,
I was running into performance issues on one of my slower ISRs (1ms). I started commenting out some of the newer status checks and I noticed that when the DieTemp block was disabled, my problems disappeared.
All I did was call
// read out temperature in Celsius
temp = DieTemp_Query(&device.MCU_temp);
if(temp == CYRET_SUCCESS)
{
DieTemp_GetTemp(&device.MCU_temp);
}
else if(temp != CYRET_STARTED)
{
DieTemp_Start();
}
for reference "device" is a data structure for telemetry and "MCU_temp" is a uint16 within that structure.
That block of code was taking on average about 1.8ms. Why is this so slow and is there an efficient way to non-block poll the Die Temperature in real time?
Let me know if I did something silly as always...
Nick
Show LessPlease see attached the File.
About resources of UDB, when using Counter.
Before using Counter, the UDB resources looks like enough resource.
But adding counter, there happend Error that looked like coused by UDB resource shortage.
The Error Message is below.
-----
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
------
It seems that resources can still afford to add resources (data sheets) used for counters, but they will run out.
Why is that?
Regards, Naoki
Show LessMy project uses I2C component but changed "BufSize" from 8bytes to 16bytes.
when I use I2C, It works well for few secones to few minutes.
but after that PSoC called "CyHalt" continuously.
How I debug PSoC to solve my problem?
if you have any advice, please teach me.
Show Less