This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

spi pin mapping mbed

I am trying to write my firmware in mbed instead of microvision. I have my own custom PCB w/ the nRF51822 and use SPI with different GPIO pins than the standard ones.

My firmware runs fine on the dev kit when I use SPI(p25, p28, p29) which are the recommended pins but when I try using SPI(p0, p2, p3) as I have wired in my PCB it doesn't work. I checked out the source code and it looks like it should work w/ any pin mapping.. ->

mbed/libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c

Whats up with this and how can i fix it?

Thanks, Mike

Parents Reply Children
No Data
Related