g4klx / MMDVMCal

The calibration program for the MMDVM
GNU General Public License v2.0
60 stars 40 forks source link

NAK error after choosing BER Test-mode #34

Open DL5SMB opened 2 years ago

DL5SMB commented 2 years ago

I am not sure where the problem is located (MMDVM-Firmware or MMDVMCal), but there seems to be something broken.

I'm using FW 1.60 on a MMDVM_Dual_Hat with MMDVMCal 20211101.

Neither the BER Test Modes

M/m      DMR Simplex 1031 Hz Test Pattern (CC1 ID1 TG9)
K/k      BER Test Mode (FEC) for D-Star
b        BER Test Mode (FEC) for DMR Simplex (CC1)
B        BER Test Mode (1031 Hz Test Pattern) for DMR Simplex (CC1 ID1 TG9)
J        BER Test Mode (FEC) for YSF
j        BER Test Mode (FEC) for P25
n        BER Test Mode (FEC) for NXDN

nor the DMR Simplex 1031 Hz test pattern work.

Every time choose one of the BER test modes and press space to activate the transmitter I get

Received a NAK to the CAL_DATA command from the modem: 2

Activating the DMR 1031 Hz pattern works, but it seems to be without function, no values are measured / calulated.

I just get an endless stream of the following, which can be aborted by turning on/off the transmitter several times.

DMR audio seq. 1, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 2, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 4, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 5, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 0, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 1, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 2, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 3, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 4, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 5, 1031 Test Pattern BER % (errs): 0.000% (0/264) Set transmitter ON DMR audio seq. 0, 1031 Test Pattern BER % (errs): 6.061% (16/264) Transmission lost, total frames: 1295, bits: 341880, errors: 1737, BER: 0.50807%

I don't think this is expected behaviour, or is it?

Of course I might be doing something wrong, who knows.

KE7FNS commented 2 years ago

Every time choose one of the BER test modes and press space to activate the transmitter I get

Received a NAK to the CAL_DATA command from the modem: 2

That is normal.

Activating the DMR 1031 Hz pattern works, but it seems to be without function, no values are measured / calulated.

I just get an endless stream of the following, which can be aborted by turning on/off the transmitter several times.

DMR audio seq. 1, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 2, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 4, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 5, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 0, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 1, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 2, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 3, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 4, 1031 Test Pattern BER % (errs): 0.000% (0/264) DMR audio seq. 5, 1031 Test Pattern BER % (errs): 0.000% (0/264) Set transmitter ON DMR audio seq. 0, 1031 Test Pattern BER % (errs): 6.061% (16/264) Transmission lost, total frames: 1295, bits: 341880, errors: 1737, BER: 0.50807%

I don't think this is expected behaviour, or is it?

Yes, it is the expected behavior, unless you are saying when you hit 'm' it just starts scrolling like crazy. Cause the output you show has the "Set transmitter ON" in the middle which is odd, but that could be from a long session of turning things on and off (or pressing the spacebar a few times too quickly). In my testing I hit 'm' and have to tap the spacebar which then it begins scrolling output similar to yours.

So if it automatically scrolling isn't what you are asking then you've just got the two test procedures swapped around.

When you use the BER test modes, it puts the hat into recieve and waits for a user to key a radio. If your radio is close enough in frequency the screen will begin to show it received a signal, so you might have to use f and F to move around until you start to see messages scrolling, continue adjusting the frequency until you get the lowest BER.

When you use the DMR Simplex 1031 Hz Test Pattern (CC1 ID1 TG9), it puts the hat waiting for a user to press the spacebar and begin transmitting. So yes, it should have a 0.000% BER because its transmitting a tone, not decoding one. A nearby radio needs to be on CC1 ID1 TG9 or promiscuous mode to hear the tone. Tapping spacebar again stops the transmission.

Hope that helps