mmdvm_hs rev1.7 i2c setting

1605368051282.jpg
1605368211632.jpg

1.update i2c fw for mmdvm_hs not dual(later)
hs_i2c.rar MMDVM_HS_Hat-v1.5.2 20201108 14.7456MHz

wget https://www.mmdvm.club/usr/uploads/2020/11/3000050055.rar
7z 3000050055.rar
killall MMDVMHost
sudo stm32flash -v -w hs_i2c.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
MMDVMHost /etc/mmdvmhost
2.change mmdvmhost file

nano /etc/mmdvmhost change to follow

Port=/dev/i2c-1
Protocol=i2c

Address=0x22

3.ctrl+o save change
4.view log
M: 2020-11-14 20:25:03.300 MMDVMHost-20200809-OSTAR is running
M: 2020-11-14 20:25:03.310 YSF, received network data from BD4RBX to DG-ID 0 at BI7XXX
M: 2020-11-14 20:25:11.407 YSF, received network end of transmission from BD4RBX to DG-ID 0, 8.2 seconds, 0% packet loss, BER: 0.0%
M: 2020-11-14 20:25:11.974 YSF, received network data from BG6GCL to DG-ID 0 at BI7XXX
M: 2020-11-14 20:25:22.570 YSF, received network end of transmission from BG6GCL to DG-ID 0, 10.7 seconds, 0% packet loss, BER: 0.0%
M: 2020-11-14 20:25:24.738 YSF, received network data from BH5HTC to DG-ID 0 at BI7XXX
E: 2020-11-14 20:25:24.875 No reply from the modem for some time, resetting it
M: 2020-11-14 20:25:24.876 Closing the MMDVM
M: 2020-11-14 20:25:26.876 Opening the MMDVM
E: 2020-11-14 20:25:34.830 Unable to read the firmware version after six attempts
M: 2020-11-14 20:25:35.394 Opening the MMDVM
I: 2020-11-14 20:26:08.275 This software is for use on amateur radio networks only,
I: 2020-11-14 20:26:08.275 it is to be used for educational purposes only. Its use on
I: 2020-11-14 20:26:08.276 commercial networks is strictly prohibited.
I: 2020-11-14 20:26:08.277 Copyright(C) 2015-2020 by Jonathan Naylor, G4KLX and others
M: 2020-11-14 20:26:08.277 MMDVMHost-20200809-OSTAR is starting
M: 2020-11-14 20:26:08.278 Built 18:32:20 May 16 2020 (GitID #0000000)
I: 2020-11-14 20:26:08.279 General Parameters
I: 2020-11-14 20:26:08.280 Callsign: BG7IYN
I: 2020-11-14 20:26:08.280 Id: 123456
I: 2020-11-14 20:26:08.281 Duplex: no
I: 2020-11-14 20:26:08.282 Timeout: 180s
I: 2020-11-14 20:26:08.283 D-Star: disabled
I: 2020-11-14 20:26:08.283 DMR: disabled
I: 2020-11-14 20:26:08.284 YSF: enabled
I: 2020-11-14 20:26:08.285 P25: disabled
I: 2020-11-14 20:26:08.286 NXDN: disabled
I: 2020-11-14 20:26:08.286 POCSAG: disabled
I: 2020-11-14 20:26:08.287 FM: disabled
I: 2020-11-14 20:26:08.288 Modem Parameters
I: 2020-11-14 20:26:08.288 Port: /dev/i2c-0
I: 2020-11-14 20:26:08.289 Protocol: i2c
I: 2020-11-14 20:26:08.290 i2c Address: 22
I: 2020-11-14 20:26:08.291 RX Invert: no
I: 2020-11-14 20:26:08.291 TX Invert: yes
I: 2020-11-14 20:26:08.292 PTT Invert: no
I: 2020-11-14 20:26:08.293 TX Delay: 100ms
I: 2020-11-14 20:26:08.293 RX Offset: 0Hz
I: 2020-11-14 20:26:08.294 TX Offset: 0Hz
I: 2020-11-14 20:26:08.295 RX DC Offset: 0
I: 2020-11-14 20:26:08.295 TX DC Offset: 0
I: 2020-11-14 20:26:08.296 RF Level: 100.0%
I: 2020-11-14 20:26:08.297 DMR Delay: 0 (0.0ms)
I: 2020-11-14 20:26:08.298 RX Level: 50.0%
I: 2020-11-14 20:26:08.298 CW Id TX Level: 50.0%
I: 2020-11-14 20:26:08.299 D-Star TX Level: 50.0%
I: 2020-11-14 20:26:08.300 DMR TX Level: 50.0%
I: 2020-11-14 20:26:08.301 YSF TX Level: 50.0%
I: 2020-11-14 20:26:08.301 P25 TX Level: 50.0%
I: 2020-11-14 20:26:08.302 NXDN TX Level: 50.0%
I: 2020-11-14 20:26:08.303 POCSAG TX Level: 50.0%
I: 2020-11-14 20:26:08.303 FM TX Level: 50.0%
I: 2020-11-14 20:26:08.304 TX Frequency: 434500000Hz (434500000Hz)
I: 2020-11-14 20:26:08.305 Use COS as Lockout: no
M: 2020-11-14 20:26:08.306 Opening the MMDVM
E: 2020-11-14 20:26:12.132 Invalid length received from the modem - 255 (need add i2c pullup)
E: 2020-11-14 20:26:15.906 Invalid length received from the modem - 255 (need add i2c pullup)
E: 2020-11-14 20:26:19.681 Invalid length received from the modem - 255 (need add i2c pullup)
E: 2020-11-14 20:26:21.192 Unable to read the firmware version after six attempts

M: 2020-11-14 20:21:00.794 Opening the MMDVM
I: 2020-11-14 20:21:08.276 MMDVM protocol version: 1, description: MMDVM_HS_Hat-v1.5.2 20201108 14.7456MHz ADF7021 FW by CA6JAU GitID #0000000
I: 2020-11-14 20:21:08.312 Display Parameters
I: 2020-11-14 20:21:08.313 Type: None
W: 2020-11-14 20:21:08.314 No valid display found, disabling
I: 2020-11-14 20:21:08.314 System Fusion Network Parameters
I: 2020-11-14 20:21:08.315 Local Address: 127.0.0.1
I: 2020-11-14 20:21:08.316 Local Port: 3200
I: 2020-11-14 20:21:08.317 Gateway Address: 127.0.0.1
I: 2020-11-14 20:21:08.318 Gateway Port: 4200
I: 2020-11-14 20:21:08.318 Mode Hang: 3s
M: 2020-11-14 20:21:08.319 Opening YSF network connection

标签:none

已有 3 条评论

  1. 2W0ODS 2W0ODS

    Hi I have this board.

    Can you explain why I2C from PB10, PB11 on the STM32 is connected to the Raspberry Pi and OLED I2C bus?

    Does the STM32 display something on the OLED?

    Many Thanks
    Dale
    de 2W0ODS

    1. just want stm32 to control oled ,and stm32 can communiaciton with i2c instead serial.so change fw,just 1 i2c can communication with raspberry.but i test communication it is not stable.

  2. R2AADR R2AADR

    Not worked! How to change port in files /MMDVMHost form /dev/i2c-0 to /dev/i2c-3 (with arrderss 0xC3)???? For Orange PI zero 3 with full worked fnd tested my OLED 1306!
    The defaul in MMDVMHost set /dev/i2c-0 for OLED!
    How and Where???

添加新评论