Author |
Message |
Topic: Direct Digital Synthesis. (DDS) |
davidapex
Replies: 81
Views: 29617
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 18, 2006 12:29 pm Subject: Direct Digital Synthesis. (DDS) |
Hi Luciano,
I copied your code, changed the device type and output port and bingo....well , not quite but as soon as I adjusted the padding values it all looked very nice.
I found I could view the f ... |
Topic: GPS Command set |
davidapex
Replies: 3
Views: 755
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 18, 2006 5:35 am Subject: GPS Command set |
Hi,
The GPS NMEA data is somewhat variable standard. By this I mean that different GPS engines output different degrees of precision so string lengths vary. e.g. the UTC time string can be 6 digits ... |
Topic: Direct Digital Synthesis. (DDS) |
davidapex
Replies: 81
Views: 29617
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 18, 2006 2:59 am Subject: Direct Digital Synthesis. (DDS) |
Hello Luciano,
Many thanks for posting your code for the DDS.
I also have played with simple DDS but my background is with Pics and I am total beginner to AVR.
I just posted some early code under " ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Fri Mar 17, 2006 11:36 pm Subject: Sine table |
Hello Ian,
File attached (I hope)
I added the LCD so I could see the values being accessed on the screen. It appears to read the table plus a bunch of random bytes (the synchronous noise) at the end ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Fri Mar 17, 2006 12:31 pm Subject: Sine table |
Hi,
I have confirmed that the programme is reading about 20-30 randon bytes after completing reading the Sine table. Sine table is 256 entries and I'm sure everything is "Dimed" correctly.
I had ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Fri Mar 17, 2006 12:28 am Subject: Sine table |
Hello Ian,
Tried your code snippet and that certainly moves things along.
For the same constants and xtal the AVR is producing around 1700Hz compared to the Pic at 1000Hz.
Only problem now is a nas ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Thu Mar 16, 2006 8:46 pm Subject: Sine table |
Hello Ian,
Thanks for the additional information.
The lookup is slow so I will try something along the lines of your piece of code.
It's been an uphill battle changing chips and compilers and you k ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Thu Mar 16, 2006 1:17 pm Subject: Sine table |
Hi guys,
Thanks for the replies.
I tried the lookup table but even though it is early days I thought it was slower than it should be. Possibly a table in SRAM?
There's probably several ways to sto ... |
Topic: Sine table |
davidapex
Replies: 9
Views: 633
|
Forum: BASCOM-AVR Archive Posted: Thu Mar 16, 2006 3:10 am Subject: Sine table |
Hi All,
I'm still a bit lost with Bascom AVR having come from a Pic background but I would like to try to reproduce one of my Pic projects.
I need to set up an 8 bit sine table and be able to jump t ... |
Topic: Pic to AVR problems |
davidapex
Replies: 5
Views: 522
|
Forum: BASCOM-AVR Archive Posted: Tue Mar 14, 2006 9:32 pm Subject: Pic to AVR problems |
Hi guys,
I spoke too soon. Attemps to get data from a GPS serial stream have resulted in a single output and then it stops. I feel a complete chump! I know it is reading the RMC header the first t ... |
Topic: Pic to AVR problems |
davidapex
Replies: 5
Views: 522
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 13, 2006 10:40 am Subject: Pic to AVR problems |
Hi guys,
I'm underway now - thanks for the prompt support.
No doubt there will be more dumb questions down the track a little way until I get used to new chips and a new compiler.
Next challeng ... |
Topic: Pic to AVR problems |
davidapex
Replies: 5
Views: 522
|
Forum: BASCOM-AVR Archive Posted: Sun Mar 12, 2006 1:23 pm Subject: Pic to AVR problems |
Hi All,
For several years I have been using Pics and a Basic compiler and found it quite easy but I was very impressed by Bascom and thought I just have to have a go with AVRs.
I have a Mega168 wh ... |
|