Author |
Message |
Topic: programming AD9850 - problems with precision of multiplicati |
jwolf
Replies: 4
Views: 365
|
Forum: BASCOM-AVR Archive Posted: Mon May 13, 2013 4:26 pm Subject: programming AD9850 - problems with precision of multiplicati |
Sorry, I could not find any related information in the BASCOM Help-file. A search for "Floating-Point Errors" did not show any result.
But thanks to the suggestion from MWS to use CONFIG SINGLE ... |
Topic: programming AD9850 - problems with precision of multiplicati |
jwolf
Replies: 4
Views: 365
|
Forum: BASCOM-AVR Archive Posted: Sun May 12, 2013 7:22 pm Subject: programming AD9850 - problems with precision of multiplicati |
I try to program a DDS generator module AD9850.
What needs to be done is to calculate the frequency control word
F_ctrl = F_out / F_ref * 2exp32.
F_ref is 125E6 Hz and the range of F_out is fr ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Mon Apr 22, 2013 8:20 pm Subject: data loss using inkey #2 with software UART |
Would you point out the exact place to find this use within the "examples section" ?
I did " search printbin"
and I get for the syntax:
Syntax
PRINTBIN var
So far no mention of the additional p ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Mon Apr 22, 2013 10:41 am Subject: data loss using inkey #2 with software UART |
Thanks for the explanation,
yes, I checked the help, but this is not so crystal clear, because in the description of the syntax there is no mention of this parameter, only in the examples sec ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Sat Apr 20, 2013 7:17 pm Subject: data loss using inkey #2 with software UART |
Dear all,
I would like to thank you for the discussion giving many useful hints and tips.
Finally I found out what was preventing my Inkey - loop from receiving the first bytes of the replied me ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Sat Apr 20, 2013 6:52 pm Subject: data loss using inkey #2 with software UART |
Hi Madf,
as far as I know the <CONFIG INPUT> works only with a real , i.e. a hardware UART.
What I try is to use the software UART.
Cheers,
Johannes |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Fri Apr 19, 2013 6:22 pm Subject: data loss using inkey #2 with software UART |
Thank you MWS for the educative answer:
sorry for the prosa, I am not a software engineer,
but you are fully right that it is obvious to use the expression <print var ;> to avoid sending a &l ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Fri Apr 19, 2013 8:19 am Subject: data loss using inkey #2 with software UART |
Hi Michael,
thanks very much for the reply and the neat solution.
My concern ist that in this case my interrupt based the soft clock will not properly work any longer, because the receive l ... |
Topic: data loss using inkey #2 with software UART |
jwolf
Replies: 22
Views: 725
|
Forum: BASCOM-AVR Archive Posted: Thu Apr 18, 2013 8:29 pm Subject: data loss using inkey #2 with software UART |
I tried to set up a simple serial communication (9600,8,n,1) between my AtMega88 and a serial device.
First I tested the device using Hyperterm on the PC - everything works fine.
Since the device re ... |
|