Comments (5)
Sadly the SPI driver will never give you an exact match of the clock frequency requested, always something slower based on the current clock. I haven't found a way to fix this.
I recommend iterating over the specified frequency going up until you get in practice one that you like.
from periph.
Sadly the SPI driver will never give you an exact match of the clock frequency requested, always something slower based on the current clock. I haven't found a way to fix this.
I recommend iterating over the specified frequency going up until you get in practice one that you like.
the clock frequency is ok,
my quez is that when one frame is over the ce cost too much time to transfer the next frame
just like the picture show
from periph.
Ah I think I understand now, you mean that the delay between requests is too large? AFAIK all of this time is spent in the kernel. Tx() leads to exactly a single system call:
Line 411 in 8dc522f
from periph.
Ah I think I understand now, you mean that the delay between requests is too large? AFAIK all of this time is spent in the kernel. Tx() leads to exactly a single system call:
Line 411 in 8dc522f
you are right ,i write a c demo
it has same quiz
thank you very much
by the way is there some way to make ioct more faster??
from periph.
Not as far as I know. I suspect it's highly driver specific. One thing I never tried is to use NoCS, and manage it yourself. Maybe you'd save a bit on the timeouts.
from periph.
Related Issues (20)
- [Question] How do I set a pin to alt0? HOT 6
- All pins are exported during bcm283x Init HOT 3
- Support for firmata HOT 2
- gpio-read: bcm283x-gpio (GPIO7): pull cannot be used when subsystem gpiomem not initialized. HOT 21
- Go get fetches v3.4.0 if using go modules HOT 3
- Support for BME680 HOT 3
- Halt() does not unblock WaitForEdge() HOT 3
- Feature SSD1322 HOT 5
- mfrc522 constantly returns "IRQ error" after first read HOT 11
- onewire didnot work HOT 9
- Omega2: declare headers HOT 3
- Experimental serial package doesn't export essential func HOT 7
- Unable to set GPIO pin pull on Raspberry Pi 4 HOT 19
- MFRC522 hang on WaitForEdge HOT 2
- HX711: unstable readings and reading before data is ready HOT 2
- spi: rename MISO/MOSI to COPI/CIPO HOT 2
- I2C documentation not clear on read/write operation HOT 2
- MFRC522 - Problem reading Tag HOT 3
- pmem example code incorrect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from periph.