Discussions regarding PSoC and MCU products.
Discussions regarding PSoC and MCU products.
Universal Serial Bus (USB) forums have discussions regarding Low-Full & High Speed Peripherals, Superspeed Peripherals, USB Hosts Hubs Transceivers, and USB EZ-PD Type C product solutions for PCs and consumer device topics.
Memory Discussion Forums discussions regarding NOR Flash, SRAM, nvSRAM and F-RAM - performance and reliability with discrete memory densities ranging from 4K-bit to 2G-bit topics.
Discussion forum regarding Other Technologies including Power Management and Clocks topics.
I changed the device to the new chip, CY8C4125PVS-482:
I was previously using CY8C4245PVI-482. Then, I built the project. Errors resulted.
The first error to fix is the clock speed 48→24 MHz (see imo.png).
The remaining errors are:
What does "fit" and "mpr" mean? Is there reference documentation explaining these errors? I never heard of a macrocell before. Is there a generic solution to these errors?
i want to receive data on Raspberry Pi via UART from Cypress. Here's what I did. I connect RPi to power supply, then:
What can be wrong? Maybe I need to change some config file or sth else?Show Less
I have been inventing a ultra low power IoT Bus network that will outperform RS485/UART power consumption to about 40 times at 125kbps, does not need crystal stabilized timing, is physical fault proof, e.t.c. I want the bus network to become open standard. I have made several tests and made UDB component that performs the transaction on datapath and gate array level. Currently I have only tested it on PSoC 5 but would also like to port it to PSoC 4 with less capable UDB. The first test production evaluation boards with PSoC 5 are in production. I am looking for engineers who are willing to evaluate and participate the bus network development. More info about the evaluation board can be found at Wired IoT Bus Evaluation Kit – Tauria OÜ and Energy Consumption by Wired Internet of Things – Tauria OÜ .
Feel free to comment and ask questions !Show Less
Processor card: KIT_XMC4400_DC_V1
Drive board: EVAL-M5-IMZ120R-SIC board.
Question: How to set absolute current limit in software for I-V, I-U and I-W?
Problem: we can drive the motor for 2s. However, the current of I-V/U/W keep increasing. then trigger the CTRAP ..
I have a cy8ckit-059 and I would like to power it using a 3.7V battery previously used in a drone. I would like to have a button that turns the system on and off from the battery and also I would like the battery to be charged when the board is connected through the USB port. As I'm really a newbie to this world can you please guide to how can I make it work if it is at all possible?
The battery has all the required protections built in so if I connect it to a 5V 1A source (regular USB charger or PC) it can be charged without any trouble.
Thanks ahead for your help!Show Less
I have a manual single DMA channel which is dealing with multiple small packets, one at a time. After committing the buffer, the data arrives at the host just fine.
However, I cannot start a new DMA transfer because the previous one is ACTIVE indefinitely.
The setup is:
dmaCfg.size = 96; // Multiple of 32 required
dmaCfg.count = 192; // 256 seems to crash? Not sure why, should be plenty of memory?
dmaCfg.prodSckId = CY_U3P_PIB_SOCKET_0;
dmaCfg.consSckId = CY_U3P_UIB_SOCKET_CONS_1
dmaCfg.dmaMode = CY_U3P_DMA_MODE_BYTE;
dmaCfg.prodHeader = 16; // Multiple of 16 required
dmaCfg.notification = 0xffff; // I'll take anything
dmaCfg.cb = funcCallback;
CyU3PDmaChannelCreate(&handle, CY_U3P_DMA_TYPE_MANUAL, &dmaCfg);
In my callback, I get a CY_U3P_DMA_CB_PROD_EVENT:
CyU3PDmaChannelGetBuffer(&handle, &bufp, CYU3P_NO_WAIT);
CyU3PMemCopy(bufp.buffer - 16, &header, 16);
CyU3PDmaChannelCommitBuffer(&handle, bufp.count + 16, 0);
CyU3PEventSet(&glEvents, PROD_COMPLETE_EVENT, CYU3P_EVENT_OR);
Then, in my event handler, I try to queue up my next packet by waiting for the transfer to complete.
But it never completes. The state is ACTIVE forever.
Is there a better way to handle multiple manual transfers? I'm sure I could completely reset & abort, but that seems like overkill.
Dear Team Cypress,
Can you recommend a cypress MCU that can work, thru SPI communication , together with motor driver to do micro-stepping control in Stepper Motor ? If you can find a part that meets the below requirements that would be great!
microstepping feature + specification requirements:
-core Arm m0+
-SPI communication required
-having EEPROM is a plus
The customer used to consider for CY8C4125PVE-S422 ( https://www.cypress.com/file/429186/download ) for its specification, but the previous advise told me microstepping didn't work, so im posting this again to ask for the Cypress MCU part that can have microstepping through SPI communication
Thank you for your consideration and help.
We are using CYUSB3KIT-003 (the P/N of the chip is CYUSB3014) to design a camera. We need to send a leader and a trailer as single transfers before and after each frame. So I used the override mode to add the leader and trailer. I modified the AN75779 to test the override mode.
I add the leader in the GPIF CB function and the trailer in DMA CB function. I also added 2 states in the GPIF state machine: SOF0 and SOF1 to get the SOF signal from the camera (it’s a pulse 5ms before FRAME VALID signal ) to interrupt the CPU. In these 2 interrupts, I add the 52 bytes Leader of the frame. The resolution of my design is 1920*1200 Mono8 (1 byte per pixel) and the frame rate is 30 FPS. I set the buffer burst size to be 18K (18*1024). So there should be 125 transfer of 18K blocks, one leader and one trailer for each frame. I used AMCap to start the transfer though I know there will be no video in the viewer. I only need to see the USB traces.
But the trace I got is not as my expectation. The data blocks will sometimes be 124, and sometimes there will be one data block between the leader and trailer. The app will stop running after several seconds with an EP_UNDERRUN error. You can see the details in the attachment.
Please kindly give me some help.
Thank you much in advance.
I've a bus trap while initializing the GTM clock. in particoular here
I've set a break point on line 121 (address FB86) reg_temp = (uint32)GTM_CTRL.B.RF_PROT;
once I do a "step" with the debugger on FB88 I get a bus error.
Is this register somehow protected? Where I can get more detail about the cause of the bus error?
Thanks in advance
my stm32mp1 processor is connected with the USI module WM-BN-BM-26A that contains Cypress CYW43438 chipset via SDIO. I'm using driver brcmfmac and i'm able to connect to the wifi and access the net.
I'd like to send software commands to the wifi module via the wl tool.
I'm not able to find the right binary for my architecture (armhf), can you provide it?
It would be best if libraries were statically linked.