|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Dec 2002
Location: Australia
|
I've started thinking seriously about my DSO project and I'm found some problems in designing the hardware.
This is my first DSP project so please bare with me The dsp I'm using the the Ti TMS320VC5416 along with the CC studio (trial I've only worked with PIC's before hand but know a little about proper buses (as oposed to the bit banging i'm used to). My problem arises when I want to read the data from a 32k FIFO (16 bit data from a 120msps ADC) into the DSP's on chip memory via DMA or otherwise for FFT, interpolation etc. Basically, I don't know how to get the FIFO to act as a memory mapped device. I assume the best option would be a device (address decoder) that generates a strobe only when a certain address is outputed from the DSP so the FIFO can output the data onto the bus at the correct time. This would allow me to read the data off FIFO by polling the same memory location (Correct me if i'm wrong). Can anyone help me out with a 16 bit example (even an 8bit I can expand on). The other problem is interfacing a graphic lcd to the DSP. I have the same addressing problem as the FIFO except even with the maximum number of waitstates on the bus the LCD is still too slow to be directly interfaced as a memory mapped perhibital. Is there any way around this? I though of may having some addressed GPIO pins for the task but I'm unsure of how to implement those aswell.... If any could help it would be very much appreciated Thanks Matt |
|
|
|
#2 |
|
diyAudio Member
Join Date: May 2003
Location: Berlin
|
Hi,
which FIFO do you want to connect, and what type of (hardware and software) connection have you tried? If it has a serial interface, it certainly is no memory mapped device per se, you'd have to interface it manually then... Also, have you considered using a timer interrupt, NOP wait counter or similar in order to achive the slow timing of the LCD (assuming the hardware connection works)? You could maybe just call a routine that waits for the right amount of DSP clock cycles before transmitting the next word, but then, you'd have to consider compiler optimization and hardware parallelization in the DSP... I'm sure TI supplies some hints on those problems in their knowledge base. Don't just look for code examples prepared for your DSP. Look for examples in the older processor generations, too. Basically you don't have to wait for someone who invents running code for you setup, all you need is algorithms and their examples. I'm not too sure, but I remember having seen memory interfacing examples in the TMS320Cxx sections. There's stuff for days to study in there... Hope this helps, Sebastian. |
|
|
|
#3 | ||
|
diyAudio Member
Join Date: Sep 2004
Location: Montevideo
|
Quote:
Quote:
This ensures stable signals for the LCD module for as long as you need under program control, may be software loops or timer interrupts (much better). Rodolfo |
||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CS decoding chips - the differences | ttan98 | Digital Source | 3 | 24th August 2007 03:15 AM |
| Decoding LFE | cujo75 | Subwoofers | 12 | 28th November 2006 07:06 PM |
| decoding input | guinness | Car Audio | 1 | 16th November 2004 11:22 PM |
| I need help decoding transformer wiring | smmcbride | Solid State | 4 | 18th December 2002 11:27 PM |
| Dolby digital 5.1 and decoding... | scottylans | Digital Source | 5 | 22nd November 2002 03:13 PM |
| New To Site? | Need Help? |
| Page generated in 0.08778 seconds (75.80% PHP - 24.20% MySQL) with 10 queries |