PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
Using CY8C4247BZI-L479, I assume it's possible
I'm planning to use 56 gpio inputs from various buttons & external signals.
Requirements:
- any gpio must be able to wake from "deep sleep" (preferably hibernate and stop-mode as well)
- gpio's should be completely interrupt-driven in run-time (as well as the requirement from sleep above)
I need some input on best practice and if someone knows how the "Interrupt Source Multiplexer" works behind the scenes, in sleep and if it draws any extra/considerable amount of power.
best david
Show LessThe Thermistor object shows an upper resistor connected to Vdd (also called Vhi). The thermistor is connected in series to Ground (also called Vlow). VT is the voltage between the upper resistor and thermistor. In the Thermistor datasheet (and associated sample temperature projects) Vhi & Vlow look like physical pins connected to the ADC. Does the Thermistor API really need the ADC to measure Vhi & Vlow? I was planning to use Vdd as the ADC voltage reference and let Vlow be defined as zero V. Thanks for your guidance.
Show LessI'm currently use CYBLE-012011. For my application, the CYBLE will be in deep sleep most of the time. When the MCU is up (once every minute), it performs some calculation and then go back to deep sleep again. I want to reduce the power consumption as much as possible since it will be run from a coin-cell battery. If I remember correctly, running the MCU at 3MHz consumes about 1.3mA and at 12MHz consumes about 4mA. My CYBLE module is currently running at 12MHz. If I change the system clock to 3MHz, is it going to reduce the power consumption? From my understanding, reducing the clock speed from 12MHz to 3MHz will cause the MCU to be active 4 times longer. It sounds like it is actually consume more power on average if I reduce the clock speed to 3MHz. My program is already based on the document "Designing for Low Power and Estimating Battery Life for BLE Applications" but I want to further reduce the power consumption for longer battery life.
Show LessI am using a PROC BLE Module with Psoc Creator 3.3 SP1
I wan't to modify the gnu linker script or use an alternate one. (Change Start Address and rom size)
how should I do this, at the moment this is a generated file.
greetings
Leopold Faschalek
Show LessHI!
I'm working on a project that stores data from an IMU (MPU-9150) on a SD card. I'm using a PSoC 4 (CY8CKIT-049-4xxx). The connection between the IMU and PSoC is I2C and SPI between SD card and PSoC. To store data I have used the SDCard example as template:
https://www.element14.com/community/thread/25517/l/psoc-4-pioneer-kit-community-project050-sd-card-example?displayFullThread=true
My issue is that I am looking to store data at atleast 1KHz and at the moment it is logging at something closer to 40Hz!
I have a feeling that the filepointer process is taking too many resources..
I kindly ask for some feedback.
Show LessHi everyone,
can anyone tell me which API functions to use in order to get the signal values of the elements of a slider as displayed in the TUNER GUI?
I have scanned through the API, but all I can do is read whether the widget is active or not?
But how can I extract the signal (not the position or centroid?) without changing the configuration or updating the baselines?
Regards Julian
Show Less
We are using a PSOC 4 CY8C42478ZI-MF485 and we need to generate an analog output voltage from 0 to 5 volts to control a motor controller. We are using the IDAC with a range of 0-612uA and externally we have a 10k resistor to have the voltage. However, the maximum voltage output we got was 4.3 volts. Thank you
Hi,
The SCB based SPI limits the data rate to 8Mbps. I would like the go as high as 24Mbps. Is it possible to do with PSoC4 devices? The HFCLK is 48 Mhz.
regards
Show LessHow can I download PSoC 4 BLE Kit Package?
I have already purchased and received the hardware.
I have already installed Creator 3.2.
The start page says "No Kit Packages Installed"
Kits
This link provides a hierarchical list of the installed kits, along with their associated sample projects. You can obtain kits from the Cypress web site.
The top level shows the name of the kits. Click on one of them to view the documentation for that kit.
Under each kit, you will see sample projects. Click on one of them to create a copy of the example and open it in PSoC Creator. You will be asked where to save the project.
Note If you install any kits while PSoC Creator is running, click the Refresh icon to view those kits. The list will expand to show you what kits are installed.
The link above leads nowhere useful to for kit download!
Why is this so difficult?
Show LessQ1: I have problem when I am writing a UART Tx and Rx program for the PRoC 4 (CYBL10573) device. I found that all the example project used a function "UART_UartGetChar" in the generated driver to receive a byte from the UART. However this function will ignore number 0 in the receiver part. I think it assumes it is receiving ASCII string. However in my case I am receiving decimal value so I need to receive 0.
How can I check if any data is received instead of using the "UART_UartGetChar" function?
Q2: In the examples, they are not using receive interrupt. I tried to enable the "RX FIFO not empty" internal interrupt, and trace the stack, I found that it will call "UART_SPI_UART_ISR" and then wait forever here. How can I use the interrupt?
Q3: The generated code is so complicated that it is very difficult to follow by the code. And most of the time the example project is too simple. Actually I have encountered other problem before and I want to do some study before asking question here or finding the support engineer. Is there any documents that describe how to use the generated driver code? Or a user manual for the device?
Thank you.
Show Less