
Hi,
Are you using the nrf5340dk_nrf5340 board? If yes, then:
miso-pin = <10>;cs-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
These pins are setup to be used by the network core:
sck-pin = <8>;mosi-pin = <9>;
These pins are connected to buttons on the nRF5340-DK:
I would recommend that you fliip the DK, and look at the pins that are currently routed specifically to a given function, and try to use some that are not currently in use.
Kind regards,
Håkon
thanks for your quick reply.
I am using nRF5340dk_nRF5340_cpuapp (Application core).
I referred this link.
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fchapters%2Fpin.html
I would like to use SPIM4 for configure with MCP2515 . can you please suggest which pin i have to use for SPIM4 mode?
Hi,
You are setting up the SPI instance with 8 MHz, which all SPIM instances can handle.
As you're using the DK as a basis, you will be limited by its mapping:
https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_external_memory.html
https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_buttons_leds.html
Most of the pins on NRF_P1 is available, except P1.00 and P1.01.
Kind regards,
Håkon
previously I build nrf5340dk_nrf5340_cpuapp(application core).
then try to build nrf5340dk_nrf5340_cpunet(network core), but build is not working some issues coming please any suggestion below error.
need to add any configuration?
need to change board overlay?
please give suggestion
Hi,
The network core has different peripherals than the application core, as seen here:
Please note that the SPIM0 is a shared instance, meaning that it cannot be enabled simultaneously with other instances (like UART0/TWIM0/etc).
Are you certain you want to run this on the network core?
Kind regards,
Håkon