Hello,
I'm having some problems when I want to use some pins as SPIM interface (nrfx driver) and the Zephyr BLE stack is included in the project:
Platform: nRF5340-DK
The project consist of a SPIM interface connected to a sensor controlled by the application core.
Test 1: SPIM interface only
CS: P1.5
SCK: P1.4
MOSI: P1.1
MISO: P1.0
Transfer OK
Test 2: SPIM interface + Zephyr BLE peripheral (even without initializing it)
CS: P1.5
SCK: P1.4
MOSI: P1.1
MISO: P1.0
CS and SCK OK
MOSI doesn't work (state '1' during transfer)
Test 3: SPIM interface + Zephyr BLE peripheral (even without initializing it)
CS: P1.5
SCK: P1.4
MOSI: P1.9
MISO: P1.0
CS and SCK OK
MOSI works as expected.
SPIM receives all '0'
Test 4: SPIM interface + Zephyr BLE peripheral (even without initializing it)
CS: P1.5
SCK: P1.4
MOSI: P1.9
MISO: P1.7
CS and SCK OK
MOSI works as expected.
SPIM receives sensor data as expected
It would appear that pins 1.0 and 1.1 are being used by BLE stack. Same happened for others pins (0.11 for example)
Is this true or did I miss something?
Thanks
P.S.: Similar post