- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a problem with getting spi master clock oversampling factor below 6.
In the datasheet it claims I can set it to 2 if I have MISO pin removed.
The only place I see that I can remove the MISO pin is by ticking the box under the SPI Pins tab, and click remove MISO.
Unfortunately, as soon as I try to reduce the oversampling factor to less than 6 I get
Invalid Parameter:
Error 1: The SPI master oversampling factor must be in range 6 - 16.
Any Idea of how I can get around this or have I completely misunderstood the section in SCB_P4_v4.pdf page 93
For Master the minimum oversampling value is 6 (MISO presents) or 2 (MISO removed).
Kind regards
Hjalmar
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CDC users,
This is an issue with the component. This will corrected in the next component version. Till that time you can change the oversampling value directly in the SCB_CTRL register (find register details in the TRM) after SCB_Start or Init was called.
Best Regards,
VSRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used SCB version 3.20 and there was no mentioning in datasheet of oversamplingf < 6.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes that's different in 4.0, and a lot more...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CDC users,
This is an issue with the component. This will corrected in the next component version. Till that time you can change the oversampling value directly in the SCB_CTRL register (find register details in the TRM) after SCB_Start or Init was called.
Best Regards,
VSRS