Search found 13 matches

by Admiral_dk
Mon Jan 07, 2019 5:49 am
Forum: Algorithm development
Topic: Help with Biquad Filter
Replies: 6
Views: 4372

Re: Help with Biquad Filter

Once again - thank you very much Frank. We where taught over and over again that we would need to scale the level up and down and even how to calculate if a routine needs it - use it or loose it - so it was your comment that brought it back :D Halv the inputs ( * -0.5 ) and multiplying back up ( * -...
by Admiral_dk
Fri Jan 04, 2019 8:55 am
Forum: Algorithm development
Topic: Help with Biquad Filter
Replies: 6
Views: 4372

Re: Help with Biquad Filter

Thank you for your reply Frank. I posted a reply yesterday that apparently disappeared into thin air … :( …. oh well I try again. You are right - I forgot that interpolating is used in down and not up sampling :oops: As far as I remember (I was taught DSP programming in 96 and didn't use it for 19 y...
by Admiral_dk
Wed Jan 02, 2019 9:35 am
Forum: Algorithm development
Topic: Help with Biquad Filter
Replies: 6
Views: 4372

Re: Help with Biquad Filter

Thank you Frank and happy New Year. I added the following to the code : ; ------ UpSample Routine -------------------- RDAX ADCL , 1 ; Get New Sample WRA UpSample , 0.5 ; Save for later and Multply with 0.5 RDA UpSample + 1 , 0.5 ; Add 0.5* Previous Sample WRA UpSample + 2 , 0 ; Save the Interpolate...
by Admiral_dk
Thu Dec 27, 2018 9:19 am
Forum: Algorithm development
Topic: Help with Biquad Filter
Replies: 6
Views: 4372

Help with Biquad Filter

Hi All. I have a problem, where I need a moveable LowPass filter, where it is f0 that is moved between 500Hz. and as close as possible to the full 15KHz. bandwith (32.768Hz. Clock). I tried a simple BiQuad filter I partly pinched from SpinCAD (thanks Larry). : equ Frequency REG4 ; Tone (Low Pass) Fr...
by Admiral_dk
Thu May 17, 2018 1:22 am
Forum: FV-1 software questions
Topic: Coding with macroes ?
Replies: 2
Views: 2995

Thank you Frank - that is what I do now - I just hoped that I could get away with having only one source file and a conditional assembly ….
by Admiral_dk
Wed May 16, 2018 8:15 am
Forum: FV-1 software questions
Topic: Coding with macroes ?
Replies: 2
Views: 2995

Coding with macroes ?

I got a piece of hardware using the FV-1 that has 3 different programs where the only difference i a single coefficient in the code between the 3. So my question ; is it possible to use something like a macro so I only have to have one source code that results in 3 programs - but only one code to ma...
by Admiral_dk
Mon Oct 30, 2017 5:10 am
Forum: FV-1 software questions
Topic: Problems with Triangle wave
Replies: 1
Views: 3104

Strange - I had the same problem on two different FV-1's for days last week - as described above. So I decided to do an experiment instead of waiting for replies - just to see the relationship between the "original" Ramp and the calculated Triangle and modified the code to : CHO RDAL, RMP1...
by Admiral_dk
Mon Oct 30, 2017 4:12 am
Forum: FV-1 software questions
Topic: Problems with Triangle wave
Replies: 1
Views: 3104

Problems with Triangle wave

I use the following code to generate a Triangle Wave : CHO RDAL , RMP1 ; Read LFO 1 value SOF 1.999 , -0.5 ; Adjust to -0.5 to 0.5 ABSA ; Make sure we have a positive Triangle Wave SOF 1 , -0.25 ; Adjust to -0.25 to +0.25 WRAX DACR , 0 ; write to DAC R This gives me a Triangle Wave with two strange ...
by Admiral_dk
Fri Oct 27, 2017 5:31 am
Forum: FV-1 software questions
Topic: Adding 1 to Address Pointer
Replies: 3
Views: 3642

OK - this solved the "zipper noise" from modulation.

This unfortunately uncovered another problem, that I better start another thread about.
by Admiral_dk
Wed Oct 25, 2017 8:34 am
Forum: FV-1 software questions
Topic: Adding 1 to Address Pointer
Replies: 3
Views: 3642

I thought of a possibility : OR $7FFF00 ; Set max MULX DelayLength SOF 0.984375 , 0.015625 ; Delay time (Pointer)24-975mS. RDAX Modulation , 1 ; Add modulation to pointer 0-8mS. WRAX ADDR_PTR , 1 ; write to delay address pointer WRAX OldPointerL , 1 ; Save to next time ---- a few other things here, ...
by Admiral_dk
Wed Oct 25, 2017 6:22 am
Forum: FV-1 software questions
Topic: Adding 1 to Address Pointer
Replies: 3
Views: 3642

Adding 1 to Address Pointer

I've written a new delay program that has multiple address pointer rutines depending on user input and it all works nicely except for "zipper noise" and I can see that this is solved by using the value @ [address] + value @ [address +1] - fine, but I can't easily figure how to add 1 to the...
by Admiral_dk
Thu Oct 19, 2017 6:52 am
Forum: FV-1 software questions
Topic: SpinAsm - Writing to EEProm directly
Replies: 1
Views: 2859

SpinAsm - Writing to EEProm directly

Hi I know that I can write directly to Program Zero (Address = 000h) - the program does that by default, and I know that I can use the "Open Project Dialog" function to load finished programs to the places I want ...!... But how do I "persuade" the program save to another program...
by Admiral_dk
Mon Oct 09, 2017 5:31 am
Forum: FV-1 hardware questions
Topic: Board bringup issues
Replies: 14
Views: 11945

Zeners are NOT alike and almost all the old models are sh!.e ..! Datasheets are unfortunately not very thrust worthy around and below the zener point - not the same as the reverse leakage current .... If we are talking about those with a max. of 500mW. - I exclusively use BZX79Cxx as the leaded and ...