PSoC™ 4 Forum Discussions
I complained to Cypress about the high shipping price for CY8CKIT-049-4xxx and they reduced it to 15$
So not only these boards are now available, but shipping is much more ressonable as well.
Go buy some, I'll get 5 myself 🙂
Show LessHi All,
Please let me know how to locate and edit the boot.tpl/boot.asm file for PSoC 4.
I am a novice in this field, so thanks for your help!!
BR,
ksnf3000
Show LessOkay so I have an extremely simple program, all it does it shoot an array of chars out of the UART. Before it starts communicating it sends a digital line high, then once it's done it makes it low again.
The project is attached but here it is for anyone who wants a quick scan.
It is straight forwards enough, as far as I can tell, there is no way that the line can go to zero until the UART has finished sending every one of its bytes. However the reality is much different.
If you look the green channel is the UART TX line and the yellow line is the lineDriver. If you notice the line goes high just before transmitting as you could expect, however it then goes immediately low before all the chars have finished sending.
I think that the UART is operating asynchronously from the C code, it is just taking the inputs from the for loop and then sending them at a later timer. Does anyone know how to force it to run synchronously? maybe there is a status bit I can check for?
I have got problems when I tried to use the outputs of a TCPWM configured as Timer. Measurements revieled that the pulse at the ov-output is just ~45ns wide which is far too small to use it as a trigger for a PWM (UDB-version). It seems that the module internally uses the HFCLK to generate its outputs.
Is there a trick to lengthen the pulse width without using more internal resources?
Project attached
Bob
Show LessHi, I am new to this development kit and I just want to start a simple project.
However I have some questions.
I just want to make a simple try with digital input and digitat output.
In the .cysch file I named 2 switches as input (Pin1,Pin2 ) and 4 LEDs as output (Po1, Po2, Po3, Po4)
I want to program that if different pattern of 2 switches are pressed, different pattern of LEDs light on.
I have set the input pins to P1[4]/P1[5], and output pins to P1[0]/P1[1]/P1[2]/P1[3] in the .cydwr file
However I don't know how to start on the .c file. I know I need to type in my "if" case but
how should I define the pins?
e.g. If p1[4] is off and p1[5] is on, P1[0]/P1[1]P1[2]/P1[3] should be off/off/off/on
Show LessIs there a straight-forward way to power the Pioneer from a 3.6V power supply? I have tried multiple methods of doing so without much success... Applying 3.6V to Vin seems to do nothing. Applying it through the USB port does not provide enough power and so one of the lights dimly lights up, but doesn't do much else. It seems applying 3.3V-3.4V through the 3.3V EXT works, but the onboard protection circuitry shuts off the board when I get to about 3.47V (tested using a bench power supply).
Is there a straight-forward method of powering this board with 3.6V without needing to result to external regulation circuitry?
Show LessDear fellow developers!
The concept of the Psoc programming is rather new for me. For an introductory course on microcontrollers (@EE BSc) i had the chance to work with the pioneer kit vs 8bit AVR.
Well, what I need is a sample project, where i control a led on on the board, with the user button (NO PWM!).
If any of you could provide this .cydsn file, I'd very much appreciate your kindness!
Yours gergo
Show LessTrying to build progamming circuit that will work with MiniProg3 and 10 pin mini header (FTSH-105-01--l-DV-K). But the circuit has pins connected to the Psoc5(which I will not have) and ZERO ohm resistors that are confusing me. What is there purpose do i need them?
Show LessI was going throught the Datasheet of PSoC 4 Timer Counter Pulse Width Modulator (TCPWM), (Read Here). On page 32 a nice diagram is given to explain the working of the capture function in TCPWM, I'm sorry I couldn't post the picture here directly because I didn't read all the terms and conditions invloved in downloading the software, and registering for a cypress account!
It talks about a useful register called capture_b, is there any API call or any other way I can access this register. It'll make many functions very easy, like measuring width of a pulse. Instead of using two variables to store the two capture values, I can instead refer to capture and capture_b.
Show Less