Mar 13, 2017
08:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 13, 2017
08:31 PM
Hi,
Just a quickie, how do you change the SPI speed in code?
I am interfacing with a device that needs the SPI to run slow (3MHz or less) and then later switched to high (up to 20MHz).
Labels
- Labels:
-
PSoC 5LP
3 Replies
Mar 14, 2017
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2017
01:25 AM
There is no API as such provided by the component for clock speed change,but you can use a Mux .
Please check for delay in that case.
Mar 14, 2017
02:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2017
02:20 AM
Is there en example using the mux to change SPI bitrate in code?
Mar 14, 2017
04:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2017
04:34 AM
You can use an external clock for the SPIM, and then change the divider of this clock component.