SPI und I2C gleichzeitig und SPI bug?

Software-Installation, SDR-Software, Modifikationen
Antworten
Benutzeravatar
dj1yr
Offline
Beiträge: 32
Registriert: Mo Apr 24, 2017 6:14 am

SPI und I2C gleichzeitig und SPI bug?

Beitrag von dj1yr » So Feb 03, 2019 2:24 pm


Hallo,


gibt es eine möglichkeit den SPI für Alex und den I2C fürs Audio gleichzeitig zu nutzen?

Betreibt von euch jemand den RP mit einem Alexsystem?

Wenn ja, funktioniert das Problemlos?

Ich teste es gerade und musste feststellen das es so eigentlich nicht richtig funktioniert und auch nicht funktionieren kann, Testaufbau TX/RX Load Strobe und SPI CLK und SPI MOSI an Alex, Spannungversorgung aus einem Netzteil, Alex mit 12V und über Step Down 5V/4A Versorgung auf RP.


Wenn ich nur die Bänder schalte wird irgendwann der LPF nicht mehr mitgeschaltet, reproduzierbar zu 90% von wechsel 40m <->80m, nach kurzen PTT betätigen gehts wieder.

MSO angestöbselt und mir das mal angeschaut, also der orig. ALex SPI arbeitet mit 400Khz Clk, nicht mit 1Mhz (das hat man recht schnell geändert damals, da es zu Schaltfehlern kam, das war schon zu HPSDR Atlassystemzeiten).
Dann wird bei Hermes/Atlassystem, Orion und Orion MKII(3x 16Bit) immer das komplette Dword gesendet, Pavel sendet ab einen bestimmten Punkt nur das 16bit RX Filter Signal, das ist schlicht falsch, denn Alex besteht aus einem HPF Filter und LPF Filter, welcher in kombination geschalten wird, so passiert es, das man von 40m auf 80m wechselt, beide Filter schalten also 1,5Mhz HPF und 4Mhz LPF, wenn man dann zurück auf 40m schaltet, bleibt der 80m LPF aktiv und der HPF wird auf 6,5Mhz geschaltet -> empfang = 0.


Ich kann das auch mit screens belegen, falls es Fragen gibt.

Benutzeravatar
f6itu
Offline
Beiträge: 42
Registriert: Fr Sep 29, 2017 7:13 pm

Re: SPI und I2C gleichzeitig und SPI bug?

Beitrag von f6itu » Di Feb 05, 2019 10:22 pm


Hi Rene

>gibt es eine möglichkeit den SPI für Alex und den I2C fürs Audio gleichzeitig zu nutzen?

as far as I know, the I2S is sharing the same output with the Alex SPI bus... so I'm affraid it's not possible

>Betreibt von euch jemand den RP mit einem Alexsystem?
yes, I do

>Wenn ja, funktioniert das Problemlos?
so far, so good. The general behaviour is FAR better than the partial I2C order equivalences

>Ich teste es gerade und musste feststellen das es so eigentlich nicht richtig funktioniert/.../

For which reason did you need a stepdown? (if I understood well, which is not certain) the 12V part of Alex is totally separated from the spi input, which works at TTL level (and 3.3V signals comming from the Red Pitaya are far enough to trigger the pair of 74HCT04 ).

>Wenn ich nur die Bänder schalte wird irgendwann der LPF nicht mehr mitgeschaltet, reproduzierbar zu 90% von wechsel 40m <->80m, nach kurzen PTT betätigen gehts wieder.

That's a strange and anoying reaction for sure. I've remarked that the lenght of the SPI bus should be kept rather short to avoid troubles caused by the noise (and perhaps RF strays). But with rather short cables and ferrites, I swear, I never had random band switching.

> Pavel sendet ab einen bestimmten Punkt nur das 16bit RX Filter Signal,

I'm awfully sorry, but my German is really rusty and I don't catch your whole argument. If you only consider the port of the OpenHPSDR spi bus made by Pavel, it works with both LPF and HPF (independantly) and I can select the HPF I need when fiddling with the Filter setup window of PowerSDR.

But anyhow, I will test my configuration again and try to reproduce your problem. If there is a bug, I'm pretty sure a fix will be provided...

... And I will be interested in every testing configuration you could provide.

I feel terribly sorry not beeing able catching all the subtilities of your message and answering in German (even after 6 years of school)

73' René
De Marc f6itu

Antworten