Hello,
I have two Cy8C-042 Evaluation boards. I want to synchronize them.
They shared two GPIOs over optocouplers. 1 is the output of 1 and input of other and other ist input of 1 and output of other.
There is a test I have to perform for 10ms. for 1ms microcontroller but i cannot be able to synchronize them 100 percent.
at the start of the test, they are almost synchronized but later at the end of test they have a difference of around 200 to 300 uS.
Can somebody help me to figure out the problem?
In my application Psoc4 has to serve a device that could be configured in SPI or parallel mode during runtime. In SPI mode pin named D0 has to be configured as MTSR, D1 has to be configured as SS, D2 has to be configured as SCLK and D3 has to be configured as MRST. In parallel mode D0...D3 are part of the parallel IO (D0...D7) offering bidirectional IO. How to implement this switch on the fly?
Show LessI've been learning how to use PSoC by the tutorial vids. In lesson 4 I encountered a problem, when it came to the hardware connection between the switch and the LED.
The error is: "Pin guidance unavailable. Pin cannot be placed at X. Pin cannot be used for routed connections." for both the input and the output pin as soon as i connect them by wire in my TopDesign.
The goal would be to directly turn on the LED by pressing the switch as described in the tutorial.
Is this a configuration problem or is my board not able to do hardware connections (which I doubt).
I'm using PSoC Creator 4.4 and the CY8CKIT-149 PSoC 4100S Plus Prototyping Kit, CY8C4147AZI-S47564.
I attached the project.
I'd be very grateful for an explanation of this error and even more for a solution.
Show LessPSoC Creator怎么确认堆栈是否足够,当前堆栈的使用情况?
使用PSoC4开发的时候发现ROM不够了,想做下优化,PSoC Creator有没有内存对齐方式的设置,比如说把对齐方式从4Byte改为2Byte?
I defined a constant arrary ,but I didn't use it.I can't find this constant arrary in the map file.
I have an application where I am trying to minimise current draw when waiting for an external trigger signal, but then need the PSOC to leap out of bed and set one of my GPIO pins high as quickly as possible - I'm talking sub 10usec after the trigger is received, if possible.
I'm putting my code into Hibernate and triggering it out of this mode with a GPIO interrupt. But I'm coming up against a couple of issues:
1. In the default start up code that PSOC Creator spews out (cyfitter_cfg.c), there are a number of delays (one of them is 500msec!!) slotted into the startup code to allow various clocks to settle. So, if I leave the cyfitter_cfg.c as is, I've got no hope. I'm seeing delays of 520msec or more between when the trigger occurs, and when my GPIO is set high.
2. In attempt to get around the above issue, I manually changed cyfitter_cfg.c so that the very first thing it does is write to one of my GPIO pins, but I think some other code needs to run beforehand, so that the appropriate GPIO is configured correctly (in my case as an output with Strong Drive). This is where I read this: https://community.cypress.com/t5/Knowledge-Base-Articles/GPIO-State-during-Startup-in-PSoC-4-KBA227963/ta-p/249649
I read in the datasheet for the PSOC4 that the wakeup time for the PSOC4 to exit Hibernate mode is 3msec, but its not clear what this refers to, particularly given the fact that there is a 500msec thumb-twiddling delay inserted into the start up code by default.
Does anyone know a way I can get my GPIO pin set up and write a "1" to it in the sort of time frame I'm needing? (< 10usec after the trigger signal)
Cheers,
Mike
Show LessI set an EEPROM section at 0x4E00 in Bootloader.And I want to read and write EEPROM at same address(0x4E00)in bootloaderable.The start address of bootloaderable is 0x6000.If I define the same address ,it shows that wrong image overlaps section .
Show LessDear all,
I'm working on CY8C4245AXI-483 MCU. I want to write a code to toggle LED through capsense touch button. it means, initially LED is OFF. now when i touch button it should be ON. and remains ON untill i touched it 2nd time. after touching 2nd time it should be in OFF condition and remains in OFF untill i touched it 3rd time and so on.
i found code for same, somewhere on internet. is this correct or i need to change something? Please give me your valuable suggestions.
Thanks & Regards,
Prem KB
/*code starts from here*/
uint fingerpresent_0 = 0;
uint8 wdgt_active = 0;
I want to add OTA firmware upgrade to my project. The original project (not developed by me) has no bootloader. My understanding from reading through Cypress documentation is that I need to create a bootloader project and move the BLE component from the application project to the bootloader project. When I do this my application won't compile because the BLE component is missing. Is there a way to have a BLE component in the application project and a different BLE component (specifically for OTA) in the bootloader project?
Show LessExpert II
Esteemed Contributor
Employee
Honored Contributor II
Employee
Employee
Honored Contributor II
Employee