PSoC™ 5, 3 & 1 Forum Discussions
I run across this problem on some of my PSOC 4 and PSOC 5 designs. Usually I slightly change the processor clock speed and problem goes away.
I am currently trying to setup a clock for 2 ( 32 bit counters ) and a status register. The value of the timer would be on the order of 1 khz. I get a setup warning on the clock. Not sure what the warning is about and not sure how to systematically solve or handle this warning.
Show Less...seriously. I plan to be in Stuttgart this December 2017. I just saw Bob's profile in FRG. So I wonder how far from Stuttgart. I'd like to thank Bob for much help in the past. (No, I can't find a contact link under his profile.)
Meanwhile, Bob or others, do you have any suggestions for:
http://www.cypress.com/forum/psoc-5-architecture/how-dma-synchronous-output-pin
Show LessI have a board with a PSOC5 CY8C5268AXI chip that I am trying to communicate with using a miniprog3, I am using external power, SWD communication via the 5-pin connector. I can get it to recognize the chip and connect but then it looses connection and cant find it again without repowering the miniprog3.
See video of issue here: https://www.youtube.com/watch?v=5I-JARF-0Hs
I am new to the Cypress PSOC so I don't know what is normal to compare the behavior to.
Show LessHey there,
I am currently playing around with the PSoC5 to create a true random number TRNG generator (not pseudo random, PRS).
I found some snippets on stackoverflow:
http://stackoverflow.com/questions/14497877/how-to-implement-a-pseudo-hardware-random-number-generator
But I failed to implement them, as PSoC creator keeps on optimizing the circular structures and the "keep" attribute seems not to help.
So... how can I force PSoC Creator to prevent optimization or you have some idea on how to generate true random numbers on the PSoC5 (no external pins shall be used to capture noise or similar).
Regards
Thomas
Show LessHello All!
A "test" program that I'm doing: using a clock-->PWM-->ADC, I'm changing the sample rate of the 12 bit SAR ADC and then reading the results in the debugger (I have a break point in the interrupt - this is triggered when the ADC's eoc signal is high).
I change the clock rate (using 12Hz, 12kHz, and 12MHz), and I apply a constant DC voltage to the ADC pin. I notice that, when I change the clock signal (which ultimately changes the ADC sampling rate), I get VERY different results. I'm not sure why this is, and which clock rate produces the "correct" ADC result?
Example: applying 2.0V at the ADC pin with a 12kHz clock (thus giving me a 10 millisec sampling rate) gives an ADC result of 0x1EE
Changing to a 120Hz clock (sampling rate = 1 second) give an ADC result of 0x5A6
What am I missing here? Shouldn't the ADC results be the same?
Show LessHi everyone
I want to port some working code already programmed in assembler .
This is an exercise with the goal to learn C and to port this to newer chips like PSOC 4
What should be the steps to take in consideration?
Thanks in advance
Luis
Show LessI seem to have a problem with creator trying to switch to a different device selection when it goes to program my project.
"Unable to acquire target device PSoC 5LP CY8C5888AX*-LP096" was received while trying to change the selected target.
I don't know why it wants to put an * at the end. CY8C5888AXI-LP096 is my selected device.
I have no problem building a project and writing the hex file using programmer, just the program button in creator.
Error: dbg.M0023: There was an error while programming the device: Connection with device lost during programming. Verify the device is connected and try again.
My target hardware is a Freesoc2 board. Any suggestion how to fix this?
Show LessHi there, I'm new in this forum and new as a Miniprog3 user.
I just bought this programmer and I want to try it. I got a hex file example from here:
http://www.cypress.com/documentation/code-examples/ce54097-sleep-timer-user-module
and as soon as I try programming my CY7C64215 I receive an error message and the programming stops.
Apparently there is not enough memory on this device for the .hex file to be written, but I downloaded this example cause it was supposed to be suitable for my device.
I need an hex file to write (max 16k flash). Can someone help me? Any hex file suitable would be enough to start. Thank you
hello,
I have a control register (8 bit wide bus) in my schematic, and I want to take that bus and run it to two places. the first destination is just a straight connection bit for bit. for the other destination, I want to send the control register's upper 7 bits to the destinations lower 7 bits (a right shift, effectively) and concatenate a different wire onto the upper input.
something like:
assign destination_reg[7:0] = {single_bit , control_reg[7:1]}
such that if single_bit is 1, and control_reg was 00110101, that destination_reg[7:0] would be 10011010
what is the best way to do this in the schematic editor? I don't know how to manipulate the buses well enough. I could make 7 series-pairs of not gates (effectively a buffer), and assign the inputs to the upper bits of the control_reg bus, then assign the outputs to the lower bits of the destination_reg, but that's really messy.
Show Less