Search found 155 matches

by SHORTCIRCUIT
Wed Jun 10, 2015 4:06 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Ben

Thanks for the update. Eagerly awaiting a solution.

By the way, this is not a chip specific problem I hope, as I intend to migrate to 30F3012 (18 pin) as the final chip. I'm presently using the 4013 because of the extra peripherals to aid in the diagnostics as the program evolves.

Larry
by SHORTCIRCUIT
Wed Jun 10, 2015 1:02 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Ben
Yes commercial project.
I don't have a hard deadline but I am being pushed.
Larry
by SHORTCIRCUIT
Tue Jun 09, 2015 3:30 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Ben
Thank you. A solution would be awesome.
Larry
by SHORTCIRCUIT
Mon Jun 08, 2015 11:27 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

I just noticed in the console that the Input buffer contains 32 pieces of data which is correct for the buffer size allocated, however after the FFT is processed the console shows 192 pieces of data for FFT_Real buffer and the same for FFT_imag buffer which also has 32 spaces allocated for each. Thi...
by SHORTCIRCUIT
Mon Jun 08, 2015 8:20 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac
Wave form is sine wave from a function generator. I tried 0 center and also 0 at the bottom on the sine wave with the same results in both cases. I also checked the input sine wave on a scope.
500 hz.jpg
500 hz.jpg (26.37 KiB) Viewed 16393 times
Larry
by SHORTCIRCUIT
Sun Jun 07, 2015 2:59 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac Thank you very much for your reply. I did not know that about the Interrupt and there are so many warnings that I do not know how to interpret I basically ignore them which I guess is not smart. Every time you post I learn something. I corrected the read data 31 to 32 by changing the count to...
by SHORTCIRCUIT
Thu Jun 04, 2015 5:04 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Benj
I sent you a PM asking you to check the above post with no reply. I need to know if I am doing something wrong or if there is a problem with the FFT module because the program seems to simulate ok but does not work properly after it has been compiled to chip.
Larry :(
by SHORTCIRCUIT
Wed Jun 03, 2015 1:05 am
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac
Would you please take a look at my FFT program, does not seem to work right.
FFT_Test_2.fcfx
(17.65 KiB) Downloaded 403 times
Larry
by SHORTCIRCUIT
Tue Jun 02, 2015 2:07 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Ben
It now works as expected.
Larry :D
by SHORTCIRCUIT
Tue Jun 02, 2015 3:41 am
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Ben

Please check the attached program. ADC does not seem to be working as expected. with raw enabled the adc only reads 1 time when the program is loaded to the chip. Yet in simulation it works ok.
ADC_Test.fcfx
(11.55 KiB) Downloaded 405 times
Larry
by SHORTCIRCUIT
Mon Jun 01, 2015 11:19 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac Thank you for the response. I am wondering if there is an error in Flowcode 6 for chip 30F4013. I did a search and found nothing. I am using AN8 which is on Port BH. I wrote a program to just read ADC using RawSampleInt with raw enable at the start of the program and it would only read the AD...
by SHORTCIRCUIT
Sun May 31, 2015 11:22 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac Can you tell me why for the ADC conversion the "RawSampleInt" is used instead of say "Get Int". Also, the above ref program uses Raw enable only once at the start of the program which seems to simulate ok but when I load it to a real chip the ADC only reads once at start-up. I wrote a test AD...
by SHORTCIRCUIT
Sat May 30, 2015 10:13 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Thank you Jac

You were right on. Program is running, but not as expected. I will play with it some more so I may better understand.

Larry
by SHORTCIRCUIT
Sat May 30, 2015 9:38 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

I cut the buffers to 128 and then it seemed to compile to the chip. It didn't run when it got there but at least it got there. That's one step forward.

Larry
by SHORTCIRCUIT
Sat May 30, 2015 9:21 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac

I think this is the output file you are asking about.
FFT_Test.msg.txt
(2.79 KiB) Downloaded 441 times
I can cut the size of the buffers in half or even smaller as I am only interested in Audio up to 1200 HZ

Larry
by SHORTCIRCUIT
Sat May 30, 2015 7:50 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

I modified the FFT_test.fcfx program for 30F4013 chip but it will not program to that chip via the EB064 multi programmer board. Am I doing something wrong.

This is the modified program:
FFT_Test.fcfx
(14.3 KiB) Downloaded 467 times
Larry
by SHORTCIRCUIT
Fri May 29, 2015 1:15 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi Jac

Thank you very much for the reply. That is exactly what I was after. Your explanation helps a lot and the reading references you pointed to are also helpful. I have already scanned through them, but I will have to read them slowly a couple of more times.

Larry
by SHORTCIRCUIT
Fri May 29, 2015 3:02 am
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Hi If I read a bin after the FFT is performed using "ReadFrequencyBank", I see in the help file that a byte will be returned. What will that byte represent? For instance 00 might mean no frequencies in that bin range and inversely FF might mean a large amount of frequencies in that bin range of freq...
by SHORTCIRCUIT
Wed May 27, 2015 12:19 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Thanks Ben
by SHORTCIRCUIT
Mon May 25, 2015 1:58 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Re: Using FFT_test.fcfx

Thanks Hyper

That helps a lot!

Larry
by SHORTCIRCUIT
Mon May 25, 2015 12:50 am
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 53805

Using FFT_test.fcfx

Hi Ben I have been studying the above subject Program from the component/DSP/FFT help page, so that I might understand using the DSP-FFT component. I am starting to get a little bit of a handle on it but I have 2 things at the moment that are causing me confusion. First: The program uses a couple of...
by SHORTCIRCUIT
Thu May 21, 2015 4:31 pm
Forum: Flowcode V6
Topic: EB064 dsPIC Multiprogrammer Board
Replies: 1
Views: 2103

EB064 dsPIC Multiprogrammer Board

Hi I am trying to work through the DSP training course and having a minor problem. I loaded the 1st program, Audio through, by compile to chip and it seems to be working OK. When I plug power to the board, it constantly resets, which I can tell by the gLCD display initializes constantly. After revie...
by SHORTCIRCUIT
Thu May 21, 2015 1:10 pm
Forum: E-blocks
Topic: EB085 DSP input board
Replies: 9
Views: 11612

Re: EB085 DSP input board

Hi Ben
Ok, good news. Then I do understand what is going on.

Thank you very much for your help.

Larry
by SHORTCIRCUIT
Wed May 20, 2015 3:16 pm
Forum: Flowcode V6
Topic: DSP training course
Replies: 10
Views: 5861

Re: DSP training course

Hi Ben

Thank you. I posted another question there.

Larry
by SHORTCIRCUIT
Wed May 20, 2015 3:05 pm
Forum: E-blocks
Topic: EB085 DSP input board
Replies: 9
Views: 11612

Re: EB085 DSP input board

Hi Ben That was extremely helpful. I have a much better understanding. I do have 1 loose end. The explanation in the DSP training manual. Calc.jpg If I understand it correctly, then Initially should read .upper 00001010 and not (101001100) and .lower 10000000 and not (10000001) to account for the le...