Diskussions- und Newsboard des DARC-Ortsverbandes I40
allgemeine Kategorie => UHSDR Firmware => Message started by: SP3OSJ on 18. October 2019, 18:43:33

Title: Lapwing support of UHSDR
Post by: SP3OSJ on 18. October 2019, 18:43:33

Hi

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: SP9BSL on 18. October 2019, 20:58:30

Quote from: SP3OSJ on 18. October 2019, 18:43:33
I have no problem showing what I'm doing now.


So do I...

Hi all,
the heart of my solution is fully functional, all bands RX and TX with good results. Full duplex receive/low power transmit on HF, 6m, 4m, 2m. Fpga resources usage level <49%, which means plenty room for second receiver in the future. Ths is very time consuming process - ordinary hardware development: idea, simulation, verification in circuit, measurements and again simulation and so on... It is not so simply as copy and paste. Also a lot of work with fpga development. Now designing the rest of the boards and case.

Example receive on 2m:
[youtube 2_ZgxQm4eOQ]

and of course working board:

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: SP9BSL on 19. October 2019, 07:55:18

now I know why Artur cleans his desk so pedantic, noone is able to hook up on details, sorry I don't have time for this...

Thomas - yes the medicine for soldering iron: just H2O but wiped out a bit

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: BO_Andy on 19. October 2019, 08:55:52

Sage mal Thonas woher hast du die MCU bezogen habe hier auch noch 1.8 Bord unbestückt zu liege und da kommt man dann schon ins überlege

Lg BO_Andy

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DL8EBD on 19. October 2019, 09:08:57

von Mouser... aktuell 65 am Lager
https://www.mouser.de/ProductDetail/511-STM32H743ZIT6U (https://www.mouser.de/ProductDetail/511-STM32H743ZIT6U)

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: BO_Andy on 19. October 2019, 09:25:45

Der Preis geht aber mal gucke ob ich jemanden finde der bei mouser eh bestellen muss bzw mehr Brauch wie ich. Die 13 Euro wäre es mir auf jeden Fall wert.

Lg BO_Andy

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DL8EBD on 19. October 2019, 09:30:43

Andy, habe ich schon oft empfohlen:

https://www.mikrocontroller.net/topic/464480#new (https://www.mikrocontroller.net/topic/464480#new)

erstes Posting vom David beachten, bzw. dem Wiki Artikel folgen....


Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: BO_Andy on 19. October 2019, 11:13:40

Danke für denn Tipp Thomas ich ringe grade mit mir ob ich wirklich nochmal ein mchf aufbaue. Habe ja noch ein umbestückte Platinensatz 0.4 hier liegen oder ob ich warte bis die platinen fürs OVI 40 kommen

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DL8EBD on 19. October 2019, 11:18:45

Andy, bedenke dass diese H7 CPU noch keinerlei Vorteile bringen wird....
Die Performance wird von der Firmware gar nicht ausgereizt. Selbst für den 400MHz Vorgänger nicht.
Das ist erst mal lediglich ein Versuch...

Ganz ehrlich, ich würde nicht mehr in einen mcHF investieren.
Zu viele Kompromisse....

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: dl2eea on 19. October 2019, 14:05:02

You can see that Slawek works hard and the results of his work are not strictly secret! Well done Slawek! Hope is in you.
73
Josef

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: BO_Andy on 19. October 2019, 21:58:06

Quote from: DL8EBD on 19. October 2019, 11:18:45
Andy, bedenke dass diese H7 CPU noch keinerlei Vorteile bringen wird....
Die Performance wird von der Firmware gar nicht ausgereizt. Selbst für den 400MHz Vorgänger nicht.
Das ist erst mal lediglich ein Versuch...

Ganz ehrlich, ich würde nicht mehr in einen mcHF investieren.
Zu viele Kompromisse....
Baue lieber einen SParrow und verkaufe die 0.4er Leiterplatten.

