9 years, 6 months ago.

SPI Identifiers Undefined

When trying to compile this code on the mbed Compiler, I am getting the PA7, PA6, PA5, PB6, PB9 in line 10 are undefined identifiers. Does anyone know if these are supposed to be changed to our specific application of the SPI interface?Thanks in advance!

Question relating to:

This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory … decawave, driver, dw1000, eth, Ranging, SPI, tranciever

I just found that the NUCLEO-F401RE development board with the STM32F401 microprocessor has the PA_7, PA_6, PA_5, PB_6, and PB_9 pins. Using this microprocessor in the compiler removes the build errors. Unfortunately, I cannot answer my own question, so someone else will probably have to update it as answered.

posted by Timothy Le 20 May 2015

1 Answer

9 years, 6 months ago.

They are the pins you use for your SPI interface, so check for the board you are using what they are called.

Accepted Answer

Looks like we posted at the same time. And yes, they are the pins for the SPI interface, but the LPC1768 had different names for the SPI ports. Thanks for the answer!

posted by Timothy Le 20 May 2015