Part Number: LMH0397
Hi support team,
we would like to use the standard SPI interface from Xilinx (XSPI) to communicate with the LMH0397. But the XSPI interface is limited to bytewise transaction, which means that only multiple of 8bit can be transmitted.
On a trial we built up a SPI Read transaction with 3 Bytes instead of 17 bit like specified in the data sheet and set the leading bits to '0'. Then we read out the device ID from the Share Register Page
At a first glance it looks like that we received the correct data, but other tests failed.
Is it possible at all to communicate with the LMH0397 without complying to the 17bit transaction width?
Best regards and take care
We must use 17-bits interface.
I think preferably it would be better to use SMBus interface if possible. This will allow us to use SigconArchitect GUI during development and use different utilities offered by this GUI.
You can also use SPI interface as well but GUI does not support this mode. Also for SPI we must use 17-bits interface. Please refer to the link below for further details on 17-bits implementation.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
I had the same problem and I used spi standard with 17bit but of course withour GUI.
In reply to Aue Loea:
we solved the problem by adding an additional FPGA register for the SPI port.
The register detects the start of a transmission and stops the SPI clock after 17 bits.
Therefore we can still use the standard XSpi from Xilinx.
Since XSpi can only handle full byte lengths we transmit and receive 3 byte per direction. The extra bits for Tx are filled with dummy '1's.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.