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!
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.
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.;
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.