PSoC™ 4 Forum Discussions
Hi everyone, I have done a project with PSoC 4200 and sensor DHT22. The problem is that when I show the temperature o humidity data on a screen, two values for each one are shown to me (the real value and 9), both with temperature and humidity happen the same thing. I attached pictures.
Can anybody help me?
Show LessHello,
We know that PSoC4100S plus has 8 PWMs. we require them that set to swap compare buffers at TC in CY8C4146AZI-S443.
Please see the below schematics.
Unfortunately, we have an error like below.
E1217: Failed to route all nets; unable to resove overuse
Are we limited by setting up to compare buffer swapping of 7PWMs ?
Best regards,
Yocchi
Show LessHello Cypress.
Could you please let us know VDDA absolute maximum rating of PSoC4S?
DS describes only VDDD absolute maximum rating(VDDD_ABS).
Best Regards.
Yutaka Matsubara
Show LessI have 2 things I'd greatly appreciate some direction on, however first let me state what hardware I'm working with, and my goals.
Hardware I currently have: Cy8CKit-042-BLE-A (*plus a ton of other Arduino boards);
The goal is to create is a, "gamepad" (*i.e. dual axis joystick w/ buttons) that is actually an Hid Keyboard over Ble; So push one of the buttons results in some specific key (*i.e. "r"), and moving the joystick on axis x, and / or y, passed the defined dead zone, results in a continuous keypress transmission such as, "w", and, "d", until returning to said dead zone again.
1. What I could use assistance with, the real challenge for me, and probably only reason I came across Cypress Semiconductor is configuring this over BLE; I've already accomplished this on Arduino boards over serial. I've spent several years now in my spare time attempting to find examples of board specific code for such a thing w/ out success.
Note: I had some success, however never was able to get any boards I've used coded properly to read analog input, and send a character based on the input state over BLE. I have learned a lot over the last few years about different hardware, coding, etc, however still feel like I'm drowning.
Perhaps some guidance on configuring 1 button w/ the Cy8CKit-042-BLE-A to send a character over BLE to Windows. Then I can move on to analog, and what I ultimately understand as the board reads the analog signal, and then converts it to a digital input (i.e. ASCII character), and transmits it over BLE to either a BLE dongle, or BLE receiver that's built into the PC... which leads me to my 2nd request for guidance:
2. I want premium hardware, speeds, latency, and interface. (i.e. Logitech, and the like level of wireless performance)
Over the past year or so I've been playing a fair amount of the Nintendo Switch, and also using their official, "Pro Controller". I mention this because I have become some impressed by the speed, and ease of connecting their pro controller (*wireless, ble... from the Switch being in, "Sleep mode", and the controller being turned off). I timed it by eye yesterday, and within 3 seconds the controller was connected, and communicating. THAT... is what I want. I want wireless to feel like wired, or reasonably close (*doesn't have to be Logitech's so called, "1ms" wireless... but I want to get as close as I can get. For reference, I view the Switch Pro controller as perfect, and I imagine it has some mild latency, but perhaps less than 10ms, over Ble.
I ordered the Cypress Kit prior to investigating, but I did some research on what the Switch Pro controller uses for hardware, and it led me back to Cypress. The Ble chip was a Cy2...something according to one user who had torn his down. I have the information on my phone, and will update later, however thought if the Cy8Ckit is not up to the task of performing at the same level, then please guide me to the best ble chip, microprocessor, etc I need in order to replicate a similar level of performance.
Note: And just in case if you were curious… I am NOT attempting to design a Switch Pro controller of my own. Rather, a native windows ble hid keyboard (*and usb) in the form of a gamepad.
3.. Last thing... from what I gather, it appears having a peer to peer wireless connection is superior to connecting to a ble receiver connected to a PC motherboard that likely has other devices connected as well. Therefore, my goal is to be able to do both, w/ the idea that using a usb dongle for peer to peer wireless is superior. (*That's true for Logitech devices in my experience. The unifying dongle connection on my MX Anywhere 2 mouse is superior to straight Bluetooth, and I have fairly new, and high end pc hardware. However, ultimately for users I want it to literally be as easy to connect the device on a PC as any of Logitech's devices, or as fast, and easy as the Pro Controller is on the Switch. I'm not curious if this is because of the configuration of the receiver in the Nintendo Switch?
Thank you for your time,
Andrew
Show LessI want to detect 3.5mm jack for serial communication as below.
T (tip) and R (ring) are used for UART. R is the reference voltage for UART, which is connected to Vdd. T is data line.
Also Pin_UART is connected to Ring switch to detect the jack insertion. My idea is the pin becomes HIGH when jack is not but LOW with the jack.
As I implement this function in CYBLE 022001-00, the idea is not working. The pin shows always HIGH.
I am wondering my pin configuration is right for this case.
I attached simple code as a model. Please advice. thanks.
Show Less
The component datasheet states that an error will occur "...if execution of the function is interrupted for a time longer than the restart condition, between setting the restart generation command and writing the address byte into the TX FIFO." Can anyone elaborate on the details?
The datasheet also states that the workaround is to "Call the SCB_I2CMasterWriteBuf() function inside the critical section so it will not be interrupted when you need to execute a write transaction with a restart condition." What is a "critical section"? Can anyone elaborate on the details? I need to be confident that I can avoid this problem.
Show LessHi.
I use PSoC 4100S Plus (CY8C4147AZI-S455).
I understand that the clock accuracy of IMO is ± 2%, which is a data sheet.
However, IMO clock accuracy must be ± 1% under the following conditions.
- Temperature range :-10℃~70℃
- Voltage :5V±0.25V
Is there a way to guarantee IMO clock accuracy ± 1%?
Could you help me to realization even a little.
Show Less