Thomas irgendwo hast du recht aber wenn dann würde lieber denn Lapwig bauen . Frage ob der überhaupt schon erhältlich ist

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DL8EBD on 19. October 2019, 22:17:03

Andy, Du weißt, dass der Lapwing nur 23cm kann?

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: BO_Andy on 20. October 2019, 16:30:17

Das ist mir bewusst Thomas aber für denn Bandberreich habe ich ja dann schon 3 andere Geräte Tulipan OVi 40 sowie denn PSDR. Denn mchf Besitze ich nur noch als Leerplatine.

Lg BO_Andy

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DB4PLE on 22. October 2019, 01:09:56

Quote from: DL8EBD on 19. October 2019, 22:17:03
Andy, Du weißt, dass der Lapwing nur 23cm kann?

Wann ist er erhältlich?
....dazu hat Artur weiter oben etwas geschrieben....

TRX Lapwing ist fertig, Artur kann allerdings den Sender nicht richtig testen.

Warum?
Weil sein Konzept so aussieht dass die I40 UI irgendwo um 30 MHz bis 40 MHz TX seitig arbeiten muss.
Leider ist es in der Firmware so eingerichtet, dass oberhalb 29xxx kHz keine signifikante Leistung mehr raus kommt.
Artur sucht jetzt eine Firmware Version wo diese Verriegelung des Senders fehlt.
Ich hatte mal angefangen im Quelltext danach zu suchen um ihm eine Testversion zu kompilieren - bin da aber auch nicht
richtig weitergekommen, auch weil die UHSDR zu der Zeit ständig in Bewegung war.
Vielleicht kann ich das jetzt nochmal in Angriff nehmen weil momentan keine neuen Versionen erscheinen.

Ja, werde ich mal machen....




Es ist inzwischen trivial, die Bandbereich neu zu definieren. Das wurde hier im Forum von mir auch schon beschrieben.
Wenn man die Firmware kompilieren kann, dann sollte es einfach sein.

Und der Lock ist schon ewig drin, beim Suchen nach einer Binärversion ohne Lock wünsche ich Artur viel Erfolg, sehe da aber keinen Sinn drin, siehe oben.

73
Danilo



Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: OE3HKC on 22. October 2019, 05:04:42

... und den Tiefpass im Sendeweg mit fc von ca 32 MHz würde ich auch nicht außer Acht lassen....
oder wurde der etwa schon geändert?

Vy 73,
Helmut

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DF8OE on 22. October 2019, 05:20:36

Es ist nicht notwendig irgendwas an der Leistungsreduzierung zu schrauben. Man muss nur ein "neues Band" definieren mit dem Frequenzbereich den man braucht - und schon sendet man nicht mehr "außerhalb der Bänder" und die Leistung wird nicht reduziert...

vy 73
Andreas

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DB4PLE on 23. October 2019, 11:06:13

Hallo Thomas,

ein neues Band muss nicht definiert werden. Es muss "lediglich" die PA Configuration mchf_pa in radio_management.c auf den 23cm Bereich geändert werden und die Oscillator-Fähigkeiten müssen auch auf 23cm angepasst werden.
Das bereits definierte 23cm Band wird dann aktiv sein (alle anderen Bänder nicht), denn die UHSDR Firmware errechnet aus den Fähigkeiten des Oscillators (RX Frequenzen) und der PA (TX Frequenzen) die als HAM Radio Bänder verfügbaren Bänder.

Und es muss der Oscillatorcode angepasst werden, der die dann im GHz Bereich liegenden Frequenzen auf den LO umsetzt. Das ist aber auch recht einfach machbar, den es wird ja wohl eine Formel geben mit der die TX/RX Frequenz 23cm zu LO Frequenz Si570 umgerechnet wird.

Das wars dann eigentlich auch schon.


73
Danilo

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: SP9BSL on 24. October 2019, 11:50:29

Hi,
for FM work the translation is a must, it's simply the way the math in IQ modulation works.

