9 years, 5 months ago.

SPI pin mapping

Hi all,

nRF51822 offers a really nice, flexible pin mapping feature, that all GPIO pins can be assigned to be connected to any peripheral, SPI, UART, TWI... So, I really do not understand, why the nRF51822-mKIT has fixed peripheral pins. Using the Serial class, I can assign different pin numbers for RX & TX at constructor and it fortunately works :) However, it is not the case with the SPI. As far as I can understand, it is due to the spi_api, written for nRF51822, that it checks whether the given pins match to the fixed ones defined at the platform page. So, are there any plans to improve that?

Regards...

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

1 Answer

9 years, 5 months ago.

Hi,

this should answer it https://github.com/mbedmicro/mbed/pull/643#issuecomment-61806601. There's an open issue and also pul lrequest ,where you can look at and comment . Please review

Regards,
0xc0170