Hello,
SDK17.2, keil5,nRF21540-DK
my project use i2c and spi, but got error:
Error: L6200E: Symbol SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler multiply defined (by nrfx_twim.o and nrfx_spim.o).

Best regards
Hello,
SDK17.2, keil5,nRF21540-DK
my project use i2c and spi, but got error:
Error: L6200E: Symbol SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler multiply defined (by nrfx_twim.o and nrfx_spim.o).

Best regards
Hi,
The serial instances in nRF52840 can only be used for one protocol at a time, either SPI or TWI, as they share the same base address (see Instantiation).
If you want to use TWI and SPI at the same time, you need to use one instance for SPI (e.g. SPI0) and another instance for TWI (e.g. TWI1). If you do not need to have SPI and TWI enabled at the same time, it is also possible to share one instance through the Peripheral Resource Sharing (PRS) module. You then need to enable the corresponding PRS box for the instance (e.g. set NRFX_PRS_ENABLED and NRFX_PRS_BOX_0_ENABLED to 1 in your sdk_config.h file).
Best regards,
Jørgen
Hi,
thanks, it work well,

but every time download app hex it not work (no log output) even reset button,
it must download s140_nrf52_7.2.0_softdevice.hex once again,
why?


Best regards
Hi,
thanks, it work well,

but every time download app hex it not work (no log output) even reset button,
it must download s140_nrf52_7.2.0_softdevice.hex once again,
why?


Best regards