PSoC™ 5, 3 & 1 Forum Discussions
When using PSoC5 verilog component, I can access 8 bit register's data by using below command.
[C code]
CY_SET_REG8( ComponentName_dataReg0__CONTROL_REG, 0xXX );
[Verilog code]
wire [7:0] data0;
cy_psoc3_control #(.cy_init_value (8'h00), .cy_force_order(`TRUE)) dataReg0(.control(data0));
=====
And my question is... "is it possible to get 24/32 bit register's data using CY_SET_REG24/32"???
I think command "cy_psoc3_control" can only apply 8 bit data length.
So could you tell us how to get 32 bit length register's data using verilog code.
[C code]
CY_SET_REG32( ComponentName_dataReg0__CONTROL_REG, 0xXXXX );
[Verilog code]
wire [31:0] data0;
cy_psoc5_control??????
Thank you in advance.
Show LessHello,
I have observed when programing CY8C5267AXI-LP051 via MiniProg3 that when I mount the microcontrolers with recommended capacitors in VDDD,VCCD,VCCA and VDDD increase current that cosume after that few minutes in use and finally Miniprog3 identify CY8C5267AXI-LP051 like ARM-Debug.
I follow the rules about kit CY8CKIT-001B exactly the CY8C58LP module for the capacitors connection of VDDD,VDDA,VCCD and VCCA. But the problem persist. When current arrive to 14mA microcontroller makes a reset so finally i cant program the CY8C5267AXI-LP051 but after pass several days, if I can program CY8C5267AXI-LP051, is it probably capacitor problem?
I attach my scheme:
Thank you
Show LessI have programmed the PSoC 5LP with PSoC Creator for a long time. I have not missed anything. It all works fine. Now, I got hold of a few CY8CKIT-059 prototyping kits. It advertises it supports KitProg. To me it appears it fulfills no purpose. I use PSoC creator to Develop, compile, download, debug code. What does KitProg add to the table?
Is this something I need for some reason I can not see?
Show Lesshello sir,
i am working with capsense CY3820-MBR3 board , here i am using the arduino board with capsense board, i have the run the capsense board with my arduino board. i have configure the capsense board through my arduino board. and it is working.
but the same Board we have designed for our application.and we have configured our board with arduino. but it is not working.
so i want test it with MBR3 kit. and disconnecting it's on board capsense connection.and instead of it i will connect my Capsense PCB with PSOC controller. by connecting it's SDA and SCL pins.
i want ensure that what are the connection required to connect another capsense PCB board with PSOC programmer to test that , our PCB is working or not.
please tell me the connection required to connect the capsense PCB with our PSOC board.
Thank You
Show LessGood morning,
I'm using Uart but I have some problems because I can't copy the characters i saved in a software buffer in a string and then send it back.
If i send back the RxBuffer using UART_PutString(),it works!
I Checked the examples on this forum but I would to realize something extremely simple to understand how Uart component works.
Where I'm getting wrong?
Show LessHello everyone, I hope you are OK. I have found out on the forums around here that the best way to send data from Filter to UART is by interrupt request. I have developed so on my project, but for some unknown reason my project doesn't work. Can someone give me a hand? Thanks before hand.
Show LessIn attached project, there are ADC and UART component. To test it, I used the potentiometer and then I plotted its values in MATLAB in real-time. The project works fine. Now I want to add Filter component (1 channel, LPF) between ADC and UART, because I'll bring AC signal to the input of the ADC. I know that ADC can send data to Filter using DMA (there are example projects about that). The problem is that I don't know how to trasfer data from Filter to UART? And is it still posible to plot the signal in real time?
Thank you in advance.
Show LessI've been all over the Sleep Mode app note and tried everything there and then some -
AN47310 - PSoC® 1 Power Savings Using Sleep Mode
but I am unable to get a GPIO pin to interrupt the part out of regular sleep, much less deep sleep. The one example sleep project I found is way too simple and does not cover deep sleep or waking with GPIO. It also seems like the part is freezing up whenever the button (taking the GPIO pin low) to interrupt the part is pressed, whether in sleep or not.
Questions:
- What drive mode to use for the GPIO pin? One source said only Analog-HiZ input mode can interrupt, but I only had success with Open-Drain-Low, and only when not in sleep.
- How to properly use the sleep counter? I don't really need it but it seems to be necessary to get the part back out of sleep b/c the GPIO won't do it.
- The example had sleep prep set all port drive modes to Analog-HiZ prior to sleep, but when I tried that, the current went up, as though the act of setting and restoring the drives was costing more energy than saved by sleep, implying that something (like the sleep timer) is pulling the part awake far more often than expected.
- What registers and pins does one use to set/clear for Deep Sleep? I am not using USB or I2C or any analog blocks. If I set LSO_OFF in Sleep_CFG2 and SLEEP in CPU_SCR0 (with the M8C_Sleep macro), the part shuts down and cannot be awaken except by Reset or Power Down.
- Under 11.1.1, the TRM talks about the X32ON and ECO_EX bits in a way that makes no sense to me (I am only using internal oscillators):
... One point to note here is to not set the X32ON bit to '1' without setting the ECO_EX (ECO exists) bit in the
ECO_CFG (1,E1h) register to a '1'. If you do so, the deep sleep mode is not entered, but clk32K is also not running. This
implies that the sleep timer interrupt or the programmable timer interrupt cannot occur.
I am offering a reduced version of my project to illustrate the problems.
Thanks much for any help offered.
Steve
Show Less