I'm doing an project on ultrasound. I'm using TI's AFE5805EVM and TSW1250. I have worked with these boards and understood how it works.
Now my aim is to control the AFE5805 chip through my FPGA code serially. In my code what i actually do is send 72 bits of data through SPI lines.
These 72 bits are 0x00, 0x0001,0x42,0x8081,0x46,0x8208. ie I'm first making a software reset by writing a 0x0001 to address 0x00 to make the registers to its default values and then writing 0x8081 and 0x8208 to address location 0x42 and 0x46 respectively. (This procedure is what i actually do when i use AFE5805 USB SPI.)
In my code i have 3 pins to control AFE. SDATA, SCLK and CSn. This SDATA pin from my FPGA is directly soldered to ADS_SDATA pin on AFE Board and SCLK to ADS_SCLK and CSn to ADS_CSZ on the board.
Now when i run the code in my FPGA triying to control AFE5805, the chip is not getting initialized. It shows that in my above procedures something is missing so that my chip is not getting initialized. I also tried by initially pressing the Reset button near MSP430 IC on the AFE5805 board and then stream of 72bits was send. That too is not working.
In my code the 72bits is send in a stretch. No delays are given after 24bit delivery. Whether this will create problem???...
Somebody plz help me to get out of this situation....
My simulated wave form is shown below
(please right click on above image and select View Image to get a clear picture)
CLK_IN is 20ns
AFE_SCLK is 50ns
RESET_IN is not for AFE Hardware reset. It is to make the variables in my program to the initial state so that after every reset the above given stream of bits repeats.
Hoping the needful as soon as possible...
The waveform you sent is from the FPGA simulation, I need to see the waveform from a SCOPE to deceide if the waveform is truely sent to AFE5805 from TSW1250. I need to know two informations informations from you.
1. The waveform from a scope.
2. Which pins from TSW1250 connector are used for this application.
Please send to email@example.com directly for this discussion.
you may need to remove the 0 resitors close to FTDI chip on AFE5805EVM when you drive from external FPGA.
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. 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 respect to these materials. 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.