Diskussions- und Newsboard des DARC-Ortsverbandes I40
allgemeine Kategorie => mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) => Message started by: WD8BXS on 23. August 2018, 13:01:49

Title: [solved]Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 13:01:49

Got a version 6 in for repair, the bias is backward.

When the PA bias setting is 0, I am getting 4.5 volts on the Mosfet.

When the PA bias setting is 95 or so, I am getting low voltage at the Mosfet.

Working backwards!!!

Any ideas??

de Chuck, 73

Title: Re:Strange bias adjustment
Post by: DF8OE on 23. August 2018, 13:56:59

Hi Chuck,

inspect surrounding of U18 on RF board.

Good luck!

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 16:06:15

Yes, I have been, I will keep looking.

Chuck

Title: Re:Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 16:24:15

I reload the bootloader, and latest build, reset to defaults, but the settings in the PA menu do not change!!!
They will not reset.

Title: Re:Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 16:25:55

Input voltage is reversed as well. Software???

Title: Re:Strange bias adjustment
Post by: DF8OE on 23. August 2018, 16:39:52

I cannot believe. Do you have UHSDR "official build"? Have you already tried "complete reset" F1-F3-F5?

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 16:54:14

Yes, I download from the Github, I have tried the F1-F3-F5 several times, no change.

Title: Re:Strange bias adjustment
Post by: WD8BXS on 23. August 2018, 21:58:11

No more thought?

Title: Re:Strange bias adjustment
Post by: DF8OE on 24. August 2018, 04:09:54

No more thoughts.

I never have heard this and UHSDR is running on some hundred devices. If it would be a general problem the issue would have popped up much more times.

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: DB4PLE on 24. August 2018, 10:57:05

Hi,
Quote from: WD8BXS on 23. August 2018, 16:54:14
Yes, I download from the Github, I have tried the F1-F3-F5 several times, no change.


Might be a stupid question but do you see the dialog for reset when you press F1-F3-F5?

If so, you also confirmed the reset with the extra buttons pressed Band- AND Band+ (you should be briefly seeing "...loading defaults in progress..." on screen), and finally shutdown with the button Power?

Is it so that NO setting changes when you run the F1-F3-F5 procedure?

73
Danilo

Title: Re:Strange bias adjustment
Post by: WD8BXS on 24. August 2018, 16:47:01

Hi Danilo,

Yes, that is exactly what is happening.
I also went in and manually set the defaults in the PA menu.
Then I did the F1-F3-F5 reset, and they came back to what was previously stored!!!
Should I make a video of this happening?


Chuck

Title: Re:Strange bias adjustment
Post by: WD8BXS on 24. August 2018, 16:49:05

Sorry, I did not answer fully, YES I do see some of the settings change, the display goes to default, but I have only been watching the PA menu.

The issue STILL remains that the bias setting is working backwards.

Chuck

Title: Re:Strange bias adjustment
Post by: DB4PLE on 24. August 2018, 17:22:41

Hi Chuck,
Quote from: WD8BXS on 24. August 2018, 16:47:01
Hi Danilo,

Yes, that is exactly what is happening.
I also went in and manually set the defaults in the PA menu.
Then I did the F1-F3-F5 reset, and they came back to what was previously stored!!!
Should I make a video of this happening?


Chuck


Yes, a video is probably the easiest way to figure out what goes on. There must be something we overlook.

73
Danilo

Title: Re:Strange bias adjustment
Post by: WD8BXS on 25. August 2018, 23:07:41

Maybe a better question is "What are the default values for the PA menu?"

I just reset another radio, and I got the same strange values in the PA menu.

Chuck

Title: Re:Strange bias adjustment
Post by: DF8OE on 26. August 2018, 10:26:41

I have just done a test on a mcHF (1MB flash/192KB RAM) running firmware D2.9.47, adjustment done in "SSB", MIC level set to '0' (no RF output), ampere meter in power supply line.

PA BIAS is set to '106', that results in BIAS is 500mA (== idle increases 500mA if I push PTT on mic).
If I increase PA BIAS setting, BIAS increases, too.
If I decrease PA BIAS setting, BIAS decreases, too.

Now I reset to defaults using 'F1-F3-F5'.
That results in PA BIAS is set to '0'.
If I increase PA BIAS setting, BIAS increases, too.
If I decrease PA BIAS setting, BIAS decreases, too.

So I cannot reproduce your issue.
If you follow my procedure: what does your mcHF show?
What does "strange vaules" mean?

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: WD8BXS on 26. August 2018, 22:05:14

OK, yes, the PA bias value goes to Zero after a reset, but the individual power out settings go to strange values, see 1st pic! (sorry, blurry)

Measuring the Pin 4 of U18, when PA bias is at Zero, the pin 4 voltage is 2.93 see pic w2

When Pa Bias setting is 104, the pin 4 voltage is .25 see pic 3

This is working backwards.

