Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 11 months ago.
Problem with KL25Z SPI and on board RGB led
The pin PTD1 is occupied by the RGB led on board and shared with signal sck of SPI as well. The implement of SPI is always with flash of blue led just like a communication indicator... Is there any workaround for this?
1 Answer
10 years, 11 months ago.
Remove the LED, or cut the connection to only the blue pin of the LED, or use another pin. Here is the full list of available SPI pins: http://mbed.org/users/mbed_official/code/mbed-src/file/c1fbde68b492/targets/hal/TARGET_Freescale/TARGET_KL25Z/spi_api.c (all the pins you use for your SPI connection need to be either SPI_0 or SPI_1, besides that you can mix it around as much as you like).