PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
I am testing my code in a CY8C4247LQI-BL483 device (pioneer ble board) but I have in mind to develop a board to the end device.
Now we have a project in which we control 6 pwm outputs with no problem. But now we have been asked to control 18 pwm outputs. I read that it was possible (http://www.cypress.com/blog/psoc-sensei-blog/how-many-pwm-outputs-can-psoc-3-or-5-generate says that 48 can be possible). I tried adding 18 pwm and I received an error. Then, I realize that pwm blocks can be configured with 2 outputs so at least I got 12 outputs right now: 4 pwm and 4 tcpwm.
I can't add more tcpwm blocks. I get: Resource limit: Maximum number of Timer/Counter/PWM exceeded (max=4, needed=10)
I also have an adc with 2 inputs, one button to generate interrupts, ble unit and 3-4 input pins to measure battery level or that kind of stuff. I tried removing adc sar req but I get the same response. What can I do? Is there a bigger psoc proccesor which can handle 18 pwm and all the stuff I get? On the contrary, what could we do to solve this? 2 psoc talking by uart?
I can't upload the project since it is not mine but my company. Sorry for that. But I could upload a couple of images in case you need them to see how we added pwm or something like that.
Show LessI am controlling an LED's brightness using TCPWM line out to drive the cathode with the LEDs anode connected to VCC. I am also running BLE stack.
When the PRoC CYBLE-022001-00 first powers up, the LED is turned on for a while until the PWM is initialized to generate a high output on it's 'line' port... which I connected to an output pin.
How can I set the PWM components 'line' output to be high at initial powerup of the module?
How do I see the ARMs program memory opcode to single step starting from it's reset vector address at powerup?
It seems there is startup code executing which is esoteric and non-alterable to the programmer which makes me question exactly how much control is exposed to the designer in these GUI based IDEs. This lack of startup control anomaly is a classic example.
Show LessI am very new to Microcontroller and especially Cypress programming and have therefore been looking at the code examples. I am currently trying to understand the function of the SW_Tx_UART Component.
First of all I would like to know, how it is possible to change the clock the component is using? And how do I know which it is currently using?
For documentation sake I would now like to calculate the expected baud rate error. The following formula is given in the SW_Tx_UART- Datasheet:
Divider = (int) (CPU_CLK+(BaudRate/2))/BaudRate
%err = (BaudRate - CPU_CLK/ Divider)*100% + CPU_CLK_Accuracy
But which values do I need to enter here? Is the CPU-CLK the same as the SYSCLK? I also don't know in which units the values have to be given since I don't seem to be able to fully understand the relationship between clock frequency and baud rate.
For example if the used clock is runnig at 48000000Hz (48MHz) and a I set a Baudrate of 115200 Bd that would give me a divider of 417.166 (ignoring the units). The result seems a bit high I think...
Any help in understanding the relations of clock and baudrate is much appreciated.
Thanks
Show Lessi have been using psoc-1. there is refhigh and reflow available for RTD excitation.
is that any facility in psoc-4 that fulfith same??
because i want two save my both IDAC in some other purpose.
Show LessHi all,
Does the PSoC4 BLE 4.2 support DMA in I2C transactions?
From what I can see it supports DMA for other peripherals but not for the I2C component.
Thank you in advance.
Yiannis
Show LessI'm writing software to create a programmer for this IC.
I'm using the PSoC 4 TRM as a reference, which instructs me to reference the "PSoC 4 Device programming specifications" document, which links to CY8C41xx, CY8C42xx programming Specifications. This may be the source of my issue, but I'm not able to find programming documentation specific to my IC. So I pressed forward using this document.
Following the linked guide - Step 1. Acquire chip, flowchart is on Page 18, Pseudocode is on 19. I run into issues when my IC no longer ACKs after the 2nd read during "ReadIO(CPUSS_SYSREQ, out status)" line, and all further SWD instructions no longer ACK.
I also have a MiniProg3, so I checked how it works using the Read command of the PSoC Programmer utility, and it seems to work differently than the datasheet suggests.
Is there a datasheet for programming the CY8C4013SXI-400? Or can I at least be given the steps to do this? I can scope out the entirety of the MiniProg3 communications, but this is extremely time consuming - I don't have hardware that can decode SWD instructions..
Show Lessi attached my project.
i cant got current output on my decided pin.
can you tell me where i did mistake???
i got only 0.1uA current for any value of idac.
Show Lesshow can i add any new componant in psoc creator 3.3???
Hi 🙂
I am starting a project and I need some advice on how to start it in the best way. I have good nowlegde in overall programming and basic knowledge in posc architecture. For the project I will use PsoC 4100 M series.
My task is to:
1) Read out sensor data via SPI as fast as possible, therefore I want to use one SCB as an SPI Master.
2) Do basic floatingpoint arithmetic and calculation of the sensor data.
3) provide this calculated data to get read by an external I2C/SPI Master. Therefore I would use an unconfigured SCB as I2C / SPI Slave depending on a pin state or something.
I attached a picture of the structure for better understanding. I appreciate every hints or advice of my plan and would be also happy for documents and examples which works in the same direction. But the main question is, is this the correct way in handling my problem?
Thanks and best regards,
Nils 🙂
Show LessTrying to transfer two large arrays via Notification from a peripheral to a central. I used the following thread and project in this forum as a starting point and pared it down for my purposes.
http://www.cypress.com/forum/psoc-4-ble/write-characteristic-values
I was trying to transfer each member of the first array, then do the second one. The first one is going through somewhat reliably but not the second array.
Any help on this is greatly appreciated - Project is attached.
Show Less