PSoC™ 5, 3 & 1 Forum Discussions
Hi
Since a couple of years I use the bootloader setup as shown in attachment bl.png. Bootloading is started with a special command from the application
Now I want to split up my project in 2 configurations [A,B] both having its own .CySch.
On powerup, A or B must be started depening on the state of a hardware input pin.
It is too complex to keep a single .CySch because there are many connection differences between A and B.
The programmer pins are not that easily accessable thats why I always use the bootloader via I2C to upgrade the product to the newest version.
Normally I think it would be best to setup the bootloader as dual-application but then I have to acces the programmer pins.
Is there another 'easy' option to generate 2 configurations (applications) using a single-application bootloader or am I overlooking something ?
Thanks Patrick
Show LessProject description:
1.CY8CKIT-059 is Master and ESP8266 mini d1 is Slave.
2.Master communicate with Slave via SPI per 2 seconds and each time the value increases 1.
Question:
I don't know why my slave device always receive "Master : 0".The value doesn't increase in each time.
But when I apply esp8266 as Master instead of CY8CKIT-059 which means both Master and Slave are esp8266,the slave device will receive data and the value will increase in each time.
Show Less
i have one question about CY8CMBR3106S, we have used one I2C bus to control Capsense chipset, LED driver, NFC chipset, Motor driver(total 4chipsets). how can we set it, avoid interference?
Show LessHi there
Is been a while I not been using DMA with PsoC Creator 4.4 .
I do not know what I am missing but when I am building the project that include DMA component
the files Cydmac.c does not apear in the explorer .
There are only two files included in the building , those corresponding to the DMA component instance, DMA_1 dma.c and DMA_1 dma.h .
Any suggestion ?
Thanks.
Show Less
No device detects my PSoC 5 for programming. I have only been using my PSoC for a short time and have not made any connection, sudden movement or related situation that makes my PsOC not work.
I rely on information from many forums with a similar problem, but there is no solution.
Including the STATUS LED (Green LED) when connecting the PSoC5 so the system can read it, begins to blink much more than usual or directly to blink in a way that is different from those of solid green or a green clinking but the way I know works.
Thank you very much for your time and attention. Good evening.
Hell Aubert.
Show LessHi Support Team
I would like to select a USB device IC to store or read data to or from the Nand Flash or the TF Card. Could you please recommend us a part number. Many thanks.
Show LessHi, I need to make a custom delay without blocking interruptions (cuz CyDelayCycles function is blocking interruptions)
I know that this delay function will be quite inacurate due to other interuptions occurence. But I still need to implement it.
So I tried to make it via SysTick based timer but it also blocks other interruptions. One more detail I cannot use TopDesign for this purpose. I thought about program counter based timer, however I cannot read PC when PSoC is not halted. I had found old question on this forum about reading PC and saw some assembler code snipped but it did not work to me either (I tried to implement it correctly, cuz there was quite incorrect variant). Overall, How I can do it maybe someone know how to read PC properly or any other ideas?
Link to discussion that I have mentioned above: https://community.infineon.com/t5/PSoC-5-3-1/Reading-the-program-counter-value/td-p/180758
I want to potentially hire someone to help with my project wich is a spectrum analiser made from a matrix of 480 led to display audio frequencies from 32Hz to 16kHz evenly displayed over 16bands/columns/channels that go up to 30 LED high, the bands should have a quite small bandwitch so the display is crisp and after the bars should drop much slower like this shown!
https://www.youtube.com/watch?v=9SK2AxfELfw
the matrix will look like this
I am willing to learn myself but just seeing if there is a shorcut! any one out the up for the challenge?
This is the chip I'm thinking of!!
Show LessTrying to get i2c master working on S6E1C3. I'm looking at the example code from "i2c_master_polling". I notice that it does not show an example of a Repeated Start condition. Is the S6E1C3 capable of producing a Repeated Start Condition? If yes, can you provide some guidance on how to accomplish this.
Show LessI'm having a problem using FIFOs in external access mode (where they can both be read and written by the CPU and DMA) and using 16 bit working register concatenation mode. I can instantiate a component that uses FIFOs f0 and f1 of a datapath, fill both FIFOs using 8 or 16 bit accesses just fine, but when I attempt to read the FIFOs using 16 bit accesses, I get strange results where I keep seeing a single value repeated 4 times.
I've created a github repository with a sample project here: https://github.com/nlshipp/PSoc5_FifoTest
Note that I'm not using the bus or block status bits in this example as I'm only adding or removing 4 elements to the FIFO at any time.
The sample clears the FIFOs, fills the two FIFOs of a datapath with four sets of values using either 8 or 16 bit accesses. It then reads the values out using 8 or 16 bit accesses, fills them again using a different set of values and reads them again. Each run uses a different combination of 8 or 16 bit accesses. Here's the output:
** First run using 8 bit accesses and produces correct output
Filling FIFOs
Printing FIFOs
F0=00 F1=10
F0=01 F1=11
F0=02 F1=12
F0=03 F1=13
Filling FIFOs
Printing FIFOs
F0=20 F1=30
F0=21 F1=31
F0=22 F1=32
F0=23 F1=33
Clearing FIFOs
** 2nd run: Output is correct
Filling fifos using 16 bit word
Filling FIFOs
Printing FIFOs
F0=00 F1=10
F0=01 F1=11
F0=02 F1=12
F0=03 F1=13
Filling FIFOs
Printing FIFOs
F0=20 F1=30
F0=21 F1=31
F0=22 F1=32
F0=23 F1=33
Clearing FIFOs
** Third run produces bad output:
Read fifos using 16 bit word
Filling FIFOs
Printing FIFOs
F0=00 F1=10
F0=01 F1=10
F0=02 F1=10
F0=03 F1=10
Filling FIFOs
Printing FIFOs
F0=20 F1=33
F0=21 F1=33
F0=22 F1=33
F0=23 F1=33
Clearing FIFOs
** Fourth run produces bad output:
Filling fifos using 16 bit word
Read fifos using 16 bit word
Filling FIFOs
Printing FIFOs
F0=00 F1=10
F0=01 F1=10
F0=02 F1=10
F0=03 F1=10
Filling FIFOs
Printing FIFOs
F0=20 F1=33
F0=21 F1=33
F0=22 F1=33
F0=23 F1=33
** 5th run uses 8 bit accesses again and produces the correct output.
Clearing FIFOs
Filling FIFOs
Printing FIFOs
F0=00 F1=10
F0=01 F1=11
F0=02 F1=12
F0=03 F1=13
Filling FIFOs
Printing FIFOs
F0=20 F1=30
F0=21 F1=31
F0=22 F1=32
F0=23 F1=33