PSoC™ 4 Forum Discussions
I want to align two clocks running at 100KHz and 1MHz.
1. I declared a Design wide cock running at 1MHz
2. Then dragged and dropped two clock components in the top design.
3. Configured the source of one clock from "EXISTING" 1MHz design wide clock and for the other I used a new divider but the same design wide clock running at 1MHz.
The clock configured from "existing" design wide clock simply does not work.
Please help
Show LessThe AN56551 is very close to our application. But this application is no more on Cypress web site and it was designed around a PSOC3 (CY8C3866AXI-040).
The idea is to buy a PSOC4 dev kit and migrate the AN56551 to it. Is it just replacing the Psoc type in Psoc Creator or does it imply changing the C code that could be specific to the PSOC3 architecture (8051 and Cortex M0 are very different)?
I am new to the Psoc3 and Psoc4.
Show LessHi,
I am playing with PSoC 4 Pioneer KIT, however always hard to program, hard to find any target in PSoC creator; although there is KitProg USB-UART in device manager.
BTW, it is such a long time to program, too slower than Arduino.
Just to ask, is that only me have this problem? Or PSoC 4 programming can only work so slow like this?
Thanks
Show LessAs I build up my project I see that I have a few unused pins until I enable their specific components.
For example I have a line that may be used as an interrupting digital input from an I2C slave. I have actually physically connected the Int line from the I2C slave to port p[3]5 but I have not addressed it in my TopDesign yet. Until I decide if I want to used that interrupt from the I2C slave, how should I assign that pin in my TopDesign?
Also, I have a 4 button Capsense slider that I have created on my board and have installed a Cmod capacitor on pin p[4]0 and the slider pads on p[4]1, p[5]0, p[0]5 and p[4]4. I do not have a CapSense component yet on my TopDesign. Until I get around to testing this slider, what should I put on the TopDesign for this pins?
I have tried various combinations of high impedance analog and digital inputs with and without HW connections but find this a rather random procedure since some of those pins are not able to be high impedance digital pins with HW connection which is what my best guess was as to how they should be set in code until I use them.
Thanks,
Dale
Show LessHello,
I m using a PSoC 7124 BTLE and I cac´t add a single opamp. This error appears:
Unable to place component "\Opamp_1:cy_psoc4_abuf\". Either the design is bigger than this chip can handle, or the design is over-constrained and there are not enough resources to satisfy the constraints.
I am using few thing of the PSoc, and in the and in the project datasheet is saying that I can use 2 OpAmps.
Any idea,
Thanks in advance,
Aitor
Show LessIs there a way to know how many clock (HFCLK) cycles do the TCPWM API (for that matter any API) functions take to execute.
Take for example: TCPWM_WritePeriod(); How may colck cycles will it take to execute?
Also is there a way to directly write into registers using assembly command? How to nsert assembly commands into a C program?
Thanks
Show LessHello!
I want to update the counter register to a new value each time a TC event occurs.
1. What integer parameter does the PWM_SetInterruptMode() function take for enabling the terminal count mask?
2. How to declare the interrupt function that will be automatically called when TC occurs?
3. How to set priority level for this interrupt and how many priority levels are available?
4. Does this interrupt have to be manually cleared. If yes then how?
Thank you!
Show LessForget marketing. Is UART supported on this ?
When interrupt is set internal RX interrupts don't trigger, except UART_INTR_RX_OVERFLOW
When switched to external neither of interrupts trigger.
My code:
EXT_UART_Interrupt_StartEx(myinterrupt_func);
UART_Start();
UART_SetRxInterruptMode(UART_INTR_RX_NOT_EMPTY|UART_INTR_RX_OVERFLOW);
UART_SetTxInterruptMode(UART_INTR_TX_NOT_FULL|UART_INTR_TX_UART_DONE);
Hello All,
I am new to PSOC so please bear with me if this question seems very simple 🙂 I am looking for measuring a signal and battery voltage (for battery monitoring) at the same time. For battery monitoring the reference voltage is fixed but for the signal I should be able to change the reference voltage at run time. Is that possible? Also, for the signal voltage I need to use a comparator so that minimum code is written and all is done by hardware is meausre number of pulses. I found one example that for that as attached but note sure how -ve of LPComp_1 is driven here by SAR. Could anybody please help?
Thank a lot,
-Gitesh
Show Less