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.
i am using msp430fr5969. SO in that one i just wants to know that, is it possible that ms430fr5969 controller is working as a spi slave ?
if yes then how the working is, and how should i connect my hardware like pin configuration?
thanks
Anil D.
Hi Anil,
Yes it is possible for the MSP430FR5969 to be used as a SPI slave. You should start by reading the Enhanced Universal Serial Communication Interface (eUSIC) - SPI section of the User's Guide to gain an understanding of how SPI communication works on MSP430 devices.
Next, please look into the SPI examples that can be found in MSP430Ware, TI Resource Explorer, and a direct download here.
Finally, when debugging your communication please look into the SPI section of Solutions to Common eUSCI and USCI Serial Communication Issues on MSP430 MCUs.
Best regards,
Caleb Overbay
Dear Caleb and Kipton,
The links which you shared was so explanatory, And its clears my all doubt regarding SPI communicatin . But still my main doubt is not resolved.
See what happen, when msp430fr5969 is working as a master then i am using USCI_A0_VECTOR for SPI/UART communication. In this ISR itself UCA0RXBUF and UCA0TXBUF are used as a buffer.
But when i go for the msp430fr5969 acts as a slave that time which buffer i can use as a receive buffer and which one used as a transmit buffer.
And one more is that how can i connect my MOSI, MISO, pins in hardware level.
And Is there any Baud Rate concept is present in SPI communication?
Hi Anil,
Anil Dhanawade said:But when i go for the msp430fr5969 acts as a slave that time which buffer i can use as a receive buffer and which one used as a transmit buffer.
When the MSP430FR5969 acts as a SPI slave the same UCA0RXBUF and UCA0TXBUF are used as the receive and transmit buffers respectively.
Anil Dhanawade said:And one more is that how can i connect my MOSI, MISO, pins in hardware level.
I don't know what you mean by this. Are you asking which physical pins are the MOSI and MISO pins? You can find the pin signal descriptions in Table 4-2 of the MSP430FR59xx Mixed-Signal Microcontrollers datasheet.
Anil Dhanawade said:And Is there any Baud Rate concept is present in SPI communication?
No. The SPI master provides a clock signal to the slave via the CLK line. Again, the links I provided describe this in detail.
Finally, the example you will probably find the most helpful is this one and this one.
Best regards,
Caleb Overbay
Hi Anil,
Anil Dhanawade said:MISO pin for MSP430FR5969 ( Act as a slave) , This pin act as a input pin for me. and MOSI pin for MSP430 act as a Output pin.
Can you elaborate on what you mean by "me". The MISO pin stands for Master In Slave Out (MISO). So if the MSP430FR5969 is the slave, then the MISO pin is an output for the MSP430FR5969 and an input to the master device.
Anil Dhanawade said:And What about Buffers(TX And RX). IS this acts as same or it would be changed> and ISR interrupts are same or any change into that?
I don't understand what you're trying to ask here. Can you provide more detail please?
Best regards,
Caleb Overbay
**Attention** This is a public forum