Freedv on ST32F4discovery board

454 views
Skip to first unread message

phil G0EPX

unread,
Apr 21, 2015, 3:12:54 PM4/21/15
to digita...@googlegroups.com
Has anyone managed to compile the source code and get it running on the stm32f4discovery. I am almost there but a few issues with compiling the source code

siegfried jackstien

unread,
Apr 23, 2015, 3:05:07 PM4/23/15
to digita...@googlegroups.com
P L E A S E ... if you get it running then we could easy implement it in the
m0nka transceiver (standalone sdr for shortwave with stm32 inside) ... THAT
WOULD BE GREAT ... freedv INCLUDED in the rig

Dg9bfc

Sigi



> -----Ursprüngliche Nachricht-----
> Von: digita...@googlegroups.com [mailto:digita...@googlegroups.com]
> Im Auftrag von phil G0EPX
> Gesendet: Dienstag, 21. April 2015 19:13
> An: digita...@googlegroups.com
> Betreff: [digitalvoice] Freedv on ST32F4discovery board
>
> Has anyone managed to compile the source code and get it running on the
> stm32f4discovery. I am almost there but a few issues with compiling the
> source code
>
> --
> You received this message because you are subscribed to the Google Groups
> "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to digitalvoice...@googlegroups.com.
> To post to this group, send email to digita...@googlegroups.com.
> Visit this group at http://groups.google.com/group/digitalvoice.
> For more options, visit https://groups.google.com/d/optout.


David Rowe

unread,
Apr 23, 2015, 4:50:22 PM4/23/15
to digita...@googlegroups.com
It's already running on the STM32F4 - all the source is available in
codec-dev. I am happy answer questions from anyone who is willing to
put the effort into porting it to other platforms.

- David

David Rowe

unread,
Apr 23, 2015, 4:52:09 PM4/23/15
to digita...@googlegroups.com
Most of the development for the SM1000 was done on the Discovery.

- David
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To post to this group, send email to digita...@googlegroups.com
> <mailto:digita...@googlegroups.com>.

phil G0EPX

unread,
Apr 24, 2015, 5:52:52 AM4/24/15
to digita...@googlegroups.com
I have tried several versions and tried to build under linux and windows but all fail. Please could you post a link of working source code


On Thursday, April 23, 2015 at 9:52:09 PM UTC+1, DavidRowe wrote:
Most of the development for the SM1000 was done on the Discovery.

- David

On 22/04/15 04:42, phil G0EPX wrote:
> Has anyone managed to compile the source code and get it running on the
> stm32f4discovery. I am almost there but a few issues with compiling the
> source code
>
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com

phil G0EPX

unread,
Apr 24, 2015, 6:28:03 AM4/24/15
to digita...@googlegroups.com
The latest version I found was  at https://github.com/freedv/codec2 
I followed the readme file, After the first make i get  
#error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
with other errors
I edited stm32f4xx.h for the correct st32F4 and the above error goes but I still have errors which i will post later
Phil 

phil G0EPX

unread,
Apr 24, 2015, 2:54:16 PM4/24/15
to digita...@googlegroups.com

One problem is the STM32F4xx_DSP_StdPeriph_Lib download link in the Makefile no longer exists  

siegfried jackstien

unread,
Apr 24, 2015, 4:11:21 PM4/24/15
to digita...@googlegroups.com
Ok david

I have only used in on a windoze machine ... and it works superb but I never
looked in the sources (will do so for sure ... grin)

... we will try to INCLUDE it in the rig (am , fm, lsb, usb, cw, dv ... just
select and grab the microphone)

Do you know the m zero nka qrp rig?? ... open source, open hardware sdr
based qrp transceiver (about 20-25w max) ... graphical display with spectrum
view ... all shortwave bands (and some users are working on adding 6m 4m 2m
etc.) ... all is open and free

And ... it is running on stm32 :-)

The stm is now just using about 10-20% (when running as a "normal"
transceiver) ... so if freedv does not eat more as 80% processor power ...
yepp then we could maybe include it in the rig

No additional box needed ... (but all depends on if we can INCLUDE it in the
firmware and if the processor power is enough)

Greetz

Sigi

Dg9bfc




> -----Ursprüngliche Nachricht-----
> Von: digita...@googlegroups.com [mailto:digita...@googlegroups.com]
> Im Auftrag von David Rowe
> Gesendet: Donnerstag, 23. April 2015 20:50
> An: digita...@googlegroups.com
> Betreff: Re: AW: [digitalvoice] Freedv on ST32F4discovery board

