How to use Si5351 #2 - Si5351 Library for WSPR on QRP Transceiver
I introduced two ways to use the Si5351 in the previous post. and experimented with two different methods of generating clocks on the Si5351. I want to use both methods together.
My plan is as follows.
PLL-A is generated by fixing 850Mhz clock. All output clocks use PLL-A to generate the frequency. This is the method used in QRP radios such as uBITX.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEC0aRO7Sc9Kd0yXpFn59tYNuqPvRcSYfx5glUz9cwJIKQgSsHzJFUy0oFykDztYUsoTriVCBj3biH9feH-fcnL-c63EYJ8bOvgtzX8Iy156ceRBCkorcdqgODtwRGOPSE8k8ZyhCs0oc/s400/20180303_222701.jpg)
When switching to WSPR transmission mode, PLL-B operates for the base frequency to transmit WSPR. The output clock channel that controls the frequency is connected to the PLL-B. The WSPR protocol is generated by changing the clock of the PLL-B.
Generally, you only use the si5351bx_setfreq function and use Set_WSPR_Frequency when you start WSPR transmission.
When WSPR is being transmitted, the following function is called to control the PLL-B frequency.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl5KpDV_lep3Y5EJo9MCLtZYJwLzSFT89WY06ayoDds78NlXXle4iebi_ftfVzLuFU3UV_OdBdePlF-0-5QSxJ5x8pex9hoMXbJtGMZfbEi5rclyodPX85DgRnO5pzcui3Z301T8T7R6M/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+4.png)
When WSPR transmission is completed and return to normal radio mode, use si5351bx_setfreq again.
TEST
The library test was verified with the following source codes
Clock2 uses PLL-A and PLL-B alternately in 100ms increments.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCZog3OdDKfa1ri_V9-QsfAzvIZF4pJnbSSMkDV3LD0fqxnGkv_lMxGkHZ4gcYwd4vGjOuaOBSzU00f4m3-ka3YgeJwch0-rEoSDQUnKoPyDIbxPDHyUi0scOyhP0pB1Gqv2GQk5SRRPw/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+3.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJiu0QotvKeMNWHSxtq1oZK5LV1gH6fw0_Th2CzQNfPIGgvAcd09aMoYnblkYF-tsy5ebBPLze-lfOIZf4OENUnt1RS4BkC4t5VD7V428OtfiISVAzsVfK7T7MKiSqIDUD1PMobguocAY/s320/20180303_222703.jpg)
Source code
https://drive.google.com/open?id=1NHrtXkM1uKC08rj-mvzqceOWIlT7Iim9
Test WSPR Protocol with New Library
https://drive.google.com/open?id=1PHa5dY773NqF5WSWAPHEJd22KydD4f6B
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCeeR9_Nk1-uoRJq3N-yC_pONS7HoGxyiqEdCotXO3Fx6ABY8cpKYezJXNlusGpmyMz4Jem-xoBQSA0W8FpWDa1LPPw2WW6jdLAVibM1SzUgTqGiXu2O46C9rkH90pTl91we3xqYS0iYc/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+5.png)
I introduced two ways to use the Si5351 in the previous post. and experimented with two different methods of generating clocks on the Si5351. I want to use both methods together.
My plan is as follows.
PLL-A is generated by fixing 850Mhz clock. All output clocks use PLL-A to generate the frequency. This is the method used in QRP radios such as uBITX.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEC0aRO7Sc9Kd0yXpFn59tYNuqPvRcSYfx5glUz9cwJIKQgSsHzJFUy0oFykDztYUsoTriVCBj3biH9feH-fcnL-c63EYJ8bOvgtzX8Iy156ceRBCkorcdqgODtwRGOPSE8k8ZyhCs0oc/s400/20180303_222701.jpg)
When switching to WSPR transmission mode, PLL-B operates for the base frequency to transmit WSPR. The output clock channel that controls the frequency is connected to the PLL-B. The WSPR protocol is generated by changing the clock of the PLL-B.
Generally, you only use the si5351bx_setfreq function and use Set_WSPR_Frequency when you start WSPR transmission.
When WSPR is being transmitted, the following function is called to control the PLL-B frequency.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl5KpDV_lep3Y5EJo9MCLtZYJwLzSFT89WY06ayoDds78NlXXle4iebi_ftfVzLuFU3UV_OdBdePlF-0-5QSxJ5x8pex9hoMXbJtGMZfbEi5rclyodPX85DgRnO5pzcui3Z301T8T7R6M/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+4.png)
When WSPR transmission is completed and return to normal radio mode, use si5351bx_setfreq again.
TEST
The library test was verified with the following source codes
Clock2 uses PLL-A and PLL-B alternately in 100ms increments.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCZog3OdDKfa1ri_V9-QsfAzvIZF4pJnbSSMkDV3LD0fqxnGkv_lMxGkHZ4gcYwd4vGjOuaOBSzU00f4m3-ka3YgeJwch0-rEoSDQUnKoPyDIbxPDHyUi0scOyhP0pB1Gqv2GQk5SRRPw/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+3.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJiu0QotvKeMNWHSxtq1oZK5LV1gH6fw0_Th2CzQNfPIGgvAcd09aMoYnblkYF-tsy5ebBPLze-lfOIZf4OENUnt1RS4BkC4t5VD7V428OtfiISVAzsVfK7T7MKiSqIDUD1PMobguocAY/s320/20180303_222703.jpg)
Source code
https://drive.google.com/open?id=1NHrtXkM1uKC08rj-mvzqceOWIlT7Iim9
Test WSPR Protocol with New Library
https://drive.google.com/open?id=1PHa5dY773NqF5WSWAPHEJd22KydD4f6B
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCeeR9_Nk1-uoRJq3N-yC_pONS7HoGxyiqEdCotXO3Fx6ABY8cpKYezJXNlusGpmyMz4Jem-xoBQSA0W8FpWDa1LPPw2WW6jdLAVibM1SzUgTqGiXu2O46C9rkH90pTl91we3xqYS0iYc/s400/%25EC%259D%25B4%25EB%25AF%25B8%25EC%25A7%2580+5.png)
Comments
Post a Comment