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
Search found 155 matches
- Wed Jun 10, 2015 4:06 pm
- Forum: Flowcode V6
- Topic: Using FFT_test.fcfx
- Replies: 59
- Views: 53805
- 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
Yes commercial project.
I don't have a hard deadline but I am being pushed.
Larry
- 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
Thank you. A solution would be awesome.
Larry
- 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...
- 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. Larry
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. Larry
- 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...
- 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
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
- 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.
Larry
Would you please take a look at my FFT program, does not seem to work right.
Larry
- 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
It now works as expected.
Larry
- 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.
Larry
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.
Larry
- 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...
- 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...
- 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
You were right on. Program is running, but not as expected. I will play with it some more so I may better understand.
Larry
- 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
Larry
- 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. 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
I think this is the output file you are asking about. 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
- 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: Larry
This is the modified program: Larry
- 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
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
- 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...
- 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
- 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
That helps a lot!
Larry
- 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...
- 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...
- 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
Ok, good news. Then I do understand what is going on.
Thank you very much for your help.
Larry
- 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
Thank you. I posted another question there.
Larry
- 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...