phil G0EPX

unread,
Apr 25, 2015, 3:20:38 PM4/25/15
to digita...@googlegroups.com
I have done a fresh install of the previous link, extracted the stm32 folder to /codec2_dev/
configured stm32f4xx.h for the correct processor
run make
all looks good until 
make[1]: Leaving directory `/home/phil/codec2_dev/stm32'
find STM32F4xx_DSP_StdPeriph_Lib_V1.1.0 -type f -name '*.o' -exec ar crs libstm32f4.a {} ";"
make: *** No rule to make target `../src/lpc.c', needed by `codec2_profile.elf'. Stop.
phil@phil-desktop:~/codec2_dev/stm32$ 

Has anyone got any thoughts on how to correct this compile error

David Rowe

unread,
Apr 25, 2015, 4:55:06 PM4/25/15
to digita...@googlegroups.com
Are you running make from codec2-dev/stm32, with the rest of codec2-dev
present? i.e. does ls ../src/lpc.c exist?
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To post to this group, send email to digita...@googlegroups.com
> <mailto:digita...@googlegroups.com>.

phil G0EPX

unread,
Apr 27, 2015, 12:54:35 PM4/27/15
to digita...@googlegroups.com

yes I am running make from codec2-dev/stm32, with the rest of codec2-dev 
present
but  ../src/lpc.c does not exist

Alexandru Csete

unread,
Apr 27, 2015, 3:48:29 PM4/27/15
to digita...@googlegroups.com
Phil,

You have previously referred to some repository on github. Have you
tried with the official (?) repository from sourceforge:

http://sourceforge.net/p/freetel/code/HEAD/tree/

That repository contains codec2-dev/ with both an stm32 subdirectory
and an existing src/lpc.c

Don't know where that github repository comes from. AFAIK the
sourceforge repository is *the official* one.

Alex

Matthew Pitts

unread,
Apr 28, 2015, 12:51:42 AM4/28/15
to digita...@googlegroups.com
Alex,

The github repository in question seems to belong to David Rowe, and further seems to be a mirror of the stable version of the SourceForge Codec2 and FDMDV2 repositories. Why the Codec2/src/lpc.c file appears to be missing in Paul's local clone is something I can't explain.

Matthew Pitts
N8OHU
--
Sent from my Moto X with K-9 Mail. Please excuse my brevity.

David Rowe

unread,
Apr 28, 2015, 1:03:10 AM4/28/15
to digita...@googlegroups.com
Actually it doesn't belong to me, I just use SVN. IIRC Joel Stanley
might have set it up.

- David

phil G0EPX

unread,
Apr 28, 2015, 2:28:22 PM4/28/15
to digita...@googlegroups.com


Ok got a lot further after the new install from http://sourceforge.net/p/freetel/code/HEAD/tree/ 
and setting up the paths

but still compile error

/home/phil/codec2-dev/stm32/../src/quantise.c:1337: undefined reference to `mel_cb'
/tmp/ccy6A0yX.o:/home/phil/codec2-dev/stm32/../src/quantise.c:1337: more undefined references to `mel_cb' follow
collect2: error: ld returned 1 exit status
make: *** [codec2_profile.elf] Error 1
phil@phil-desktop:~/codec2-dev/stm32$ 

Matthew Pitts

unread,
Apr 28, 2015, 2:37:36 PM4/28/15
to digita...@googlegroups.com
Phil,

I can confirm this one, as it happened to me yesterday. Not sure what's missing now.

Matthew Pitts
N8OHU



From: phil G0EPX <phil...@gmail.com>
To: digita...@googlegroups.com
Sent: Tuesday, April 28, 2015 2:28 PM
Subject: [digitalvoice] Re: Freedv on ST32F4discovery board

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To post to this group, send email to digita...@googlegroups.com.

phil G0EPX

unread,
Apr 28, 2015, 3:27:13 PM4/28/15
to digita...@googlegroups.com

quantise.c is a very old file
                                                             
 DATE CREATED: 31/5/92 

looks like it goes wrong here

68 int mel_bits(int i) {
69     return mel_cb[i].log2m;
70 }

David Rowe

unread,
Apr 28, 2015, 11:47:05 PM4/28/15
to digita...@googlegroups.com
Ok I think I know what's going on. I recently added a new quantiser
file to Cmakefiles in src, so this needed to be added to the Makefile in
stm32.

