PSoC™ 4 Forum Discussions
I want to use 4 buttons to generate 4 interrupts(4 pins belong to different ports), but it seems that there is a limit on the port. What should I do? thanks in advance.
Show LessWe are prototyping a device compose of the CY8C4247FNI-BL493 chip, two clocks (24MHz and 32KHz), a digital gyro, and antenna chip (Johansson Technology: 2450AT18B100E). We have learned (reading about the module CYBLE-022001-00) that the trace connecting antenna pin (H7) on the CY8C4247FNI-BL493 chip and the chip antenna should have a specific shape (see attached pic), and impedance (50 Ohm) set by a couple of capacitors and inductors. Also, the 24 MHz clock looks key for a correct load capacitance. But before to move deep in the combination of all these small and critical details associated with the antenna, I would like to ask a basic question associated with the impedance between the pin antenna (H7) and ground on the board we are prototyping. Probing our prototype between the points mentioned above, we got a value ~2 Ohm after mount the CY8C4247FNI-BL493 chip. I understand 2 Ohm doesn't mean a short but still, it looks weird or not? On the other hand, when I probed same points in the bare board it looks open so the board itself is not short.
Thanks,
Marcelo.
Hello,
I am trying to increase the resolution of my Capsense Slider PWM project from 0-255 to 0-1024. The Capsense component is working correctly to the new set maximum centroid value(1024), however my PWM output is being truncated at 255. Verfied on an oscilloscope, I cannot get anything more than 25% duty cycle.
I have been messing around with it for hours and feel like I am just missing something silly. Would you be so kind as to look over my project. I have attached the workspace bundle.
Thank you,
Adam
Show LessHi,
i want to use a periodic wakeup from deep sleep mode one times per second.
For testing my hardware i use the PSOC4 S Pioneer Kit with the example project CE210292. (related document CE210192.pdf)
This code example demonstrates how to use Watchdog Timer (WDT) to reset the device and to periodically generate interrupts. It also shows how to use the ILO compensate APIs to improve the WDT interrupt period accuracy.
All seems ok but the accuracy of the 40kHz ILO is not very good.
I measured the signal with an oscilloscope and the result is a periodic WDT-Interrupt with 1040ms.
Is there a way, that i can further improve the accuracy?
Show LessHi,
I find API to set pins mode in run-time,but if sometime I want to change pins type such as from input to output in run-time,is it possible?
Chris
Show LessHi,
i'm using the CY8C4024LQI-S412 controller on a test board. With a simple program (switch a LED on and off in an ISR) i want to test the power consumption of the UC.
In deep sleep mode i measure 240µA! How can i reduce the power consumption further?
attached you can see the code in main routine, schematic and pin-out:
Show LessI'm currently trying to develop a high data rate application using BLE. I had intended to send data over bluetooth at 100 Hz. The amount of data in each packet is about 18 bytes. The throughput should not be an issue. However if I place a requirement that says I must connect 100 times per second to transfer data that means I have a connection event every 10 ms. If the minimum connection interval that means nothing else can be allowed to begin a connection interval. My question is can I write to a few small characteristics as well as this data characteristic and trust the lower layers to push it all through?
Otherwise I can just half the transfer rate and buffer the data, but I'd like to get the data to the central as soon as possible so 100 Hz is preferable.
Show LessI am trying to find out if there is a way to increase the signal strength in a cypress 022001-00 PRoC BLE chip I am needing it to transmit through 8" of water ionized water it doesn't seam to be ably to go through that depth.
Show LessHello,
I'm searching for the pinout from a CYBLE-224110 Module with EZ-Serial Firmware.
I mean the pinout that show's how to connect the Module with an MC when use the EZ-Serial Firmware.
Regards,
Michael
I am trying to write the device name (0x2A00
) of the GAP service (0x1800
) from an iPhone or Android phone. We'd like to be able to set user-defined names for our devices (like Julian's Product
) so that devices can be distinguished already when scanning for them.
Should I set the name by ticking the 'write' checkmark on the device name characteristic and write the name directly over Bluetooth?
I tried to write it through iOS, but the GAP service doesn't show up like the other services. I don't know what lever to pull to make this work.
Should I have a custom profile for sending the device name, and then setting the device name programmatically with the received string?
I read here that I might be able to use CyBle_ChangeAdLocalName
for this purpose. I couldn't find any documentation on this though.