nRF9160 DK schematic sheet 2 missing pin names for WP and HOLD of nRF91_EXT_MEM in the On-board interface (far right page 2)
could someone post what nRF9160 pins are used?
nRF9160 DK schematic sheet 2 missing pin names for WP and HOLD of nRF91_EXT_MEM in the On-board interface (far right page 2)
could someone post what nRF9160 pins are used?
Hi,
You can find the info for the nrf9160 DK here and GPIO interface here. The Nordic website provides the latest HW files to download nRF9160 DK - Downloads - nordicsemi.com.
COM1 and COM2 on U36
TP55 and TP56 is not directly connected to any 9160 pin.
Regards,
Jonathan
Found this in the infocenter along with the suggestion to use the test points to wire to GPIO. Moving on, now I need to find how to get the 52840 to switch the external memory to the nRF9160, I haven't found that information in the infocenter.
So the latest 9160DK and the use of NCS 1.5 external flash is supported out of the box. By default the the 52 is configure correctly, but it is in the Device Tree config that controlls if the external flash is enabled or not.
nRF9160 DK - nRF52840 — Zephyr Project Documentation (nordicsemi.com)
Info about the switching : https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/switches_for_extenal_memory.html?cp=2_0_5_4_12_4
Regards,
Jonathan
I dug into:
D:\ncs\v1.5.0\zephyr\boards\arm\nrf9160dk_nrf52840\nrf9160dk_nrf52840_0_14_0.overlay
board-control { nrf_interface_pin_9_routing: switch-nrf-if9-ctrl { compatible = "nordic,nrf9160dk-optional-routing"; control-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; status = "disabled"; }; io_expander_pins_routing: switch-io-exp-en { compatible = "nordic,nrf9160dk-optional-routing"; control-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; status = "disabled"; }; external_flash_pins_routing: switch-ext-mem-ctrl { compatible = "nordic,nrf9160dk-optional-routing"; control-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; status = "disabled"; /* status = "ok"; to switch access the nor chip? */ }; };
Who knew I'd be modifying nRF52840 code to gain access to the nor memory with the nRF9160 and I was sneaking up on kconfig... Now I'm going to find the definition of all the kconfig macros like external_flash_pins_routing