PSoC™ 5, 3 & 1 Forum Discussions
After much trial and tribulation, I was able to get a design with several UDB counters and USBFS to route properly. All Capture interrupts are occurring all the time, on a PSoC 5, along with using USBFS.
The key was to generate all of the timers and the rest of the design first. After that, you can add the USBFS to the mix, and everything works.
If the USBFS was placed into the design first, then there were clock skew issues, and the input clock to the counters could only be about 12 MHZ.
Also, if you want to debug faster and you are also using any fx2 based usb device, do the design in PSoC creator 3.3 or 4.0. 4.0 is much slower than 3.3, but 4.1 is glacial under certain circumstances. However, the user interface to setting up the USBFS device is *much* better in PSoC creator 4.1.
Show LessHello Forum,
i have made an 4 Channel-DMX Receiver with the PSoc5 Kit and it works fine with Interrupt based Code:
CY_ISR(ISR_DMX1)
{
// Check for break
if((UART_1_ReadRxStatus() & UART_1_RX_STS_BREAK) != 0)
{
DMX1Pointer = 0;
}
else //Read the Byte and store it in the Array
{
DMXIn1[DMX1Pointer] = UART_1_ReadRxData();
DMX1Pointer++;
}
}
Now i want to do this with DMA. I think there is no Problem to store the Bytes, but how do i reset the Stream when a Break of the UART is detected?
Günter
Show Less
Hi, I need to know which are the statements that I use to send data to a smart screen NEXTION, I have to show three data level temperature and PH, each one has an address and I do not know where to write them to send the data correctly. The data sheet of the screen is https://www.itead.cc/wiki/Nextion_Instruction_Set.
Sorry for my English, I'm from Argentina
Greetings, I hope you can help me
In my project, I need to have multiple ports of IO expander CY8C9560A simultaneously configured as output .
I would like to know whether the status of a port will remain valid if a different port is selected using repeat start feature of I2C?
Show LessIn the datasheet of CY8C9560A, it is mentioned that the drive mode register must be configured for PWM output, but not mentioned specifically for GPIO operation.
Do the drive mode registers need to be configured for GPIO operation also?
Show LessHi All
CDC has evolved in awesome way.
Can anyone give some direction for this?
Shaunak Agastya Vyas
Hi,
I need to 1.25 microsecond off and 21.0 microsecond on pulse using pwm and i have used PSoc 5LP cy8ckit - 059 . Could you please help me how to calculate the duty cycle and period for PWM. I am waiting for your reference.
Thanks,
MohanRaj R
Show LessHi,
I use the PSoC 5LP CY8C5868AZI-LP035 to generate a 3 phase sine wave with 3 external DACs with an SPI interface. So, as suggested in the documentation, I have a firmware controlled setup where i enable each DAC when required.
I use a 3bit Control register and the problem is that i am not able to activate each line in sequence, ie, CR_Output1, followed by CR_output2, ending with CR_Output3. I can do so, however, when i give a certain delay between their enabling, but when i do so without any delay, the 3rd output selects when im actually selecting the 2nd output and vice versa.
So, to enable them, the input to the API is,
0x06, 0x05 and 0x03, this should lead to Line1, Line2 and then Line3, but what happens is: Line1, Line3, Line2.
So i have to exchnge the input as: 0x06, 0x03 and 0x05, which somehow works, and i dont know why.
Any help would be appreicated.
Thanks in advance.
PRP
Show Less