- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
I set the pin P0.7 of CY8C4245AXI-483 to high. but it turns to high 1s after power-on.Power supply and reset are completed within 3ms.So what is the cause of this one-second delay?
Solved! Go to Solution.
- Tags:
- cy8c4245axi-483
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I suspect you are calling CyDelay(1000) for the LED's (since they show a 1 second delay in the logic trace capture screen). Followed by setting SPI_SS.
Well, CyDelay() is a blocking function. So, nothing else runs until after CyDelay() has completed (it's a software timing loop delay).
Can you post your project bundle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you using a custom psoc board or any of the development kits ? How are you setting the pins ? Did you try debugging the code ? Does it happen 1s after the firmware sets the pin ?
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used in ourself design。Settings are shown in the picture。All the other outputs are normal, except for this one with a one-second delay。Is it possible for it's the Multiplexing pins of wakeup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I suspect you are calling CyDelay(1000) for the LED's (since they show a 1 second delay in the logic trace capture screen). Followed by setting SPI_SS.
Well, CyDelay() is a blocking function. So, nothing else runs until after CyDelay() has completed (it's a software timing loop delay).
Can you post your project bundle?