Outputs für Bandpassfilter und Antennenumschaltung
Outputs für Bandpassfilter und Antennenumschaltung
Ich habe den Code der HPSDR Application auf dem RedPitaya etwas erweitert um die von der Original HPSDR Hardware zur Verfügung gestellten Funktionalität zu bekommen. Durch den Anschluß eines oder mehrerer PCA9555 Bausteine erhält man die benötigten Ausgänge. Diese lassen sich im Setup der HPSDR Software konfigurieren.
Genaueres im angehängten Dokument.
73,de
Peter DC2PD
Genaueres im angehängten Dokument.
73,de
Peter DC2PD
- Dateianhänge
-
Hermes and Alex outputs.pdf
- (625.27 KiB) 1254-mal heruntergeladen
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hallo Peter,
wo kann man das von Dir geänderte Programm für den Red Pitaya finden?
73, Wolfgang
wo kann man das von Dir geänderte Programm für den Red Pitaya finden?
73, Wolfgang
Re: Outputs für Bandpassfilter und Antennenumschaltung
Ich habe die Änderungen auf Pavel's github hochgeladen. Er muss sie noch freigeben, dann sind sie im normalen Code beim nächsten update.
Wenn jemand selber schon mal testen will -
Die angehängte Datei entpacken und die Original Datei ersetzen.
Diese befindet sich auf der SD Karte unter www\apps\sdr_transceiver_hpsdr wenn die normale App läuft,
oder unter bin\ wenn man das Image mit der direkt startenden Software benutzt.
73,de
Peter
Wenn jemand selber schon mal testen will -
Die angehängte Datei entpacken und die Original Datei ersetzen.
Diese befindet sich auf der SD Karte unter www\apps\sdr_transceiver_hpsdr wenn die normale App läuft,
oder unter bin\ wenn man das Image mit der direkt startenden Software benutzt.
73,de
Peter
- Dateianhänge
-
sdr-transceiver-hpsdr.zip
- (293.88 KiB) 768-mal heruntergeladen
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hallo Peter dc2pd,
Is the little pcb for the PCA9555 for sale ?
Regards,
Gert pe0mgb
Is the little pcb for the PCA9555 for sale ?
Regards,
Gert pe0mgb
Re: Outputs für Bandpassfilter und Antennenumschaltung
Im Internet habe ich auch einige fertige Platinen zum PCA9555 gesehen.
http://images.google.de/imgres?imgurl=h ... 5&biw=1680
Peter, was hälst Du davon?
73 Jörg
http://images.google.de/imgres?imgurl=h ... 5&biw=1680
Peter, was hälst Du davon?
73 Jörg
Die Bässe breit die Höhen schmal das ist der Funk aus Wuppertal.
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hello Pavel,
Thanks, I will follow your suggestion with the TPIC6B595.
Best Regards,
Gert PE0MGB
Thanks, I will follow your suggestion with the TPIC6B595.
Best Regards,
Gert PE0MGB
Re: Outputs für Bandpassfilter und Antennenumschaltung
Pavel,
You describe the pins to control the TPIC6B595 as follow:
The ALEX module can be connected to the pins DIO4_N (Serial Data), DIO5_N (Clock), DIO6_N (RX Board Load Strobe) and DIO7_N (TX Board Load Strobe) of the extension connector E1.
The DIOx_N are inputs. I think we need the DIOx_P pins as output to control the TPIC6B595. What's my misunderstanding?
Regards,
Gert PE0MGB
You describe the pins to control the TPIC6B595 as follow:
The ALEX module can be connected to the pins DIO4_N (Serial Data), DIO5_N (Clock), DIO6_N (RX Board Load Strobe) and DIO7_N (TX Board Load Strobe) of the extension connector E1.
The DIOx_N are inputs. I think we need the DIOx_P pins as output to control the TPIC6B595. What's my misunderstanding?
Regards,
Gert PE0MGB
Re: Outputs für Bandpassfilter und Antennenumschaltung
The RedPitaya DIO's are all input and output. They can be used as differential pairs, so they are numbered with _N and _P.
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hallo Jörg,
es gibt es auch noch ohne Relais :
http://shop.embedded-projects.net/embed ... ander.html
Alle IO Board's mit einem PCA9555 können benutzt werden. Da der RedPitaya schon Pullup Widerstände hat, benötigt das Board keine weiteren.
Hier ist die Target3001 Datei zu meiner Platine. Mit der Freeware Version kann man sich eine Vorlage zum selberätzen Ausdrucken.
73,de
Peter
es gibt es auch noch ohne Relais :
http://shop.embedded-projects.net/embed ... ander.html
Alle IO Board's mit einem PCA9555 können benutzt werden. Da der RedPitaya schon Pullup Widerstände hat, benötigt das Board keine weiteren.
Hier ist die Target3001 Datei zu meiner Platine. Mit der Freeware Version kann man sich eine Vorlage zum selberätzen Ausdrucken.
73,de
Peter
- Dateianhänge
-
PCA9555.zip
- (28.13 KiB) 694-mal heruntergeladen
- klapauzius
- Beiträge: 66
- Registriert: So Mär 06, 2016 9:38 pm
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hallo zusammen,
Leider bekomme ich in PiHPSDR immer noch nicht die PCA9555 (16 Bit i2c IO Extension) zum ansteuern meines LPF ans laufen.
Benutzt noch jemand die Kombination mit Audio Codec und den eben genannten Porterweiterungen zum Ansteuern der Peripherie?
Die PCA9555 Breakout boards sind richtig konfiguriert (Adresse 20 und 21) und wenn ich das 0.96 Ecosystem von der Red Pitaya Homepage von einer Karte boote kann ich die Bausteine mit i2cdetect finden.
Von PowerHPSDR aus funktioniert alles prima, es handelt sich also ganz offensichtlich um ein Konfigurationsproblem.
Ich habe diverse Varianten im PiHPSDR ausprobiert, leider kann ich das System unter PiHPSDR nicht dazu bewegen ein Signal auf die PCA9555 zu geben.
73s
Sascha
Leider bekomme ich in PiHPSDR immer noch nicht die PCA9555 (16 Bit i2c IO Extension) zum ansteuern meines LPF ans laufen.
Benutzt noch jemand die Kombination mit Audio Codec und den eben genannten Porterweiterungen zum Ansteuern der Peripherie?
Die PCA9555 Breakout boards sind richtig konfiguriert (Adresse 20 und 21) und wenn ich das 0.96 Ecosystem von der Red Pitaya Homepage von einer Karte boote kann ich die Bausteine mit i2cdetect finden.
Von PowerHPSDR aus funktioniert alles prima, es handelt sich also ganz offensichtlich um ein Konfigurationsproblem.
Ich habe diverse Varianten im PiHPSDR ausprobiert, leider kann ich das System unter PiHPSDR nicht dazu bewegen ein Signal auf die PCA9555 zu geben.
73s
Sascha
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hi Peter and all
I just need a small explanation (tried to find it in the code, but not good enough in C to find the answer)
- If I've understood, ATT1 and ATT2 are driven when the I2C address is 0x22 (output 8/9 of the decoder)
- Which address are using all other output (output 10, 11, 12 and 13) for antenna switching ? 0x20 or 0x22 ?
it certainly is obvious... but not for me
73'
Marc f6itu
I just need a small explanation (tried to find it in the code, but not good enough in C to find the answer)
- If I've understood, ATT1 and ATT2 are driven when the I2C address is 0x22 (output 8/9 of the decoder)
- Which address are using all other output (output 10, 11, 12 and 13) for antenna switching ? 0x20 or 0x22 ?
it certainly is obvious... but not for me
73'
Marc f6itu
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hi Marc,
in Pavel's source code you can find:
#define ADDR_PENE 0x20 /* PCA9555 address 0 */ ..........................................Penelope / Hermes
#define ADDR_ALEX 0x21 /* PCA9555 address 1 */ ...........................................Alex
#define ADDR_LEVEL 0x22 /* PCA9555 address 2 */ ......................................... ??
#define ADDR_MISC 0x23 /* PCA9555 address 3 */ ........................................... ??
#define ADDR_DRIVE 0x28 /* DS1803 address 0 */ ............................................ ??
#define ADDR_CODEC 0x1A /* WM8731 or TLV320AIC23B address 0 */
#define ADDR_DAC0 0x60 /* MCP4725 address 0 */
#define ADDR_DAC1 0x61 /* MCP4725 address 1 */
#define ADDR_ARDUINO 0x40 /* G8NJJ Arduino sketch */
... but the documentation http://pavel-demin.github.io/red-pitaya ... ver-hpsdr/
gives unexpected mismatches (address 0 / 1)
Maybe Pavel is reading this and can explain...?
in Pavel's source code you can find:
#define ADDR_PENE 0x20 /* PCA9555 address 0 */ ..........................................Penelope / Hermes
#define ADDR_ALEX 0x21 /* PCA9555 address 1 */ ...........................................Alex
#define ADDR_LEVEL 0x22 /* PCA9555 address 2 */ ......................................... ??
#define ADDR_MISC 0x23 /* PCA9555 address 3 */ ........................................... ??
#define ADDR_DRIVE 0x28 /* DS1803 address 0 */ ............................................ ??
#define ADDR_CODEC 0x1A /* WM8731 or TLV320AIC23B address 0 */
#define ADDR_DAC0 0x60 /* MCP4725 address 0 */
#define ADDR_DAC1 0x61 /* MCP4725 address 1 */
#define ADDR_ARDUINO 0x40 /* G8NJJ Arduino sketch */
... but the documentation http://pavel-demin.github.io/red-pitaya ... ver-hpsdr/
gives unexpected mismatches (address 0 / 1)
Maybe Pavel is reading this and can explain...?
Re: Outputs für Bandpassfilter und Antennenumschaltung
Thank you Pavel
I had no doubt concerning the TX level control at 0x22 ... it's clearly commented in the code
My question was concerning the antenna in/out switching (pca9555 P11/14 when NOT in Alexiares mode). My guess is 0x20
Am I right ?
73'
Marc f6itu
I had no doubt concerning the TX level control at 0x22 ... it's clearly commented in the code
My question was concerning the antenna in/out switching (pca9555 P11/14 when NOT in Alexiares mode). My guess is 0x20
Am I right ?
73'
Marc f6itu
Re: Outputs für Bandpassfilter und Antennenumschaltung
Tnks Pavel
... probably because associating 0x20 and "0" was to elliptic for me.
Things are definitely clear now.
Tnks again
Marc
... probably because associating 0x20 and "0" was to elliptic for me.
Things are definitely clear now.
Tnks again
Marc
Re: Outputs für Bandpassfilter und Antennenumschaltung
Many thks Pavel
BTW... it's not because something is not clear for me that it is obscure for the majority :- ) I'm particularly dumb when I try to enter in the software and binary playground .
There was another reason that "oneminded" me... I was totally focused on the Alex I2S serial protocol... and I certainly mixed a lot of things
Anyhow, this is over now, thanks to you. My ugly design is finished
https://github.com/F6ITU/Alexi2C
73'
Marc f6itu
BTW... it's not because something is not clear for me that it is obscure for the majority :- ) I'm particularly dumb when I try to enter in the software and binary playground .
There was another reason that "oneminded" me... I was totally focused on the Alex I2S serial protocol... and I certainly mixed a lot of things
Anyhow, this is over now, thanks to you. My ugly design is finished
https://github.com/F6ITU/Alexi2C
73'
Marc f6itu
Re: Outputs für Bandpassfilter und Antennenumschaltung
I have build an interface with the PCA9555 to controle my low pass filters. Filter switching is working fine.
I have one problem I also want to use the T/R relay (P07 disable T/R relay (0 = enable, 1 = disable) this is pin 11 on PCA9555
This is not working for me. Pin is not moving when I give a PTT IN signal. Did I forgot something somewhere to let it work or do I have a misunderstanding of the function of P07?
Best Regards,
Gert PE0MGB
I have one problem I also want to use the T/R relay (P07 disable T/R relay (0 = enable, 1 = disable) this is pin 11 on PCA9555
This is not working for me. Pin is not moving when I give a PTT IN signal. Did I forgot something somewhere to let it work or do I have a misunderstanding of the function of P07?
Best Regards,
Gert PE0MGB
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hi Gert
Which address did you chose ? (in other words, are you in "peneloppe" or "alexiares" mode ? both don't have the same behaviour concerning P07 as far as I can remember (I'm away of my pitaya board right now)
Marc
Which address did you chose ? (in other words, are you in "peneloppe" or "alexiares" mode ? both don't have the same behaviour concerning P07 as far as I can remember (I'm away of my pitaya board right now)
Marc
Re: Outputs für Bandpassfilter und Antennenumschaltung
Hallo Marc,
I'm running Alex 0x21. The LPF and HPF are working fine, accept P07 T/ R signal on PTT IN. Pin 11 of the PCA9555.
Regards,
Gert PE0MGB
I'm running Alex 0x21. The LPF and HPF are working fine, accept P07 T/ R signal on PTT IN. Pin 11 of the PCA9555.
Regards,
Gert PE0MGB
Re: Outputs für Bandpassfilter und Antennenumschaltung
Thank you, Gert
yep, it should work...
I won't be able to help you before wednesday (I'm not in my shack presently and have to solder a pca9555 on my bench)
But I promise I will try to reproduce the problem and investigate asap
73'
Marc f6itu
yep, it should work...
I won't be able to help you before wednesday (I'm not in my shack presently and have to solder a pca9555 on my bench)
But I promise I will try to reproduce the problem and investigate asap
73'
Marc f6itu
Re: Outputs für Bandpassfilter und Antennenumschaltung
Dear Pavel,
Thanks for the answer. Changed the hardware and using now PTT Out. Problems are solved.
Best Regards,
Gert PE0MGB
Thanks for the answer. Changed the hardware and using now PTT Out. Problems are solved.
Best Regards,
Gert PE0MGB