Fixes for nrf52840 SPIM 3 implementation. Specifically:
- Correct definition of SPI2C_INSTANCES when using SPIM vs SPI
- Use NRFX_SPIM_XFER_TRX macro vs manually filling structure.
- Fix compile error in NRFX_SPIM_DEFAULT_EXTENDED_CONFIG where ordering of members does not match structure nrfx_spim_config_t
- Use High Drive if using SPIM3 on MOSI and SCK pins.
ls
1 parent 0db72d0 commit 38e6bdc8f4add1842c9351dffaa1dd9492790242
@winneymj winneymj authored on 29 Sep 2020
Showing 4 changed files
View
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/object_owners.c
View
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c
View
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_15_0/modules/nrfx/drivers/include/nrfx_spim.h
View
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_15_0/modules/nrfx/drivers/src/nrfx_spim.c