
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?
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