Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

req: vhdl spi interface for resolver (e.g. ad2s 12-series)

Status
Not open for further replies.

nicklas_a74

Member level 1
Joined
Oct 4, 2002
Messages
37
Helped
8
Reputation
16
Reaction score
7
Trophy points
1,288
Activity points
316
I need a simple spi interface to be implemented in a cpld to enable
communication with a tracking resolver (e.g. ad2s 12-series, read serial data as speed, angular position and writing resolver settings).

Does anyone have a vhdl file that gives a good starting point? Also a model for a resolver in vhdl that could be used in a TB (test) would be helpful.

Thank you
 

Requirements for ADC SPI interface are quite different, e.g. high or low clock speed, addressable registers to serve, one or several output channels.

My suggestion is to write it from the scratch based on your specific needs.

- clock generation. for slow and medium speed, the clock is send from a register in your SPI interface, for high speed the system clock copied to SCLK

- frame generation, e.g. a state machine with a bit counter

- a shift register for SDI and SDO
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top