PLL TSA5511 AND PIC16F628A single frequency

Everything technical about radio can be discussed here, whether it's transmitting or receiving. Guides, charts, diagrams, etc. are all welcome.
Post Reply
Electronics_hobby
ne guy
ne guy
Posts: 4
Joined: Tue Dec 17, 2019 10:02 pm

PLL TSA5511 AND PIC16F628A single frequency

Post by Electronics_hobby » Fri Oct 16, 2020 12:03 am

Does anyone have coding or program to generate code for the 16f628a to program a tsa5511 for a single frequency.
I have a program which generates coding for a 12f629 to program the tsa5511 for a single frequency in the range of 60mhz to 1300mhz , I would like to do this with a 16f628a.
Any help or advice is much appreciated. I have thought about maybe reassembling the code so it goes into the larger pic but maybe someone has some already made program. Thankyou in advance.

Albert H
proppa neck!
proppa neck!
Posts: 1710
Joined: Tue Apr 05, 2016 1:23 am

Re: PLL TSA5511 AND PIC16F628A single frequency

Post by Albert H » Fri Oct 16, 2020 12:13 am

That's a bit of a waste of a relatively big PIC! There's lots of code around the 'net for the 16F628 and the 5511, mostly with LCD display too. If you want it for a single frequency, you may as well load the frequency agile code that uses two push-buttons (up and down), then select the frequency by shorting the switch contacts - the PIC will retain the last set frequency in non-volatile RAM, so the rig will always switch back on where it was set,
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

Electronics_hobby
ne guy
ne guy
Posts: 4
Joined: Tue Dec 17, 2019 10:02 pm

Re: PLL TSA5511 AND PIC16F628A single frequency

Post by Electronics_hobby » Fri Oct 16, 2020 12:26 am

Thankyou for your reply. I have that code for the board with the buttons and the lcd. The exciter board has tsa5511 and pic16f628a and no buttons. Obviously to stop other engineers retuning it. I havent looked at it in depth as of yet. Maybe its using the same code but the buttons and the lcd aren't used or there. Will that code even work without lcd or buttons present , maybe you would need buttons at first for up/down to set a frequency and then every power up would remember the last frequency set. Am I thinking on the right paths. Thankyou for your reply Albert h and hope you are keeping well.

nrgkits.nz
Neckmin
Neckmin
Posts: 318
Joined: Fri Oct 17, 2014 10:35 am

Re: PLL TSA5511 AND PIC16F628A single frequency

Post by nrgkits.nz » Fri Oct 16, 2020 5:35 am

Download Microchips XC8 compiler and also MPLAB IDE. There are i2c libraries on the internet you can use, and details of the registers to program are in the TSA5511 datasheet. Its not too difficult to write code for these, I've written my own custom code for the PLL Pro 5 design.

Albert H
proppa neck!
proppa neck!
Posts: 1710
Joined: Tue Apr 05, 2016 1:23 am

Re: PLL TSA5511 AND PIC16F628A single frequency

Post by Albert H » Fri Oct 16, 2020 7:11 pm

Electronics_hobby wrote:
Fri Oct 16, 2020 12:26 am
Thankyou for your reply. I have that code for the board with the buttons and the lcd. The exciter board has tsa5511 and pic16f628a and no buttons. Obviously to stop other engineers retuning it. I havent looked at it in depth as of yet. Maybe its using the same code but the buttons and the lcd aren't used or there. Will that code even work without lcd or buttons present , maybe you would need buttons at first for up/down to set a frequency and then every power up would remember the last frequency set. Am I thinking on the right paths
That's right. You could make a neat little programmer with the push buttons and the display. To set the exciter frequency, you'd plug in your programmer, set the frequency that you want, then unplug the programmer. Each time the exciter was powered up, it would go to the frequency that you had set.
"Why is my rig humming?"
"Because it doesn't know the words!"
;)

User avatar
Bton-FM
tower block dreamin
tower block dreamin
Posts: 349
Joined: Sun Jun 16, 2019 2:55 pm
Location: Brighton

Re: PLL TSA5511 AND PIC16F628A single frequency

Post by Bton-FM » Fri Oct 16, 2020 7:16 pm

Electronics_hobby wrote:
Fri Oct 16, 2020 12:03 am
Does anyone have coding or program to generate code for the 16f628a to program a tsa5511 for a single frequency.
I have a program which generates coding for a 12f629 to program the tsa5511 for a single frequency in the range of 60mhz to 1300mhz , I would like to do this with a 16f628a.
Any help or advice is much appreciated. I have thought about maybe reassembling the code so it goes into the larger pic but maybe someone has some already made program. Thankyou in advance.
Get an Arduino and use the wire library to send the programming bytes to the TSA5511. Then once you have a working sketch, replace the Arduino with one of the microcontrollers in the ATtiny range.

Post Reply