logo
Welcome, Guest. Please Login or Register.
20. April 2024, 07:57:48


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: stm32f4 vs stm32f7 compatibility <- zurück vorwärts ->
Pages: 1 [2] Go Down Print
   Author  Topic: stm32f4 vs stm32f7 compatibility  (Read 9333 times)
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:stm32f4 vs stm32f7 compatibility
« Reply #15 on: 14. September 2017, 09:41:30 »

Hello Markus,

Quote from: dl8mby on 14. September 2017, 08:42:41
Sorry Danilo,

one final question ;-)

The FW inside the github for the old mchf and the new OV I40 UHSDR
compiles for both of the MC's F4 and F7 according to the switches inside
the Makefile - right?
It is a bit differently organized, but there are some switches in the Makefile. Have a look.

Quote:
Means this that the FW code include a huge amount of #defines to brunch
during compil time through the hw specific code?
And I do not speak about the #defines inside the HAL but about the community
code developed by you and others.

Markus
By using the HAL we get away with a fairly well controlled amount of these switches, but yes there is a share of these
in the code in the places where the architectures of the TRXs differ, not so many really related to the F4 vs. F7. Not too many, since we try to keep this properly organized.
So even if both TRX variants would use the same microprocessor, these differences would exist.
The processor related differences are handled  below basesw/{mchf,ovi40} to 95% or something like that.

73
Danilo
Logged
dl8mby
alter Hase
****

Offline

Posts: 363



Ich liebe dieses Forum!

View Profile
Re:stm32f4 vs stm32f7 compatibility
« Reply #16 on: 14. September 2017, 10:06:28 »

Dear Andreas,

I had noticed that there are switches inside the Makefile to distinguish
between the F4 or F7 hw. My question focusing on the effort to be done
to write code for both scenarios F4 (old staff) and F7 (the new one).

Is the C code divided in different paths separated by #defines or how
huge is the effort to maintain both architectures.


vy73
Markus
 

Logged
dl8mby
alter Hase
****

Offline

Posts: 363



Ich liebe dieses Forum!

View Profile
Re:stm32f4 vs stm32f7 compatibility
« Reply #17 on: 14. September 2017, 10:10:00 »

Sorry, Danilo had already answered my question.

Thanks a lot.

Markus


Logged
yo2ldk
Neuling
*

Offline

Posts: 22



I love SDR & OVI40 !

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #18 on: 14. September 2017, 11:33:04 »

OK, now is clear - thank you all for clarification ! 
I wait for OVI40 , as I see, that will be much over mchf
as performance and development.
  BTW is some schematics file /info available or need to wait until is ready?
  Have you consider to use a little bit large screen, and maybe for a better audio coder/decoder, at least at 192kHz?
just some idea if is applicable to OVI40.
Logged

Vy 73,
de yo2ldk - Alex
    kn05WH
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:stm32f4 vs stm32f7 compatibility
« Reply #19 on: 14. September 2017, 11:36:36 »

Hi,
1. yes: 3.2" vs. 2.8" to keep the formfactor the same and also to keep the power consumption low)
2. No. However due to the separation of audio and iq codec (we have 2) we may go up to 96khz (this is max for WM9831) at some point.



« Last Edit: 14. September 2017, 11:37:20 by DB4PLE » Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #20 on: 14. September 2017, 11:42:28 »

You can find schematics (preliminary) here:
https://www.amateurfunk-sulingen.de/forum/attachments/mchf_ui_i40_15.pdf
...and 3D model here:
https://www.amateurfunk-sulingen.de/forum/attachments/UHSDR_ui_OVI40_17.pdf

...and photo of first prototype here:
https://www.amateurfunk-sulingen.de/forum/attachments/I40_ui.png

vy 73
Andreas
« Last Edit: 14. September 2017, 11:48:30 by DF8OE » Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
yo2ldk
Neuling
*

Offline

Posts: 22



I love SDR & OVI40 !

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #21 on: 14. September 2017, 14:35:49 »

