Hi,
I want to know the specific pins on msp430fr5994 corresponding to SPI pins(CS pin, SCLK pin, MOSI pin, MISO pin)?
Best,
Gaosheng
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I want to know the specific pins on msp430fr5994 corresponding to SPI pins(CS pin, SCLK pin, MOSI pin, MISO pin)?
Best,
Gaosheng
Hello,
You can also find these details in the datasheet. Do you know where to find it?
I find the datasheet actually before asking the question. But can you tell me which pins, because the pins in the datasheet are not so clear.
Best,
Gaosheng
I find it helpful to search the datasheet (Ctrl + f) for these types of terms (e.g. SCLK, MOSI, MISO). If you do that, you'll find the SPI pins. They may be shared with other functions, but the datasheet includes details on how to configure/select specific functions for each pin.
Thank you! The last question is what's the difference between General-purpose digital I/O with port interrupt and wake up from LPMx.5 and General-purpose digital I/O?
A GPIO with interrupt will allow an interrupt handler to be run - even if the 5994 is sleeping - when the GPIO transitions state.
For your CS, GPIO without the interrupt is fine.
However, in your case, you might want to use a GPIO *with* interrupt to allow your BLE interface to signal the MCU that it has a message available, even if the MCU is sleeping. This way you do not need to continually poll the BLE interface from the MCU.
Not find. You can try.
You're right. The terms are actually SIMO and SOMI.
**Attention** This is a public forum