# UNITE7002 is Responding to SPI, but Not Configured Properly

**URL:** <https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625>\
**Category:** Lime Suite\
**Created:** [21 January 2017 06:18 UTC](https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625 "2017-01-21T06:18:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://discourse.myriadrf.org/u/Fahad)\
**Post date:** [21 January 2017 06:18 UTC](https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625/1 "2017-01-21T06:18:23Z")

</div>

Hello gents,

As the title says, we used to read/write from/to UNITE7002 via SPI. E.g.:

.ini content:  
0x0023=0x5559

SPI Command:  
0x80 0x23 0x55 0x59

It writes that just fine, but when we tried to get rid of the LMS Suit and USB, and sending the whole .ini content manually via SPI, we find out that the board is not configured yet!

Are we missing something? Any suggestions please?

Best Regards ,

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [22 January 2017 11:20 UTC](https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625/2 "2017-01-22T11:20:03Z")

</div>

Hi @Fahad, if I remember correctly you need to cut/jumper some links on the LMS7002M EVB in order to drive SPI via the FMC connector. Please check the schematics.

---

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://discourse.myriadrf.org/u/Fahad)\
**Post date:** [24 January 2017 07:13 UTC](https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625/3 "2017-01-24T07:13:45Z")

</div>

Hello @andrewback,

Thanks for your reply, again (:  
Actually we are using the 4-mode SPI Pins on J7, not using the FMC port yet (since our Altera boards have HSMC not FMC).

Just to make sure of our mechanism, in the standalone mode where there is no USB nor Lime Suit we use SPI to transmit the values of the registers in the ini file one by one, Eg.;

**ini file:**  
_[file\_info]_  
_type=lms7002m\_minimal\_config_  
_version=1_  
_[lms7002\_registers\_a]_  
_0x0020=0xFFFD_  
_0x0021=0x0E9F_  
_0x0022=0x07FF_  
.  
.  
.

This ini file is converted SPI commands as following  
**SPI Commands:**  
_0x80 0x20 0xFF 0xFD_  
_0x80 0x21 0x0E 0x9F_  
_0x80 0x22 0x07 0xFF_  
.  
.  
.

As I mentioned, SPI works fine in both w/r, yet we feel these written commands are not effective and the LMS is not getting configured by that yet.

Regards ,

---

<div class="post-metadata">

**Author:** ![Zack](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/zack/32/89_2.png) [@Zack](https://discourse.myriadrf.org/u/Zack)\
**Post date:** [25 January 2017 10:44 UTC](https://discourse.myriadrf.org/t/unite7002-is-responding-to-spi-but-not-configured-properly/625/4 "2017-01-25T10:44:16Z")

</div>

As I wrote in your other post, you have to hold an on board USB MCU in reset state to be able to communicate via J7. There is a double switch next to the USB connector. Switch RST key to the opposite position to put MCU to reset.