Title: Re:Strange bias adjustment
Post by: WD8BXS on 26. August 2018, 22:06:38

pic 1

Title: Re:Strange bias adjustment
Post by: WD8BXS on 26. August 2018, 22:07:23

pic2

Title: Re:Strange bias adjustment
Post by: WD8BXS on 26. August 2018, 22:07:42

pic3

Title: Re:Strange bias adjustment
Post by: WD8BXS on 26. August 2018, 23:00:04

Just discovered that with another "U" board, the bias is working.

Maybe bad MCU????

Anyway to do a hard reset on MCU?

I tried reloading bootloader and firmware, maybe I need to do it again.

73,
CHuck

Title: Re:Strange bias adjustment
Post by: DF8OE on 27. August 2018, 03:51:27

A MCU which goes bad by inverting an output? I cannot believe. You can do a "full reset" of MCU using ST-Link ("mass erase"). But I cannot believe that helps.

Sorry - again: no further ideas. I think you must investigate by yourself...

The power out settings you see are not strange - that are the defaults for the bands.

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: DF5LI on 27. August 2018, 09:58:32

Ich habe gerade mal am Pin 4 (Out) und Pin 1 (from DAC) von U18 nachgemessen (ohne PA-Transistoren) :

Pin 4 Pin 1
Bei Bias = 0 -> 1,35 Volt -> 0,32 Volt
bei Bias = 115 -> 4,39 Volt ->3,18 Volt

Über die Default-Werte bei den Power-Einstellungen nach einem Full Reset habe ich mich auch schon gewundert. Waren die nicht mal alle auf 0 bzw auf 3 ?


Title: Re:Strange bias adjustment
Post by: DB4PLE on 27. August 2018, 12:43:11

Hi Chuck,
the images put me hopefully on the right track. The default values for the PA configuration during reset where at some point defined per Band and not identical to the default which is used when you press the "default" button in menu (here it is always 3).

I just did a pull request to set all defaults when doing the configuration reset to 0. This is very safe and should do what is expected from a full reset.

73
Danilo
Quote from: WD8BXS on 26. August 2018, 22:05:14
OK, yes, the PA bias value goes to Zero after a reset, but the individual power out settings go to strange values, see 1st pic! (sorry, blurry)

Measuring the Pin 4 of U18, when PA bias is at Zero, the pin 4 voltage is 2.93 see pic w2

When Pa Bias setting is 104, the pin 4 voltage is .25 see pic 3

This is working backwards.

Title: Re:Strange bias adjustment
Post by: WD8BXS on 27. August 2018, 13:22:46

Yes, this will be good!

Still confused though why my MCU is working backwards from the DAC

73,
Chuck

Title: Re:Strange bias adjustment
Post by: WD8BXS on 27. August 2018, 13:46:59

Is there a command with the uhsdr_tool to reset the MCU ??

Chuck

Title: Re:Strange bias adjustment
Post by: DB4PLE on 27. August 2018, 13:48:19

Hi Chuck,

Quote from: WD8BXS on 27. August 2018, 13:22:46
Yes, this will be good!

Still confused though why my MCU is working backwards from the DAC

73,
Chuck


Me too, I am also confused by this. I checked the code and there is no difference to any other setting handling. BTW, is there the same problem when changing CW PA Bias or not?

73
Danilo

Title: Re:Strange bias adjustment
Post by: DB4PLE on 27. August 2018, 13:50:03

Quote from: WD8BXS on 27. August 2018, 13:46:59
Is there a command with the uhsdr_tool to reset the MCU ??

Chuck


No. And even if it would exist, we would most likely call the same internal function as we do when pressing F1-F3-F5.

73
Danilo

Title: Re:Strange bias adjustment
Post by: WD8BXS on 27. August 2018, 14:45:10

Well, I finally gave up and replaced the MCU!

That fixed it!!!!

WOW, bad MCU!!!!

de Chuck

Title: Re:Strange bias adjustment
Post by: WD8BXS on 27. August 2018, 14:48:48

Andreas, believe it hihi!

Title: Re:Strange bias adjustment
Post by: DF8OE on 27. August 2018, 14:53:18

I think you have not damaged it - it is a "bad production". Or there are some registers which only can be resetted via STLink. STLink is a mandatory instrument for debugging and direct access of MCU - so we were very astonished that Chris had removed the headers in 0.5 version. It is nearly impossible to work professionel without STLink...

vy 73
Andreas

Title: Re:Strange bias adjustment
Post by: DB4PLE on 27. August 2018, 15:09:12

Hi Chuck,
Quote from: WD8BXS on 27. August 2018, 14:45:10
Well, I finally gave up and replaced the MCU!

That fixed it!!!!

WOW, bad MCU!!!!

de Chuck


Glad the MCU change did the trick. I am confused still. You sure it was not a soldering problem, fixed by full replacement of the MCU?

But as we firmware developers have not been responsible for the problem in any case, I'll leave it at that.

73
Danilo


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