When everyting will work as expected I'll prepare separate branch in my repo to show the few changes I made. Then anyone who can compile the code can rebase it to current version and prepare the bin. This is only for Lapwing, the OSCAR100 support is not possible at this moment because it needs redefinition of frequency variables to 64 bit (currently with 32 bit we can only go to ~4GHz with display). This is a lot of work and I have no time for that now. Artur proposed other idea with showing only the 10 at the place of GHz digits - it is possible of course and one may add this, not a big deal. It seems that there is enough room for one more digit.

For sure we will not add these changes to the main repo because this will introduce the mess with the hardware we have today unless someone show how to do it safely. We propose to share the separate bin for Lapwing trx elsewhere.

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DB4PLE on 24. October 2019, 13:11:20

Hi,
Quote from: SP3OSJ on 24. October 2019, 11:22:55
Hi all,

for me, the most important is unlocking the transmitter on 23cm (Full/5/2/1/0.5W)
Slawek has already done such firmware, for which I thank you.
I'm testing it now

The smaller problem is that I use the real frequency LCD = freqwency SI570 (not feqency LCD = freqency SI570x4)
The (+-) 6kHz shift makes the (+-) 18kHz shift.
The (+-) 12kHz shift makes the (+-) 36kHz shift.


I understand this now: For TX we are switching to a different frequency as we are transmitting at center frequency but receive at an offset. Same applies to CW btw, we also transmit at center frequency.

But this can be easily fixed in software, not a big deal. I suggest the necessary location for code change already to Slawek.
The oscillator code needs to be driven by the true Ghz frequencies and it will translate it to the Si570 frequencies.

Once that is done, 6khz shift will be 6 khz shift, no need for other changes in the code.

73
Danilo



Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DF8OE on 24. October 2019, 17:19:30

This is because of the different Lo/Rx - Freq relationship. Your hardware must be integrated properly so that translation is as it is choosen. I do not have nothing against integration of your hardware support to the main branch - if you publish a schematics so that it is "Open Source". Maybe the full support last some time - but actually software development is calm (waiting for the new RF boards). I am nearly sure development speed will raise again if RF boards are available and that can be the point to discuss how an integration can be realized. For this moment you can hope someone compiles you a "personal edition" ::)

vy 73
Andreas

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: SP9BSL on 24. October 2019, 17:20:40

This is caused by frequency calculation in touchscreen function, probably transverter offset not added to freq calculation. AFAIK users not frequently uses transverter mode due to mcHF mixer issues. Make "to do" list and me or other correct this in spare time.

@Andreas: yes, this can be of course, first we need to define structure for RF hardware of our boards. I'm sure, this will happen quite soon ;)

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DB4PLE on 24. October 2019, 20:58:04

Hi,

out of curiosity I did also an attempt to add LAPWING support to the UHSDR firmware, following my own recommendations I posted here.

Looking at the current amount of changes, I don't see why we could not integrate this into the normal build.

See here: https://github.com/db4ple/UHSDR/commit/14367aadc05a77fce8f1dd84694c4629feb86f47

A couple of things could be a little bit more refined, such as the frequency display (we should leave less space around the dot separating the 3 digit groups). But this would also be a benefit for the non-Lapwing builds.

Most notably the calculation of the Si570 frequency from the dial frequency (Si570_translateExt2Osc) in osc_si570.c is not correct, but Artur should be able to provide the correct formula. Once this is done, it should more or less work OOB.
Of course one has to disable all transverter settings, as this is a native 23cm configuration. It is also necessary to set the PA calibration value for 23cm @ 5W and FULL.

73
Danilo

Title: Re:Baubericht: UI mit 480MHz STM32H743ZIT6U
Post by: DB4PLE on 25. October 2019, 06:13:37

Hi Artur,

that is in fact the formula I already used.

@DF8OE: Shouldn't we separate this discussion from the original Baubericht?


73
Danilo


Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.