Hello,
I´m using phyCore-Vybrid. I made to test with DSPI0 and worked (I can see by oscilloscope the SCK, MOSI, and CS), But when I switch to (DSPI3) the pins (MVF600_PAD89_PTD10__DSPI3_PCS0, MVF600_PAD90_PTD11__DSPI3_SIN, MVF600_PAD91_PTD12__DSPI3_SOUT, MVF600_PAD92_PTD13__DSPI3_SCK), the driver (DSPI3) initialize, and when I try to send data the following erro accore .
-----------------------
# ./spidev-test -D /dev/spidev3.0
phUnhandled fault: external abort on non-linefetch (0x008) at 0x8882200c
ase Internal error: : 8 [#1]
pModules linked in:hase mcc 2
phaCPU: 0 Not tainted (3.0.15-ts-armv7l #32)
se 3PC is at write+0x20/0x244
phLR is at pump_transfers+0x128/0x258
ase pc : [<802146f8>] lr : [<80214fc8>] psr: 80000093
4
sp : 86035ee0 ip : 86035f18 fp : 86035f14
spi r10: 8047c100 r9 : 00000006 r8 : 86290280
moder7 : 00000003 r6 : 80000013 r5 : 862efe9c r4 : 8616f158
r3 : 88822000 r2 : 00000003 r1 : 000f4240 r0 : 8616f158
bitFlags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
s peControl: 10c53c7d Table: 86298059 DAC: 00000015
r woProcess ksoftirqd/0 (pid: 3, stack limit = 0x860342e8)
rd: Stack: (0x86035ee0 to 0x86036000)
8
5ee0: 00000002 00000003 00000005 00000000 862efe9c 80000013 00000003 86290280
5f00: 00000006 8047c100 86035f3c 86035f18 80214fc8 802146e4 80214ea0 00000000
5f20: 8044f3bc 8047c100 00000000 8047c124 86035f5c 86035f40 8004dde4 80214eac
5f40: 00000001 8047c13c 86034000 00000100 86035f9c 86035f60 8004dfd0 8004dd88
5f60: 8602a540 8047c100 86034000 0000000a 00000000 8047c100 86034000 00000000
5f80: 00000000 00000000 00000000 00000000 86035fbc 86035fa0 8004e0f8 8004df44
5fa0: 8602df10 00000000 8004e060 00000013 86035ff4 86035fc0 80061524 8004e06c
5fc0: 8602df10 00000000 00000000 00000000 86035fd0 86035fd0 00000000 8602df10
5fe0: 80061498 8004bc50 00000000 86035ff8 8004bc50 800614a4 cd58013c 0202741a
Backtrace:
[<802146d8>] (write+0x0/0x244) from [<80214fc8>] (pump_transfers+0x128/0x258)
[<80214ea0>] (pump_transfers+0x0/0x258) from [<8004dde4>] (tasklet_action+0x68/0xcc)
r8:8047c124 r7:00000000 r6:8047c100 r5:8044f3bc r4:00000000
r3:80214ea0
[<8004dd7c>] (tasklet_action+0x0/0xcc) from [<8004dfd0>] (__do_softirq+0x98/0x128)
r7:00000100 r6:86034000 r5:8047c13c r4:00000001
[<8004df38>] (__do_softirq+0x0/0x128) from [<8004e0f8>] (run_ksoftirqd+0x98/0x128)
[<8004e060>] (run_ksoftirqd+0x0/0x128) from [<80061524>] (kthread+0x8c/0x94)
r7:00000013 r6:8004e060 r5:00000000 r4:8602df10
[<80061498>] (kthread+0x0/0x94) from [<8004bc50>] (do_exit+0x0/0x660)
r6:8004bc50 r5:80061498 r4:8602df10
Code: e5d0206d e1a04000 e5903008 e2822003 (e7933102)
---[ end trace 931e58262a528079 ]---
Kernel panic - not syncing: Fatal exception in interrupt
Backtrace:
[<80037ddc>] (dump_backtrace+0x0/0x10c) from [<8034ce34>] (dump_stack+0x18/0x1c)
r6:802146fa r5:00000000 r4:804777e0 r3:ffffffff
[<8034ce1c>] (dump_stack+0x0/0x1c) from [<8034d01c>] (panic+0x64/0x178)
[<8034cfb8>] (panic+0x0/0x178) from [<800381c8>] (die+0x228/0x284)
r3:00000100 r2:0000251a r1:00000000 r0:803eb5d8
r7:00000001
[<80037fa0>] (die+0x0/0x284) from [<80038244>] (arm_notify_die+0x20/0x58)
[<80038224>] (arm_notify_die+0x0/0x58) from [<8002f24c>] (do_DataAbort+0x90/0xa0)
[<8002f1bc>] (do_DataAbort+0x0/0xa0) from [<800348ec>] (__dabt_svc+0x4c/0x60)
Exception stack(0x86035e98 to 0x86035ee0)
5e80: 8616f158 000f4240
5ea0: 00000003 88822000 8616f158 862efe9c 80000013 00000003 86290280 00000006
5ec0: 8047c100 86035f14 86035f18 86035ee0 80214fc8 802146f8 80000093 ffffffff
r7:00000003 r6:80000013 r5:86035ecc r4:ffffffff
[<802146d8>] (write+0x0/0x244) from [<80214fc8>] (pump_transfers+0x128/0x258)
[<80214ea0>] (pump_transfers+0x0/0x258) from [<8004dde4>] (tasklet_action+0x68/0xcc)
r8:8047c124 r7:00000000 r6:8047c100 r5:8044f3bc r4:00000000
r3:80214ea0
[<8004dd7c>] (tasklet_action+0x0/0xcc) from [<8004dfd0>] (__do_softirq+0x98/0x128)
r7:00000100 r6:86034000 r5:8047c13c r4:00000001
[<8004df38>] (__do_softirq+0x0/0x128) from [<8004e0f8>] (run_ksoftirqd+0x98/0x128)
[<8004e060>] (run_ksoftirqd+0x0/0x128) from [<80061524>] (kthread+0x8c/0x94)
r7:00000013 r6:8004e060 r5:00000000 r4:8602df10
[<80061498>] (kthread+0x0/0x94) from [<8004bc50>] (do_exit+0x0/0x660)
r6:8004bc50 r5:80061498 r4:8602df10
---------------------------------------
What do you think about the problem?
Att,
Francisco