PSoC™ 4 Forum Discussions
I'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 LessHi,
When I send a notification to a client, the API "CyBle_GattsNotification()" sometimes returns the error "CYBLE_ERROR_MEMORY_ALLOCATION_FAILED".
What is the reason for memory allocation failed while send notification?
Thanks!
Aaron Deng
Show LessHello.
I saw Project #047 post and it really fun to me and helped me alot.
I'v tried "Accelerometer Controlled Car" example and it doing very well. Very fun 😄
However when I changed acceleromemter sensor from Adxl355(ADC) to Adxl362(using SPI) it didnt work.
I think my Psoc 4 ble SPI setting is wrong, bcz when I tested Adxl362 with Arduino it worked.
Anybody help, adivce or example me about using Adxl362(SPI) Accelerometer sensor with Psoc 4 BLE?
I attached Adxl362 datasheet and my project.
Show LessHi everybody! The project I'm currently working on requires a counter with the ability to increment or decrement its value based on two non periodic clock/count direction signals (in contrast to a generic counter that only needs to work with one clock/count direction pair). I can think of several ways to implementing this in software for the ARM core, but I don't have much of a clue when it comes to hardware design, I only know basic theory. Any tips for the hardware noob?
Thanks in advance,
Gino
Show LessI am new to PSoC and tring to do a project where i need to input an external analog signal into the psoc digitize it using an ADC and then send it through Ble. Can someone guide me.
Show LessHello, I am running a very basic application of varying input voltage into an ADC and changing the LED color based on the voltage range. I keep receiving an error about not being able to define my variable adcSample (which is the result from the ADC).
int main()
{
/* Initialize ADC. Conversion is not enabled yet. */
void ADC_Start();
/* Start ADC conversion. */
void ADC_StartConvert();
adcSample = ADC_GetResult16(uint32 0)
Show Less