PSoC™ 4 Forum Discussions
I use DMA to capture the data from ADC, but the data captured with DMA in release mode and debug mode are different.
The config of DMA is as follow:
Show Less
trying to execute CE195325 – I2C LCD with PSoC 4 example code using C8ckit-043. It does nothing when I execute it.
1. how does the LCD component know how where the I2C component is so it can communicate?
2. Is the code compatible with cy8ckit-043?
3. The only thing I haven't implemented is the reset pin. Is that necessary?
4. Will this work with a 2004 display? (20 character, 4 lines)
Show LessCan you provide an easy way to copy an existing project and use it for a new project?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AE%E3%82%B3%E3%83%94%E3%83%BC/td-p/686512
Show LessI'm using USB Audio code similar to the CY8CKIT_046_USB_Audio example project, in CY8C4246AZI-L433, and when the IN/OUT bandwidth is high, on one computer, in particular, the code will consistently lock up inside this loop:
/* Request for dynamic re-configuration of endpoint. */
USB_DYN_RECONFIG_REG |= USB_DYN_RECONFIG_ENABLE;
/* Wait until block is ready for re-configuration */
while (0u == (USB_DYN_RECONFIG_REG & USB_DYN_RECONFIG_RDY_STS))
{
}
This register is at memory location 0x402c0050, and when the PSoC is locked up in this loop, that location reads 0x00000003 = 0b00011:
- DYN_RECONFIG_RDY_STS = 0b0 = not ready for reconfiguration
- DYN_RECONFIG_EPNO = 0b001 = Endpoint 2 ("Use 0 for EP1, 1 for EP2, etc.")
- DYN_CONFIG_EN = 0b1 = enable the dynamic re-configuration for the selected EP
So we've enabled re-configuration on EP2 (IN audio) but it's not entering the ready state. Any idea why?
Before this happens:
- Data is flowing normally IN (EP2) and OUT (EP1), with feedback IN packets regularly (EP8)
- The IN packets start to become identical. Buffer is not being updated? This might actually be the root of the problem. They are still changing length, though, to maintain the correct sample rate.
- The feedback packets stop
- After another ~35 OUT packets on EP1, the OUT packets stop
- After another ~35 IN packets on EP2 (all of which are now identical), the IN and OUT interfaces are both put into zero-bandwidth mode
- The OUT interface is put into active mode
- OUT packets are transmitted on EP1
- Feedback packets are transmitted on EP8, all zeros
- After ~40 OUT packets on EP1, the firmware locks up in that loop, seemingly during reconfiguration of EP2.
Is there any code example for uart wakeup from deepsleep on 41s-max posc 4100s max.
Hi infineon.
When debugging CE210291(attached file), below error occurs.
Programming itself was successful.
Could you please let us know how to solve this error?
Why did this error occur?
Best Regards.
YuMa
Show LessHello, I did a project to measure the frequency using a timer and a counter and the interruption component with the Analog Coprocessor (CY8C4A45LQI-483). I used the CY8CKIT-048. I think this kit is discontinued, but I have used it without any problem for other projects. However, this project works it it is done with Creator 3.3 but it does not work if it is done with Creator 4.4. All the components are updated. Any help is welcome.
Show LessHi Community, I'm currently facing a bug with my UART Bootloader that I implemented to my CY8C4246LTI-M445 controller based Touch Switch Application. I'm getting stuck into the bootloader mode and my application isn't running. As soon as I started debugging I noticed that my Bootloader application gets stuck at a Library file which is an "Assembly file". I'm attaching a screenshot for the same so that you can understand or try suggesting me to pick the issue.
Long Short Story : I tried implementing the UART Bootloader on CYKIT-042 based Dev Board and got success in it. Soon I started porting the latest changes made in Dev Board to my Touch Switch Application. Now the issue started rising again and I was getting stuck into the bootloader mode. But after somedays when I started again working on the bootloader project The code seems working fine(I mean it gets into the Bootloader mode and performs some action and then gets back to the Touch Switch Application.
So I copied the working project based on touch switch and started working on it, but again I faced the same issue of getting stuck into bootloader even though I've setup up the Waiting timeout to 1.5 Seconds.
Show Less
Hi, Community,
I understood generally the code attached, but I could not find the condition in main.c to transition to wake up.
I tried to enter debug mode but could not activate it due to an error.
Could you please tell me which code in the attached project corresponds to wake up?
Best Regards,
Show LessI want to simply lower CS, then clock in 16 bits from the max6675.
configured SPI master , 16 bits, separated, no interrupts.
Not sure what to do to make this work.
int16 Data=0;
SPIM_Start();
Data=SPIM_SpiUartReadRxData();
Show Less