TY Andreas,

for the schematic; the 3D model i found it earlier.
Under LCD in right is a place for one more push button,
this can be used as memory switch mode, then the others
from left can become M1 to M5 (for CW, RTTY messages fro ex.)
or, maybe you have another good solution.
STM32F7 have so many I/O, so PCB can be a little high or longer,
but I see you keep it the mchf standard; even if OVI40 will be 85%
another transceiver. 

73 de alex
Logged

Vy 73,
de yo2ldk - Alex
    kn05WH
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #22 on: 14. September 2017, 15:04:20 »

Hi Alex,

yes: we want to be compatible with the 30p header used on mcHF. But we have additional headeres on our UI board - and the three buttons under the encoders do have different functions than the integrated buttons  in encoders. We do have one more button betwee power and BANDM. PCB is alredy in betatest state - so no more changings can be done now. But our project will consist of more than two PCBs. Please stay tuned 

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
KevinA
Neuling
*

Offline

Posts: 16



It's English

View Profile WWW E-Mail
Re:stm32f4 vs stm32f7 compatibility
« Reply #23 on: 04. October 2017, 03:15:31 »

Quote from: DB4PLE on 14. September 2017, 11:36:36
Hi,
1. yes: 3.2" vs. 2.8" to keep the formfactor the same and also to keep the power consumption low)
2. No. However due to the separation of audio and iq codec (we have 2) we may go up to 96khz (this is max for WM9831) at some point.

Has anyone done the math on sample size/sample rate/ MCU clock?
48Khz sample rate with 16 bit and 180Mhz clock F4xx (current)
96Khz sample rate with 32 bit and 216Mhz clock F7xx
192Khz sample rate with 32 bit and 400Mhz clock H7xx

What is gained with higher sample rates? What is gained with larger sample sizes?
If the MCU did nothing but DSP on the I/Q what could the maximum size and rate be?
Thanks
Kevin K2AAE

 

Logged

Kevin K2AAE
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #24 on: 04. October 2017, 06:32:34 »

Hi Kevin,

using higher sample rates increases the range in spectrum / scope. Yaou can look at a wider span. We will do that oa OVI40 - it is probably not possible on mcHF because we are on the edge of RAM and audio interrupt, where important maths are done, would explode.

Using higher resolution (bits) does only produce  CPU load and increases RAm consumption. You do win in theory 3dB - in practise nothing.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
KevinA
Neuling
*

Offline

Posts: 16



It's English

View Profile WWW E-Mail
Re:stm32f4 vs stm32f7 compatibility
« Reply #25 on: 04. October 2017, 17:41:38 »

Another 'quick' question: What DSP processing is needed for the I/Q codec?
Logged

Kevin K2AAE
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:stm32f4 vs stm32f7 compatibility
« Reply #26 on: 04. October 2017, 18:24:05 »

It is possible to start "a quick question" about this - but impossible to give a "quick answer". Math is complicated and complete answer would fill pages. You find some informaitons in GutHub WIKI about DSP and if that does not satisfy you the only quick possiblility is to look at the code...

But we will do a complete restructuring of DSP routines to WDSP the next months so I think it does not make much sense to dig into the actual DSP code...

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
Pages: 1 [2] Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: stm32f4 vs stm32f7 compatibility <- zurück vorwärts ->
Jump to: 


Login with username, password and session length

 Es wird die Verwendung von Browsern die auf der "Blink"-Engine basieren und mindestens
1024x768 Pixel Bildschirmauflösung für die beste Darstellung empfohlen
 
Amateurfunk Die Beiträge sind, sofern nicht anders vermerkt, unter der folgenden Lizenz veröffentlicht:
GNU Free Documentation License 1.3 GNU Free Documentation License 1.3
verbindet!
Powered by MySQL Powered by PHP Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
- modified by Andreas Richter (DF8OE)
Impressum & Disclaimer
Valid XHTML 1.0! Valid CSS!