1、I used the spi_bitbang routine to port it to the network core to run, and after the program was burned, I used an oscilloscope to measure the CLK pin waveform and there was no change.
spibb0: spibb0 {
compatible = "zephyr,spi-bitbang";
status="okay";
#address-cells = <1>;
#size-cells = <0>;
clk-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
mosi-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
miso-gpios = <&gpio1 2 0>;
cs-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
};
2、Is there only one spi0 in the network core?
3、There are bluetooth, ipc, spi, burning program in the application core, Bluetooth can be turned on successfully, and I failed to turn on Bluetooth with the button reset. If I block SPI or IPC, reset Bluetooth with the button and it will start normally
00> ipc_service_open_instance_succeed (0)
00>
00> ipc_service_register_endpoint_succeed (0)
00>
00> data1: 0
00> spi_transceive: 0
00> ICM42688_id: 0
00> snprintf returned
00>
00> UART_RX_BUF_REQUEST
00> UART_TX_DONE
00>
00> [00:00:00.097,106] <inf> fs_nvs: 8 Sectors of 2048 bytes
00> [00:00:00.097,412] <inf> fs_nvs: alloc wra: 0, 7e8
00> [00:00:00.097,717] <inf> fs_nvs: data wra: 0, 0
00> [00:00:00.098,144] <inf> bt_sdc_hci_driver: SoftDevice Controller build revision:
00> d6 da c7 ae 08 db 72 6f 2a a3 26 49 2a 4d a8 b3 |......ro *.&I*M..
00> 98 0e 07 7f |....
00> [00:00:00.104,339] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
00> [00:00:00.104,797] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
00> [00:00:00.105,163]
00>
00> ipc_service_register_endpoint_succeed (0)
00>
00> data1: 0
00> spi_transceive: 0
00> ICM42688_id: 0
00> snprintf returned
00>
00> UART_RX_BUF_REQUEST
00> UART_TX_DONE
00>
00> [00:00:00.097,106] <inf> fs_nvs: 8 Sectors of 2048 bytes
00> [00:00:00.097,412] <inf> fs_nvs: alloc wra: 0, 7e8
00> [00:00:00.097,717] <inf> fs_nvs: data wra: 0, 0
00> [00:00:00.098,144] <inf> bt_sdc_hci_driver: SoftDevice Controller build revision:
00> d6 da c7 ae 08 db 72 6f 2a a3 26 49 2a 4d a8 b3 |......ro *.&I*M..
00> 98 0e 07 7f |....
00> [00:00:00.104,339] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
00> [00:00:00.104,797] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
00> [00:00:00.105,163]
Failed output
[00:00:00.000,000] <err> os: Halting system