PSoC™ 5, 3 & 1 Forum Discussions
Greetings,
Have here an old design, so the external hardware is fixed. I would need to do analog conversion of both Port0_1 and Port0_4. Unfortunately those ports sit behind different AMUX4s. Is it possible to control the AnalogColumnInputSelect_1 mux with software?
Show LessHello to the community,
I'm currently considering using an unit from the PSOC5LP 5800 family as an analog front end (AFE) for my design. As only a limited amount of computation is to be done on the PSOC unit I need a fast enough interface to transfer the sampled signal data off-chip. For the most part the problem I am encountering is that I need to use the SAR-ADC with a 12 bit word at 1MSPS which results in 12Mbps data generation. I would like to transfer this by configuring the PSOC5LP as an 4-wire SPI slave, however all the data sheets I could find about the SPI module on the PSOC5LP state that the maximum transfer rate cannont exceed 5Mbps. In constrast to this, the configuration menu window for the SPI slave module in the PSOC Creator software allows for bit rates of up to 33 Mbps to be set. So my questions are:
What is a reallistic transfer rate that can be achieved with the PSOC5LP 5800 family configured as a spi slave using the spi slave blocks in PSOC Creator?
Is a realization of a SPI slave interface which achieves at least 12Mbps using the UDB-blocks possible?
Can the dedicated USB block somehow be configured as a SPI slave block?
Show LessHello,
I just downloaded Psoc creator in order to programm my cy8ckit-059 but when I want to create a new project I can not find the device.
I tried to download the kit set up file here : https://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and
Unfortunately the device is still missing.
May I have your help ?
Thank you
Show LessHi,
I am using MBR3 Cap-sense with Host Interrupt Feature, To Get Button and Proximity Alert Interrupt.
currently i have CY8CMBR3110 ic , with button interface , but proxy is currently not implemented on hardware.
i have query in proxy sensing,
if Proximity is sensed, should i get host interrupt or not? i am confused on that.
Can anyone help me to clear out the doubt.
Thanks,
Show LessHello everyone.
I'm just starting with PSoC devices, and was reading the datasheet for the timer component in PSoC Creator. Component Debug Window section states about timer registers which are described in the device trm. So I read the Timer, Counter, PWM section of the PSoC5LP TRM, and found that the fixed function timer has many modes available, such as: pulse width, period or stop on interrupt modes in gated timer mode and a few more. For example period mode means that the timer starts and stops on the rising edge on the enable input. But I can't see this mode in the timer component inside PSoC creator. The trm states that to enable period mode, two bits of TMRx_CFG2[1:0] should be set to 10. But PSoC5LP Registers TRM states that these two bits are reserved. My questions are:
1. Does any component in PSoC Creator use this and the other mentioned modes?
2. Are they available at all? Can I program the timer to use them?
3. Why the timer component datasheet says that the fixed function implementation has two-cycle lag with respect to the enable input, whereas the PSoC5LP TRM states that the timer has only 1-cycle lag?
Tomasz
Show LessI have a PSoc3 board from an original developer kit 1. I have a questions on Sleep Mode.
- How to pin components behave during sleep ?
- DO control register outputs become unstable (hi impedance) in sleep ?
The problem here is that we have Sleep mode set up for 2 seconds. On a scope, it only seems to last for 1.2 seconds.
Is there a problem with the older devices ? This one is a CY8C346AXE-176. Is the CTW behavior different?
Tnx in advanc.
Jim Bernitt, President
James J. Bernitt , P.E., P.C.
Show LessGood Evening:
I have been using the PWM component with the PSOC 5LP prototyping kit. I put in the period and then based on the number of cycles at 64Mhz, I put in the duty cycle. My system is running at 64Mhz with an XTAL crystal. After adjusting the period to compensate for GPIO toggles and overhead processing I remove the development kit from the USB and attach it to my breadboard.
I have not been able to determine why the duty cycle, which appeared good on the PC, is off by usually 4 microseconds. At 64Mhz that is a lot of cycles that have either been added or subtracted from the PWM component. The period stays constant by the Duty changes considerably.
Does anyone know how to correct this issue.
Please and thanks,
Ken.
Show LessHi,
I made a custom component with simple Verilog code. Typically, a clock can be provided to the component externally, but I want to add internal BUS_CLK wire by instantiating a Clock module inside the Verilog code, but I can't find proper way to do this. For example, this code might work if proper object ID for clock is obtainable elsewhere (e.g. "66f6530c-badf-4eb8-b791-64ae7ecd409d").
wire bus_clock_out;
//instantiate BUS_CLK
cy_clock_v1_0 #(
.id("66f6530c-badf-4eb8-b791-64ae7ecd409d"),
.source_clock_id(""),
.divisor(0),
.period("0"),
.is_direct(1),
.is_digital(1))
Clock_ABC
(.clock_out(bus_clock_out));
Q: is there a regular way to instantiate a clock in Verilog?
sincerely,
/odissey1
Show LessHi,
I2C Full Keyboard Sample (CardKb)
I want to use the project of Moto with character LCD.
I want to use character LCD.
I want to write the letters I write side by side and create a word.
I changed the function as follows. On the LCD screen, 1 letter is written and the other letter is pressed. I want to write a word.
void printc(char c)
{
UART_PutChar(c) ;
sprintf(yaz, "%c",c);
lcd_Position(1u,0u);
lcd_PrintString(yaz);
}
best regards
Show Less