Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 42 matches
www.mcselec.com Forum Index
Author Message
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat May 13, 2006 10:45 pm   Subject: Direct Digital Synthesis. (DDS)
Hmmmm.....
Just realised - I'm using Pin Change Interrupts which will generate interrupts whether going high or low. Was this another bad call on my part and should I change them to low only interru ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat May 13, 2006 10:35 pm   Subject: Direct Digital Synthesis. (DDS)
Hello Luciano,
Many thanks for your continued support.
I will try this later today and report back. I seem to have waisted so much time and had little change in result.
I was a bit confused by t ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat May 13, 2006 12:41 pm   Subject: Direct Digital Synthesis. (DDS)
That's it - I'm going back to making model aeroplanes.
Found a major problem with the 3x4 keypad routine. After calling this routine the port pins are left partly as input and partly outputs, includ ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Fri May 12, 2006 1:25 pm   Subject: Direct Digital Synthesis. (DDS)
Hi,
I think I follow that. That also explains why it sort of worked when I used a goto Begin: instead of the Return. I had got confused about where the interrupt was actually happening. I need to h ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Fri May 12, 2006 11:20 am   Subject: Direct Digital Synthesis. (DDS)
Hello Luciano,
Thanks for that. That return is the return from the regval gosub. I tried restructuring that to in-line code rather than the gosub and although it appears to be working it does not ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Fri May 12, 2006 6:52 am   Subject: DDS
Hi,
Over the last month I have had stolen just enough time to make a real pigs ear of the code that Luciano posted and have got myself in to trouble.

I have learned how to add the keypad and LCD t ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sun Apr 02, 2006 12:00 am   Subject: Direct Digital Synthesis. (DDS)
Hi,
I did indeed mention FSK and DTMF, not for any specific task but more to highlight the flexibility of the DDS.
Phase shift keying should be straight forward as would quadrature waveforms (or any ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Mon Mar 27, 2006 10:58 pm   Subject: Direct Digital Synthesis. (DDS)
Hello Luciano,
Yes I am still using the wave tables in the code space and not in SRAM. May try that later. Will also try the keypad - I had this on my Pic version and it was really nice to tap in t ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Mon Mar 27, 2006 12:00 pm   Subject: Direct Digital Synthesis. (DDS)
Hello Adrian,
Thanks for the update.
I will go back and revisit this. Luciano has kindly posted all I need to get underway but I also need to understand the process involved rather than just have c ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Mon Mar 27, 2006 11:45 am   Subject: Direct Digital Synthesis. (DDS)
Hello Luciano,
Many thanks for the comprehensive answer to my post. I believe I can follow your code but could never had originated it - still many months away from this level.

That's a busy inte ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 26, 2006 12:12 pm   Subject: Direct Digital Synthesis. (DDS)
Hello Luciano,
I'm familiar with the in-line assembler as it very similar to the Pic in-line assembler that I'm more comfortable with.
I'm still not following how to pass the different table locatio ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 25, 2006 11:05 pm   Subject: Direct Digital Synthesis. (DDS)
Hi guys,
I'm not going well here. How do I use Basic to pass the various wave table start addresses to the assembler routine?
e.g. In the following, how do I change Sawtooth to Sine, Square etc
...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 25, 2006 6:55 am   Subject: Direct Digital Synthesis. (DDS)
Hello Adrian,
Have I screwed up here?

dim tableloc as word 'var for location of Sin_table

'******wave select********"
tableloc = &H0200 'sine table=&H0200, tri table=& ...
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 25, 2006 5:28 am   Subject: Direct Digital Synthesis. (DDS)
Hello Adrian,
Many thanks for the "pointers". (v small joke)
Will give it a go tonight.

Cheers,
David
  Topic: Direct Digital Synthesis. (DDS)
davidapex

Replies: 81
Views: 20024

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 25, 2006 12:20 am   Subject: DDS (again)
Hi All,
After having a play with the code I would like to add other wave tables (as per original article) but would like to select them following an interrupt and a Basic routine.

Can I replace th ...
 
Page 2 of 3 Goto page Previous  1, 2, 3  Next
All times are GMT + 1 Hour
Jump to: