-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathREADME
More file actions
32 lines (26 loc) · 1.11 KB
/
Copy pathREADME
File metadata and controls
32 lines (26 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TODO:
to make DMA mode work
test spidev3.0 & spidev3.1
trial: how to make a kernel module to enable spidev?
test the max speed:
speed=20M, real speed=12MHz;
speed=30M, real speed=24MHz;
speed=48M, real speed=48MHz, and this is the max value
================================================================
For kernel version 3.8.11-x3.4, after reboot, no /dev/spidev cannot be found.
While for kernel version 3.0.4-x3, after reboot:
ubuntu@omap:~$ ls /dev/spidev* -al
crw------- 1 root root 153, 0 2013-07-26 06:45 /dev/spidev3.0
crw------- 1 root root 153, 1 2013-07-26 06:45 /dev/spidev3.1
crw------- 1 root root 153, 2 2013-07-26 06:45 /dev/spidev4.0
================================
One way is below:
ubuntu@omap:~$ cat /proc/devices | grep spi
153 spi
And then mknod /dev/spidev4.0 c 153 0
But it doesn't work well, too!
================================
Solution from RobertCNelson:
add "buddy=spidev" to your bootargs, such that the kernel will enable spidev...
Tom Xue: that is to add "buddy=spidev" to uEnv.txt, which is in boot partition of SD card
================================================================