|
|
|||||||
| 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: Jan 2004
Location: LYON
|
Hi,
I've at least understand how creating from scratch the controller for my CD Player. As expected, the PIC18F452 will be used. I've almost completed the LCD and buttons managing programs, but I do not understand how deal with the DSA interface at all ! Does anyone can give me a hand ? A part of a source code will be very helpfull.. Regards |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Jan 2004
Location: LYON
|
nobody
|
|
|
|
|
#3 |
|
diyAudio Moderator Emeritus
|
First, clearly understand the first 3 phases of the DSA data communication, detailed here:
http://www.daisy-laser.com/products/...P10501_dsa.pdf starting on page 6. Next, if you look at my code (see attached text file), for the send data, it will match what is in the datasheet: 1) Set the tri-state buffers appropiately for sending 2) Run the sync phase (on top of page 7) 3) Send Command, Send Data (on bottom of page 7) 4) Set the tri-state buffers for receiving ack 5) Receive Acknowledgemnet (on top of page 8) You must follow this procedure exactly for each GetData of SendData sequence. If you skip any parts of this, it simply will not work. If you look over the code, you will see that for every sequence, this is followed. Let me know if you have any questions. This should get your started. It took me quite a while to understand this and get it working. The first half of this process was locating the correct data to start with, which I detailed above. Good luck with your project! You can see pictures from my cdpro2 project here: http://www.briangt.com/gallery/cdpro2 along with schematics which may be helpful. -- Brian |
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Jan 2004
Location: LYON
|
Thanks a lot BrianGT
I will carefully look into your text file as soon as I'll get back home . I will probably have questions ![]() I've already visited your website. It helps me in choosing which PIC to use for the controller, altough the PIC16Fxx series will be sufficient Indeed, I was wondering why you used the AD converter of the PIC for the button, unless you wanted to have more than 8 buttons. As far as I'm concerned, the controller will only manage 5 buttons (STOP, PAUSE, PLAY, SKIP FWD, SKIP BCK). I would probably not use the AD converter. |
|
|
|
|
#5 | |
|
diyAudio Moderator Emeritus
|
Quote:
-- Brian |
|
|
|
|
|
#6 | |
|
diyAudio Member
Join Date: Jan 2004
Location: LYON
|
Quote:
So I have to read it chapter by chapter in order I hope to understand it. I use to read english newpapers, but not technical magazines ![]() But I'm not hurry at all. Things will turn out all right...
|
|
|
|
|
|
#7 | |
|
diyAudio Moderator Emeritus
|
Quote:
-- Brian |
|
|
|
|
|
#8 | |
|
diyAudio Member
Join Date: Jan 2004
Location: LYON
|
Quote:
I did understand what you explained me previously. I know what ADC means. ![]() Sorry if I wasn't clear --- I need to improve my english I only wanted to point out that because of all the "technical" terms, I still haven't understand how deal with ADC so far. I bought yesterday a french book regarding PICs (the 16F84 series) and I hope ADC will be more clearer to me afterwards. The aim is to understand which port to use, and how to program the PIC when using ADC. I belevied interrupts are not available with ADC ? Should I feel confident, I would try to wire the buttons the way you did
|
|
|
|
|
|
#9 |
|
Banned
Join Date: Apr 2002
Location: Germany, Clausthal
|
what about like this?
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| B & C DE250 assembly | Ed LaFontaine | Multi-Way | 3 | 18th August 2008 03:56 PM |
| The big assembly question! | NUTTTR | Solid State | 7 | 22nd January 2005 03:36 AM |
| LM4780 Assembly | Thror | Chip Amps | 1 | 1st December 2004 07:41 PM |
| New To Site? | Need Help? |
| Page generated in 0.09683 seconds (86.56% PHP - 13.44% MySQL) with 11 queries |