When you get it working pls send me a patch - this is the sort of issue
I really need help from the community for. I'm busy pushing other parts
of FreeDV forward.

Thanks,

David

On 29/04/15 03:58, phil G0EPX wrote:
>
>
> Ok got a lot further after the new install from
> http://sourceforge.net/p/freetel/code/HEAD/tree/
> <http://www.google.com/url?q=http%3A%2F%2Fsourceforge.net%2Fp%2Ffreetel%2Fcode%2FHEAD%2Ftree%2F&sa=D&sntz=1&usg=AFQjCNE2g1jbY31Rp35_TAHY_OOiu4mIug>
>
> and setting up the paths
>
> but still compile error
>
> /home/phil/codec2-dev/stm32/../src/quantise.c:1337: undefined reference
> to `mel_cb'
> /tmp/ccy6A0yX.o:/home/phil/codec2-dev/stm32/../src/quantise.c:1337: more
> undefined references to `mel_cb' follow
> collect2: error: ld returned 1 exit status
> make: *** [codec2_profile.elf] Error 1
> phil@phil-desktop:~/codec2-dev/stm32$
>
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To post to this group, send email to digita...@googlegroups.com
> <mailto:digita...@googlegroups.com>.

phil G0EPX

unread,
Apr 29, 2015, 4:19:23 PM4/29/15
to digita...@googlegroups.com


I have edited the makefile and managed to get a bit further my next error

