Search found 155 matches
- Mon Mar 25, 2013 11:49 pm
- Forum: Flowcode V5
- Topic: dsPIC and EB076
- Replies: 7
- Views: 4905
Re: dsPIC and EB076
Here is what I found with the "FAT-Controller" software Micro-LCD Hardware Revision: 10 Firmware Revision: 22 H res: 240 V res: 320 I update with "PmmCLoader" with the file"uLCD-32PT-I-SGC-R22" After this, the version is still the same. I use the HS speed on EB064. It is only 12MHz. With this option...
- Mon Mar 25, 2013 10:35 pm
- Forum: Flowcode V5
- Topic: Higher ADC resolution using oversampling:16 bits with 12
- Replies: 4
- Views: 4173
Re: Higher ADC resolution using oversampling:16 bits with 12
Still no answer for the ADC RAW bug...
- Mon Mar 25, 2013 5:49 pm
- Forum: Flowcode V5
- Topic: dsPIC and EB076
- Replies: 7
- Views: 4905
Re: dsPIC and EB076
I found the problem. It comes from the "try to update to 57600bps" in the init code. It works if I comment the code like this: #if (%a_MX_GLCD_BUSTYPE != 0) // %a_UART_Send(0x51); //Update Baud Command // %a_UART_Send(0x0C); //Update to 57600bps // %a_UART_Receive(255); //Try to collect Ack // %a_UA...
- Mon Mar 25, 2013 2:53 pm
- Forum: Flowcode V5
- Topic: dsPIC and EB076
- Replies: 7
- Views: 4905
Re: dsPIC and EB076
I have the same problem. EB076+30F3014 This is my test program: tftv03.fcf_pic16 It works software uart but not with hardware uart. I should only have to switch between soft/hardware2 because I am on hardware pins I test it on RX1/TX1 and TX2/RX2 with no success. What is strange is that connection i...
- Sat Mar 23, 2013 9:17 pm
- Forum: Flowcode V5
- Topic: PID control with DSP
- Replies: 4
- Views: 3802
Re: PID control with DSP
virtual pidV04bugcor.fcf_pic16 With the code from last post, the results are better: the output increase with a static error. There are still some problems to solve: - There is no limit for the output - error /I=0 when error is small and I is big with integer calculation. This mean that a small sta...
- Sat Mar 23, 2013 7:40 pm
- Forum: Flowcode V5
- Topic: PID control with DSP
- Replies: 4
- Views: 3802
PID with DSP: not ready to use
I performed some test on motor and as5030 encoder. The P control work properly but not de PI control! Here is a simple test program: virtual pidV02bug.fcf_pic16 With a static error you should have an increasing output. That's not the case. You write in your C code: Out = P * (Error - Prev_Error + (E...
- Thu Mar 21, 2013 9:49 am
- Forum: Flowcode V5
- Topic: FFT on DSPIC
- Replies: 21
- Views: 14845
Re: FFT on DSPIC
We can't have more than 15 level. Here is a test program with a virtual signal input: test15gbenglcdv06.fcf_pic16 The input signal is made with: entre1 = 32000 * sin (teta) The max level from the FFT sould be: sqr(32000)=179 The max level is 15. Bank Leval 0 15 1 0 2 0 3 0 4 0 5 1 6 0 7 0 8 0 9 0 10...
- Mon Mar 18, 2013 4:29 pm
- Forum: Flowcode V5
- Topic: PID control with DSP
- Replies: 4
- Views: 3802
PID control with DSP
I will test in a short time on hardware the pid control with DSP control on flowcode DsPIC. There is no macro which allow to live control the P, I and D parameters. Adjusting PID with software(with DSP control properties) is not a recommended method. Can matrix staff do a macro to live control PID? ...
- Thu Mar 14, 2013 7:05 pm
- Forum: Flowcode V5
- Topic: FFT on DSPIC
- Replies: 21
- Views: 14845
Re: FFT on DSPIC
Is it possible to do a 256 buffer-16bits=512 bytes? For a 30F3014, SRAM=2048. This mean 3 buffers and 512 bytes for extra datas. 30F6014 have SRAM=8192 so a 512 byte should be possible(it is 80 tqfp I know). Can the matrix staff do that because a 32bytes buffer is really too short to be used in most...
- Mon Mar 11, 2013 12:55 pm
- Forum: Flowcode V5
- Topic: FFT on DSPIC
- Replies: 21
- Views: 14845
Re: FFT on DSPIC
This one with virtual analog signal work properly: test15gbenv03.fcf_pic16 This is a calculated signal from the sin(teta). You can change the period with div in constants. YannR performed tests with true analog signal. He will post his results as soon as available. The 32 bit size buffer is really t...
- Fri Mar 08, 2013 9:37 pm
- Forum: Flowcode V5
- Topic: FFT on DSPIC
- Replies: 21
- Views: 14845
Re: FFT on DSPIC
Thank you benj
The example now compile on Flowcode for DSPIC(except the "Add_To_Buffer(data)" which need to be changed to string).
Yannr, did you test this on the dsPIC board?
The example now compile on Flowcode for DSPIC(except the "Add_To_Buffer(data)" which need to be changed to string).
Yannr, did you test this on the dsPIC board?
- Wed Mar 06, 2013 9:26 pm
- Forum: Flowcode V5
- Topic: FFT on DSPIC
- Replies: 21
- Views: 14845
Re: FFT on DSPIC=can't be used
Why don't we have an answer from matrix staff? There is no working example for FFT. The other DSP examples compile properly but not this one. The yannr example can compile if you remove "ReadSingleBank_FFT" but not if you disable icon. That's very strange... Thank you Yannr. I think that's a good id...
- Mon Mar 04, 2013 10:54 pm
- Forum: Flowcode V5
- Topic: Flowcode v5.5 with DSP for all variants
- Replies: 59
- Views: 103851
Re: Flowcode v5.5 with DSP for all variants
Yannr, I tried to test your fft and matrix fft example 10. The matrix example is strange because the Add to buffer need a STRING and data(INTEGER) is inside. If you click OK, there is a parameter1 is invalid:"Can not convert to type "string". The matrix example cannot edit with the dspic5.5.2.1 It s...
- Sat Feb 23, 2013 4:22 pm
- Forum: Flowcode V5
- Topic: Higher ADC resolution using oversampling:16 bits with 12
- Replies: 4
- Views: 4173
Re: Higher ADC resolution using oversampling:16 bits with 12
I did more experiments with RAW ADC. I think there is a bug(or I don't understand how it works). My program works properly if I do: Loop 4 times ADC_RAW_Configure_Channel ADC_RAW_Sample_Channel_Int ADC_RAW_Disable_Channel() end loop By it doesn't work if I do ADC_RAW_Configure_Channel Loop 4 times A...
- Mon Feb 11, 2013 10:49 pm
- Forum: Flowcode V5
- Topic: Higher ADC resolution using oversampling:16 bits with 12
- Replies: 4
- Views: 4173
Higher ADC resolution using oversampling:16 bits with 12
It is possible to have more than 1 bit resolution with oversampling 16 bits resolution was possible with a 12 bit ADC in our tests (see text below). A good starting document can be found here : http://www.atmel.com/images/doc8003.pdf For this, the noise must be 1 LSB minimum(least significant bit) W...
- Sun Dec 09, 2012 9:28 pm
- Forum: E-blocks
- Topic: EB023-00-02 socket status
- Replies: 5
- Views: 6762
Re: EB023-00-02 socket status
I think I found the solution. The Status codes in flowcodev5 help are valid for EB023V1 only. You can find the status code for EB023V2 in the W5100 datasheet: http://www.wiznet.co.kr/Sub_Modules/en/product/product_detail.asp?Refid=82&page=1&cate1=5&cate2=7&cate3=26&pid=1011&cType=2#tab See p28 Matri...
- Wed Dec 05, 2012 9:56 pm
- Forum: Flowcode V5
- Topic: Flowcode for dsPIC - DSP Support Poll
- Replies: 25
- Views: 48573
Re: Flowcode for dsPIC - DSP Support Poll
Fantastic!
I am waiting for Yannr student results on fft
If this works, I will build a guitar driven car...
But we are waiting for the brain driven car (Yannr will explain this one day...)
I am waiting for Yannr student results on fft
If this works, I will build a guitar driven car...
But we are waiting for the brain driven car (Yannr will explain this one day...)
- Wed Dec 05, 2012 9:49 pm
- Forum: E-blocks
- Topic: EB023-00-02 socket status
- Replies: 5
- Views: 6762
Re: EB023-00-02 socket status
I can't find a code example for this V2 on the matrix website.
We want to use UDP.
Is the only thing to do is check the EB023-02 fot migration from v1 to v2?
We want to use UDP.
Is the only thing to do is check the EB023-02 fot migration from v1 to v2?
- Fri Nov 02, 2012 4:02 pm
- Forum: E-blocks
- Topic: Mechanical energy storage
- Replies: 0
- Views: 2630
Mechanical energy storage
Here is a new video of L'heureux cycleur = Happy cycling This is a student project INSA Lyon 1er cycle 2011-2012 [youtube=https://www.youtube.com/watch?v=9PEU1eNTUko][/youtube] The energy from the cycler can be stored in a spring. The eblock display, the sensor and the microcontroler allow to see ho...
- Fri Nov 02, 2012 3:45 pm
- Forum: E-blocks
- Topic: New gLCD E-blocks
- Replies: 11
- Views: 8891
Re: New gLCD E-blocks
I did one project with a 4d system display before it was mount on an eblock. The development was not very easy because no simulation was possible. It is possible to do a nice design with circles, point, text... But the best and quickest way to design nice screens is the use of bmp or jpg images from...
- Tue Oct 16, 2012 9:10 pm
- Forum: Flowcode V4
- Topic: Segway like véhicle with Flowcode DSpic
- Replies: 6
- Views: 8287
Re: Segway like véhicle with Flowcode DSpic
If you want to see the E-Blocks inside.
This picture is during test before painting...
This picture is during test before painting...
- Tue Oct 16, 2012 9:02 pm
- Forum: Flowcode V4
- Topic: Tell us about your projects...
- Replies: 29
- Views: 63358
Re: Tell us about your projects...
THe Segway was updated in 2012-2013.
It uses Flowcode dsPIC and EBlocks
More information here:
http://www.matrixmultimedia.com/mmforum ... 29&t=10251
And the vidéo here:
[/youtube]
It uses Flowcode dsPIC and EBlocks
More information here:
http://www.matrixmultimedia.com/mmforum ... 29&t=10251
And the vidéo here:
[/youtube]
- Tue Oct 16, 2012 8:53 pm
- Forum: Forums d'aide en français
- Topic: Derniers jours Elektor: Commande des EBlocks par tel Android
- Replies: 0
- Views: 3067
Derniers jours Elektor: Commande des EBlocks par tel Android
Plus que quelques jours en Kiosque pour lire l'article ANDROCAR du numéro d'octobre d'Elektor. Celui-ci vous explique comment commander un véhicule à base d'E-Blocks avec un télèphone Android. Ensuite, il faudra aller chercher l'article ici: http://www.elektor.fr/magazines/2012/octobre/androcar.2269...
- Mon Oct 08, 2012 4:48 pm
- Forum: Flowcode V5
- Topic: Flowcode for dsPIC - DSP Support Poll
- Replies: 25
- Views: 48573
Re: Flowcode for dsPIC - DSP Support Poll
Hello Benj, Maybe I am wrong but the C30 compiler is supposed to have the FFT library included. See here: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023598 Why don't you use this one in flowcode? I didn't find more doc but it is supposed to be in: C:\Progr...
- Wed Oct 03, 2012 1:46 pm
- Forum: Flowcode V5
- Topic: Flowcode for dsPIC - DSP Support Poll
- Replies: 25
- Views: 48573
Re: Flowcode for dsPIC - DSP Support Poll
Thank you
Do you have some links to documents on how to perform a FFT with dsPIC.
My colleague need it quickly so he will try to do it in C or manual calculation.
You should have some news from him here...
Do you have some links to documents on how to perform a FFT with dsPIC.
My colleague need it quickly so he will try to do it in C or manual calculation.
You should have some news from him here...