/home/phil/codec2-dev/gcc-arm-none-eabi-4_7-2013q1/bin//arm-none-eabi-gcc -std=gnu99 -O0 -g -Wall -Tstm32_flash.ld -DSTM32F4XX -DCORTEX_M4 -mlittle-endian -mthumb -mthumb-interwork -nostartfiles -mcpu=cortex-m4 -fsingle-precision-constant -Wdouble-promotion -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__FPU_PRESENT=1 -D__FPU_USED=1 -DUSE_STDPERIPH_DRIVER -ISTM32F4xx_DSP_StdPeriph_Lib/Libraries/STM32F4xx_StdPeriph_Driver/inc -ISTM32F4xx_DSP_StdPeriph_Lib/Project/STM32F4xx_StdPeriph_Templates -ISTM32F4xx_DSP_StdPeriph_Lib/Libraries/CMSIS/Include -ISTM32F4xx_DSP_StdPeriph_Lib/Libraries/CMSIS/Device/ST/STM32F4xx/Include -DARM_MATH_CM4 -D__EMBEDDED__  -I../src -I../unittest -Iinc -Iusb_conf -Iusb_lib/cdc -Iusb_lib/core -Iusb_lib/otg -DPROFILE src/codec2_profile.c src/gdb_stdio.c src/stm32f4_machdep.c src/startup_stm32f4xx.s src/init.c src/system_stm32f4xx.c -o codec2_profile.elf  libstm32f4.a -lg -lnosys -lm
/tmp/ccITYfNp.o: In function `c2demo':
/home/phil/codec2-dev/stm32/src/codec2_profile.c:59: undefined reference to `codec2_create'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:60: undefined reference to `codec2_samples_per_frame'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:63: undefined reference to `codec2_bits_per_frame'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:85: undefined reference to `codec2_encode'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:87: undefined reference to `codec2_decode'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:104: undefined reference to `codec2_destroy'
/tmp/ccITYfNp.o: In function `c2speedtest':
/home/phil/codec2-dev/stm32/src/codec2_profile.c:118: undefined reference to `codec2_create'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:119: undefined reference to `codec2_samples_per_frame'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:123: undefined reference to `codec2_bits_per_frame'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:142: undefined reference to `codec2_encode'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:145: undefined reference to `codec2_decode'
/home/phil/codec2-dev/stm32/src/codec2_profile.c:151: undefined reference to `codec2_destroy'

phil G0EPX

unread,
May 1, 2015, 3:22:07 PM5/1/15
to digita...@googlegroups.com

Success at compiling the code at https://github.com/freedv/codec2 
download using the download zip button
Leave the entire structure intact
I unzipped the download to /home/phil/codec2-master
navigate to  /home/phil/codec2-master/stm32/
follow the readme.txt and set the paths and processor type
run make 
I got a error and had to move  arm_fft_bin_data.c and arm_fft_bin_example_f32.c from 
/home/phil/codec2-master/stm32/STM32F4xx_DSP_StdPeriph_Lib/Libraries/CMSIS/DSP_Lib/Examples/arm_fft_bin_example/ARM/ to 
master/stm32/STM32F4xx_DSP_StdPeriph_Lib/Libraries/CMSIS/DSP_Lib/Examples/arm_fft_bin_example
but I think that was because of the StdPeriph library version, still not sure what version it is
run make again from   /home/phil/codec2-master/stm32/
and success. 
Phil 

phil G0EPX

unread,
May 3, 2015, 3:42:39 PM5/3/15
to digita...@googlegroups.com
Freedv on RX working not perfect but works.
I used Freedv on the windows PC put it into TX mode, fed the audio out to the input of the DAC then the PC speakers to the output of the stm32f4 and readable audio, there is a delay but I an mot surprised now to connect to the FT857 and wait


phil G0EPX

unread,
May 22, 2015, 3:55:37 PM5/22/15
to digita...@googlegroups.com


Well been trying for weeks now. I have the sm1000.elf sm1000.bin files and put the elm file into the st32f4 discovery board and everything look good RX/TX working, analogue works good, perfect sine wave out in test mode but the digital audio quality is very poor on both RX and TX.
Has anyone managed to get this working properly or got any suggestions 
Phil

Steve

unread,
May 22, 2015, 4:12:23 PM5/22/15
to digita...@googlegroups.com
What does your Freedv GUI displays look like? SNR, constellation, spectrum, etc...

phil G0EPX

unread,
May 22, 2015, 4:22:06 PM5/22/15
to digita...@googlegroups.com
SNR is almost to the top, constellation does not look great despite changing audio levels and different input filtering, spectrum looks OK. I did think it could be a different processor mine has the STM32F407VGT6 and maybe its a timing issue or maybe I missed something 

yo5omt

unread,
Aug 19, 2015, 9:45:33 AM8/19/15
to digitalvoice
 Hi guys,
I am not an experienced programmer, just trying to make some tests with the STM32F4 Discovery board and Codec2.
I have some errors when compiling. Do you have any ideea what is it about ?
Thanks.

Here's the output:

/tmp/ccw3eceP.o: In function `mel_bits':
/home/mandylion/codec2-master/stm32/../src/quantise.c:70: undefined reference to `mel_cb'
/tmp/ccw3eceP.o: In function `encode_mels_scalar':
/home/mandylion/codec2-master/stm32/../src/quantise.c:1351: undefined reference to `mel_cb'
/tmp/ccw3eceP.o: In function `decode_mels_scalar':
/home/mandylion/codec2-master/stm32/../src/quantise.c:1380: undefined reference to `mel_cb'
/tmp/cccoLXUu.o: In function `freedv_open':
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:104: undefined reference to `cohpsk_create'
/tmp/cccoLXUu.o: In function `freedv_close':
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:173: undefined reference to `cohpsk_destroy'
/tmp/cccoLXUu.o: In function `freedv_comptx':
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:372: undefined reference to `cohpsk_get_test_bits'
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:377: undefined reference to `cohpsk_mod'
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:379: undefined reference to `cohpsk_clip'
/tmp/cccoLXUu.o: In function `freedv_comprx':
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:639: undefined reference to `cohpsk_demod'
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:641: undefined reference to `cohpsk_get_demod_stats'
/home/mandylion/codec2-master/stm32/../src/freedv_api.c:701: undefined reference to `cohpsk_put_test_bits'
collect2: error: ld returned 1 exit status
make: *** [codec2_profile.elf] Error 1


phil G0EPX

unread,
Aug 19, 2015, 10:04:52 AM8/19/15
to digitalvoice
Make sure all the paths are correct in the make file, also make sure you set the correct STM32F4??? as described in the readme file
Phil G0EPX

yo5omt

unread,
Aug 19, 2015, 1:43:21 PM8/19/15
to digitalvoice
I did modify the paths to the toolchain, peripheral lib. and processor in "stm32f4xx.h" file. it's going for some time, but it stops at that point. I don't know what else to try...
Thanks anyway, I appreciate the reply.

phil G0EPX

unread,
Aug 19, 2015, 2:40:47 PM8/19/15
to digitalvoice
It took me a long time but I got it to compile after trying several different peripheral library's and setting up the correct paths.
I have a working bin file you can drop into the discovery board with windows st-link utill which works on the stm32f407VG.
file attached 
Phil
sm1000.bin

Rob Frohne

unread,
Aug 19, 2015, 2:54:13 PM8/19/15
to digita...@googlegroups.com
Hi Phil,

Does your binary enable the STM32F4Discovery to work with digitalvoice?  Thanks!

73,

Rob
KL7NA
--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To post to this group, send email to digita...@googlegroups.com.

-- 
Rob Frohne, PhD, PE
Professor
EF Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075

phil goben

unread,
Aug 19, 2015, 3:03:10 PM8/19/15
to digita...@googlegroups.com

It does work but you need to be careful with the DAC input and output filtering, my attempt's do far have not been perfect so I am just waiting for the components to populate my smd PCB which is a copy of the official schematic.
Do not connect direct to the DAC pins it won't work
Phil

yo5omt

unread,
Aug 19, 2015, 3:03:16 PM8/19/15
to digitalvoice
Ok, I'll flash it as soon as I wire the board. I have st-link installed already on my linux/desktop.
Thanks.

Mihai

phil G0EPX

unread,
Aug 19, 2015, 3:11:16 PM8/19/15
to digitalvoice
 It will not use the Discovery built in mic or audio output you need to build a buffer on the correct pins as per the schematic
Phil 
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice+unsubscribe@googlegroups.com.

To post to this group, send email to digita...@googlegroups.com.
Visit this group at http://groups.google.com/group/digitalvoice.
For more options, visit https://groups.google.com/d/optout.

-- 
Rob Frohne, PhD, PE
Professor
EF Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice+unsubscribe@googlegroups.com.

David Rowe

unread,
Aug 19, 2015, 5:04:52 PM8/19/15
to digita...@googlegroups.com
Hi Guys,

Yes the sm1000 Makefile and build system needs some work - however some
one has stepped fwd to work on it and make it more turn key. Well done
Phil on getting it built.

The linking problems earlier in this thread are because more code has
been added to the Freedv API (the 700 mode) since we last built the
sm1000 firmware. A temporary solution may be to add the missing source
files.

The sm1000 firmware should run on the Discovery just fine, but as Phil
says you will need you own interface hardware for the 4 audio ports.

Cheers,

David

On 20/08/15 04:41, phil G0EPX wrote:
> It will not use the Discovery built in mic or audio output you need to
> build a buffer on the correct pins as per the schematic
> Phil
>
> On Wednesday, August 19, 2015 at 8:03:10 PM UTC+1, phil G0EPX wrote:
>
> It does work but you need to be careful with the DAC input and
> output filtering, my attempt's do far have not been perfect so I am
> just waiting for the components to populate my smd PCB which is a
> copy of the official schematic.
> Do not connect direct to the DAC pins it won't work
> Phil
>
> On Aug 19, 2015 7:54 PM, "Rob Frohne" <rob.f...@wallawalla.edu
>> <http://www.google.com/url?q=http%3A%2F%2Fsourceforge.net%2Fp%2Ffreetel%2Fcode%2FHEAD%2Ftree%2F&sa=D&sntz=1&usg=AFQjCNE2g1jbY31Rp35_TAHY_OOiu4mIug>
>>
>> and setting up the paths
>>
>> but still compile error
>>
>> /home/phil/codec2-dev/stm32/../src/quantise.c:1337:
>> undefined reference to `mel_cb'
>> /tmp/ccy6A0yX.o:/home/phil/codec2-dev/stm32/../src/quantise.c:1337:
>> more undefined references to `mel_cb' follow
>> collect2: error: ld returned 1 exit status
>> make: *** [codec2_profile.elf] Error 1
>> phil@phil-desktop:~/codec2-dev/stm32$
>>
>> --
>> You received this message because you are subscribed to the
>> Google Groups "digitalvoice" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send an email to digitalvoice...@googlegroups.com
>> <mailto:digitalvoice...@googlegroups.com>.
>> To post to this group, send email to
>> digita...@googlegroups.com
>> <mailto:digita...@googlegroups.com>.
>> <http://groups.google.com/group/digitalvoice>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
> --
> Rob Frohne, PhD, PE
> Professor
> EF Cross School of Engineering
> Walla Walla University
> 100 SW 4th Street
> College Place, WA 99324
> (509) 527-2075
>
> --
> You received this message because you are subscribed to the
> Google Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To post to this group, send email to
> digita...@googlegroups.com
> <mailto:digita...@googlegroups.com>.
> <http://groups.google.com/group/digitalvoice>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To post to this group, send email to digita...@googlegroups.com
> <mailto:digita...@googlegroups.com>.

siegfried jackstien

unread,
Aug 20, 2015, 2:31:54 AM8/20/15
to digita...@googlegroups.com
Hello phil

Would it be very difficult to port that to the f429??

I have BOTH discovery boards ... but I wanna use the discovery board with
display ... cause then you also could add a gui (selecting modes or
switching to a completely different digital mode like rtty or psk) ... maybe
a readout for the levels ... squelch setting with a slider etc

(yes I know all these things had to be programmed first ... but ... before
doing that I wanna ask if it is difficult to use on a different board)

Greetz

Sigi

Dg9bfc

(I want to make a base pcb with all needed add on parts that are also inside
sm1000 ... do you plan to do similar?!?

> -----Ursprüngliche Nachricht-----
> Von: digita...@googlegroups.com [mailto:digita...@googlegroups.com]
> Im Auftrag von phil G0EPX
> Gesendet: Mittwoch, 19. August 2015 18:41
> An: digitalvoice
> Betreff: [digitalvoice] Re: Freedv on ST32F4discovery board
> <http://www.google.com/url?q=http%3A%2F%2Fsourceforge.net%2Fp%2Ffreetel%2F
> code%2FHEAD%2Ftree%2F&sa=D&sntz=1&usg=AFQjCNE2g1jbY31Rp35_TAHY_OOiu4mIug>
> and setting up the paths
>
> but still compile error
>
> /home/phil/codec2-
> dev/stm32/../src/quantise.c:1337: undefined reference to `mel_cb'
> /tmp/ccy6A0yX.o:/home/phil/codec2-
> dev/stm32/../src/quantise.c:1337: more undefined references to `mel_cb'
> follow
> collect2: error: ld returned 1 exit status
> make: *** [codec2_profile.elf] Error 1
> phil@phil-desktop:~/codec2-dev/stm32$
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to digitalvoice...@googlegroups.com.
> To post to this group, send email to digita...@googlegroups.com.

siegfried jackstien

unread,
Aug 20, 2015, 2:40:03 AM8/20/15
to digita...@googlegroups.com
David

ARE BOTH modes now supported from sm1000 (you changed sampling to both run
on 8kc)???

I would like to port that to discoboard with f429 (and with display

Then we could easy add a gui for selecting modes, change settngs etc.

What do you think??

Dg9bfrc

Sigi



> -----Ursprüngliche Nachricht-----
> Von: digita...@googlegroups.com [mailto:digita...@googlegroups.com]
> Im Auftrag von David Rowe
> Gesendet: Mittwoch, 19. August 2015 21:05
> An: digita...@googlegroups.com
> Betreff: Re: [digitalvoice] Re: Freedv on ST32F4discovery board
> email to digitalvoice...@googlegroups.com.
> To post to this group, send email to digita...@googlegroups.com.

David Rowe

unread,
Aug 20, 2015, 3:04:25 AM8/20/15
to digita...@googlegroups.com
> ARE BOTH modes now supported from sm1000 (you changed sampling to both run
> on 8kc)???

Not yet. Will port 700(B/C) later in the year once they have stabilised.

- David

phil goben

unread,
Aug 20, 2015, 3:27:05 AM8/20/15
to digita...@googlegroups.com

I haven't tried on the f429 as I don't have on yet. My goal was to get it working first then add things later like led or LCD to display things like analogue test and digital mode as the bin file I posted defaults to analogue mode so you have to hold the select pin PD0 high then pull it low to change mode
Phil

siegfried jackstien

unread,
Aug 20, 2015, 1:49:59 PM8/20/15
to digita...@googlegroups.com
Hmmm i am guessing that it should run on both boards (but that is just a
guess)

I have to build the input and output circuits first ... (maybe on a
breadboard or experimental pcb) ... and then go from there

My idea behind is an sm2000 (grin)

Should do freedv (both modes) ... with display for user gui

And maybe later add other digital modes

Greetz

Sigi

Dg9bfc





> -----Ursprüngliche Nachricht-----
> Von: digita...@googlegroups.com [mailto:digita...@googlegroups.com]
> Im Auftrag von phil goben
> Gesendet: Donnerstag, 20. August 2015 07:27
> An: digita...@googlegroups.com
> Betreff: Re: AW: [digitalvoice] Re: Freedv on ST32F4discovery board
> <mailto:digitalvoice%2Bunsu...@googlegroups.com> .
> > To post to this group, send email to
> digita...@googlegroups.com.
> > Visit this group at http://groups.google.com/group/digitalvoice.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice%2Bunsu...@googlegroups.com> .
Reply all
Reply to author
Forward
0 new messages