Folgende Warnungen sind aufgetreten:
Warning [2] Undefined variable $unreadreports - Line: 34 - File: global.php(961) : eval()'d code PHP 8.2.24 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 34 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 43 - File: showthread.php(1621) : eval()'d code PHP 8.2.24 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 43 errorHandler->error_callback
/showthread.php 1621 eval




Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
DABPI Plugins [beta]
#33
Hi E-B,

super jetzt funktioniert die Initialisierung!
Die einzelnen Lautsprecherausgänge (Balance / Fader) stehen wohl beim Initialisieren auf 0, da der Ton sehr leise ist.
Ich initialisiere dann die Ausgänge mit " sudo i2cset -y 1 0x44 0x80, 0xa0, 0xe0 und 0xc0" dann ist der Ton da.
Der Eingang Input2 funktioniert beim start, schaltet auf Input2 (DABPI), nun habe ich 2 Drehencoder, auf die button eben input1 und input2 gelegt, das funktioniert leider nicht.

Hier die Ausgabe des carpc-controller:

Code:
pi@raspberrypi ~ $ Starting Events Module
init ok 5
 TDA: Initialization at:  68
TDA: No previous settings found
TDA: Volume: 20
TDA: Input: 1
DABPI: Should be there -> initializing SPI

INIT DAB
SI4688: si4688_init_mode_dab()
/opt/carpc/firmware/rom00_patch.016.bin
/opt/carpc/firmware/dab_radio_3_2_7.bif
get_sys_state answer: 0x808000c002ff
Current mode:
DAB is active
get_part_info answer: 0x808000c0000000005012000000005012000000000100
si4688_set_property(0xB501,0x00)
0x808000c0
si4688_set_property(0xB505,0x00)
0x808000c0
si4688_set_property(0xB400,0x00)
0x808000c0
si4688_set_property(0x8100,0x01)
0x808000c0
si4688_set_property(0x1712,0x01)
0x808000c0
si4688_set_property(0x1710,0x1710)
0x808000c0
si4688_set_property(0x1711,0x1711)
0x808000c0
si4688_set_property(0x800,0x03)
0x808000c0
si4688_set_property(0x300,0x3F)
0x808000c0

SET FREQ LIST
SI4688: si46xx_dab_set_freq_list(): 0x808000c0

SCAN FREQ LIST
SI4688: si4688_dab_tune_freq(0): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 0: ACQ: 1 RSSI: 47 SNR: -10        Name: DR Deutschland
SI4688: si4688_dab_tune_freq(1): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 1: ACQ: 0 RSSI: 28 SNR: -10
SI4688: si4688_dab_tune_freq(2): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 2: ACQ: 0 RSSI: 27 SNR: -10
SI4688: si4688_dab_tune_freq(3): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 3: ACQ: 0 RSSI: 27 SNR: 0
SI4688: si4688_dab_tune_freq(4): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 4: ACQ: 1 RSSI: 46 SNR: -10        Name: hr Radio
SI4688: si4688_dab_tune_freq(5): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 5: ACQ: 0 RSSI: 25 SNR: -10
SI4688: si4688_dab_tune_freq(6): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 6: ACQ: 0 RSSI: 25 SNR: 0
SI4688: si4688_dab_tune_freq(7): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 7: ACQ: 0 RSSI: 25 SNR: 0
SI4688: si4688_dab_tune_freq(8): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 8: ACQ: 0 RSSI: 23 SNR: 0
SI4688: si4688_dab_tune_freq(9): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 9: ACQ: 0 RSSI: 23 SNR: 0
SI4688: si4688_dab_tune_freq(10): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 10: ACQ: 1 RSSI: 33 SNR: -10        Name: SWR BW N
SI4688: si4688_dab_tune_freq(11): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 11: ACQ: 0 RSSI: 27 SNR: 0
SI4688: si4688_dab_tune_freq(12): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 12: ACQ: 0 RSSI: 27 SNR: 0
SI4688: si4688_dab_tune_freq(13): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 13: ACQ: 1 RSSI: 49 SNR: -10        Name: SWR RP
SI4688: si4688_dab_tune_freq(14): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 14: ACQ: 1 RSSI: 37 SNR: -10        Name: DRS BW
SI4688: si4688_dab_tune_freq(15): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 15: ACQ: 1 RSSI: 38 SNR: -10        Name: DR HESSEN
SI4688: si4688_dab_tune_freq(16): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 16: ACQ: 0 RSSI: 29 SNR: -10
SI4688: si4688_dab_tune_freq(17): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 17: ACQ: 0 RSSI: 38 SNR: -10
SI4688: si4688_dab_tune_freq(18): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 18: ACQ: 0 RSSI: 31 SNR: 0
SI4688: si4688_dab_tune_freq(19): 0x818000c0
SI4688: si4688_dab_digrad_status():
      Channel 19: ACQ: 0 RSSI: 29 SNR: 0
TestEnsemble Name: DR Deutschland
TestEnsemble ID: 0

PUSH ENSEMBLES
RADIO: Push Ensembles
RADIO: Number of Ensembles: SetProperty(DAB.Ensembles,6,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_0,DR Deutschland  ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_0,47,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_1,hr Radio        ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_1,46,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_2,SWR BW N        ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_2,33,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_3,SWR RP          ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_3,49,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_4,DRS BW          ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_4,37,10000)
RADIO: Ensemble Name: SetProperty(DAB.Ensemble_5,DR HESSEN       ,10000)
RADIO: Ensemble RSSI: SetProperty(DAB.RSSI_5,38,10000)
RADIO: ScanReady: SetProperty(DAB.ScanReady,1,10000)

TUNE FREQ
SI4688: si4688_dab_tune_freq(0): 0x818000c0

GET & PRINT SERVICE LIST
SI4688: si4688_dab_get_digital_service_list()
      List size:     513
      List version:  279
      Services:      18
      Num:  0  Service ID:     10c3  Service Name: SCHLAGERPARADIES  Component ID: 20
      Num:  1  Service ID:     15dc  Service Name: sunshine live     Component ID: 21
      Num:  2  Service ID:     15dd  Service Name: RADIO BOB!        Component ID: 22
      Num:  3  Service ID:     17fa  Service Name: Absolut relax     Component ID: 3
      Num:  4  Service ID:     1a45  Service Name: ENERGY            Component ID: 4
      Num:  5  Service ID:     1a64  Service Name: ERF Plus          Component ID: 2
      Num:  6  Service ID:     d01c  Service Name: Radio Horeb       Component ID: 5
      Num:  7  Service ID:     d210  Service Name: Deutschlandfunk   Component ID: 10
      Num:  8  Service ID:     d220  Service Name:   Component ID: 11
      Num:  9  Service ID:     d230  Service Name: DWissen           Component ID: 12
      Num: 10  Service ID:     d240  Service Name: DRadio DokDeb     Component ID: 13
      Num: 11  Service ID:     d75b  Service Name: KLASSIK RADIO     Component ID: 6
      Num: 12  Service ID: e0d00250  Service Name: DRadio Daten      Component ID: 49153
      Num: 13  Service ID: e0d010bc  Service Name: TPE  Component ID: 36864
      Num: 14  Service ID: e0d110bc  Service Name: EPG Deutschland   Component ID: 49188
      Num: 15  Service ID: e0d210bc  Service Name: MB Datacast       Component ID: 49186
      Num: 16  Service ID: e0d310bc  Service Name: TPEG_MM           Component ID: 49185
      Num: 17  Service ID: e0d410bc  Service Name: ECODyNIS Test     Component ID: 49184

PUSH SERVICE LIST
RADIO: Push Servicelist
RADIO: Number of Services: SetProperty(DAB.Services,18,10000)
RADIO: Service: SetProperty(DAB.Service_0,SCHLAGERPARADIES,10000)
RADIO: Service: SetProperty(DAB.Service_1,sunshine live   ,10000)
RADIO: Service: SetProperty(DAB.Service_2,RADIO BOB!      ,10000)
RADIO: Service: SetProperty(DAB.Service_3,Absolut relax   ,10000)
RADIO: Service: SetProperty(DAB.Service_4,ENERGY          ,10000)
RADIO: Service: SetProperty(DAB.Service_5,ERF Plus        ,10000)
RADIO: Service: SetProperty(DAB.Service_6,Radio Horeb     ,10000)
RADIO: Service: SetProperty(DAB.Service_7,Deutschlandfunk ,10000)
RADIO: Service: SetProperty(DAB.Service_8,,10000)
RADIO: Service: SetProperty(DAB.Service_9,DWissen         ,10000)
RADIO: Service: SetProperty(DAB.Service_10,DRadio DokDeb   ,10000)
RADIO: Service: SetProperty(DAB.Service_11,KLASSIK RADIO   ,10000)
RADIO: Service: SetProperty(DAB.Service_12,DRadio Daten    ,10000)
RADIO: Service: SetProperty(DAB.Service_13,TPE,10000)
RADIO: Service: SetProperty(DAB.Service_14,EPG Deutschland ,10000)
RADIO: Service: SetProperty(DAB.Service_15,MB Datacast     ,10000)
RADIO: Service: SetProperty(DAB.Service_16,TPEG_MM         ,10000)
RADIO: Service: SetProperty(DAB.Service_17,ECODyNIS Test   ,10000)

START SERVICE 1
SID: 5596 ; CID: 21
SERVICE LINKING INFO
SI4688: si4688_dab_get_service_linking_info()

COMPONENT INFO
SI4688: si4688_dab_get_component_info()

SET SYSTEM TIME
      Date: 20.1.2016 ; Time: 6:46:34
      Epoch time stamp is: 1455947194
      Setting system time...
      Done
TDA: Input: 2
Lautstärke 20
TESTING FINISHED

Beim iCarus project habe ich was nettes gesehen, zur voreinstellung des Klang´s usw.

   

Hier noch die gpio_description:

Code:
# Raspberry PI GPIO XBMC Controller configuration file
# Ip address of the XBMC machine
[ip]:localhost


#tda address: 0 = not connected. 68

tda:68

# Radio volume and XBMC volume are unified
unified_volume:1


#dabpi connected = 1, else: 0

dabpi:1

# Debouncing settings
click_skip:1
click_hold:500000
encoder_hold:200000

# DO NOT USE:
# PIN   GPIO    FUNCTION
# 12     18      PCM_CLK
# 16     23      SI4688 Reset
# 19     10      SPI MOSI
# 21      9      SPI MISO
# 22     25      INT
# 23     11      SPICLK
# 24      8      SPI CE0_N
# 27             ID_SD
# 28             ID_SC
# 35     19      PCM_FS
# 38     20      PCM_DIN

# Left Control
button:4:tda_input_1
#button:4:xbmcbuiltin_PlayerControl(Play)
encoder:sl:2:sr:2:clk:17:dt:27:tda_volume_down:tda_volume_up
#encoder:sl:2:sr:2:clk:27:dt:17:tda_balance_left:tda_balance_right

# Right Control
button:16:tda_input_2
encoder:sl:2:sr:2:clk:12:dt:26:radio_seek_down:radio_seek_up
#button:22:radio_seek_down
#button:27:radio_seek_up


################################################################################
#########################  CLARIFICATION ON SETTINGS  ##########################
################################################################################
# 1. Debouncing Common Settings
# click_skip - How many button press events will be ignored until the user takes the finger out of the button
# click_hold - Ho many microseconds to hold after a button was pressed
# encoder_hold - How many microseconds to hold after an encoder has been turn

# 2. Encoder settings
# sl: How many times to skip an action for the left turn of the encoder
# sr: How many times to skip an action for the right turn of the encoder
# clk: The GPIO number where the CLK pin of the encoder is hooked up
# dt: The GPIO number where the DT pin of the encoder is hooked up

# 3. Radio Commands
# A radio module is needed and a radio UDP server runing.
# A Radio command should start with fm_
#     fm_init          -> initialize fm radio with last channel
#     fm_seek_up       -> seek for the next channel      //NOT WORKING
#     fm_seek_down     -> seek for the previous channel  //NOT WORKING
#     fm_tune_up       -> tune up 100kHz                 //NOT WORKING
#     fm_tune_down     -> tune down 100kHz               //NOT WORKING
#     fm_tune:x        -> set radio frequency to x kHz
#     fm_rds_update    -> updates rds to kodi

# 4. TDA Commands
# Commands start with tda_ and and finish with one of the following commands:
# volume_up/down       -> volume up or down
# bass_up/down         -> bass up/down
# treble_up/down       -> treble up/down
# fade_front/rear      -> fade front/rear
# input_1/2/3/4        -> choose between input 1-4 (1: RPi, 2: SI4688, 3: AUX, 4: not used)

# 5. XBMX/Kodi
# xbmcbuiltin_         -> finishes with one of the built-in functions
# KB_                  -> send keyboard press

# 5. DAB Radio
# commands start with dab_
# dab_init             -> initialize dab
# dab_scan             -> Scans the national frequency blocks of germany
# dab_scan_int         -> Scans all frequency blocks
# dab_ensemble:x       -> tunes to one of the reachable ensembles/frequency
# dab_start_service:x  -> starts a service
#
#

Gruß Tauri
Zitieren


Nachrichten in diesem Thema
DABPI Plugins [beta] - von E-B - 28.10.2015, 22:53
RE: DABPI Plugins [beta] - von schnibli - 10.11.2015, 07:20
RE: DABPI Plugins [beta] - von schnibli - 13.11.2015, 21:22
RE: DABPI Plugins [beta] - von E-B - 18.11.2015, 23:30
RE: DABPI Plugins [beta] - von schnibli - 19.11.2015, 06:32
RE: DABPI Plugins [beta] - von E-B - 19.11.2015, 07:42
RE: DABPI Plugins [beta] - von schnibli - 20.11.2015, 15:55
RE: DABPI Plugins [beta] - von E-B - 21.11.2015, 00:25
RE: DABPI Plugins [beta] - von schnibli - 24.12.2015, 15:47
RE: DABPI Plugins [beta] - von schnibli - 28.12.2015, 16:12
RE: DABPI Plugins [beta] - von robin - 29.12.2015, 20:12
RE: DABPI Plugins [beta] - von schnibli - 30.12.2015, 09:53
RE: DABPI Plugins [beta] - von robin - 30.12.2015, 12:41
RE: DABPI Plugins [beta] - von schnibli - 30.12.2015, 12:55
RE: DABPI Plugins [beta] - von robin - 30.12.2015, 13:17
RE: DABPI Plugins [beta] - von schnibli - 30.12.2015, 13:40
RE: DABPI Plugins [beta] - von robin - 30.12.2015, 13:54
RE: DABPI Plugins [beta] - von Tauri - 02.01.2016, 17:25
RE: DABPI Plugins [beta] - von schnibli - 02.01.2016, 19:08
RE: DABPI Plugins [beta] - von Tauri - 03.01.2016, 12:40
RE: DABPI Plugins [beta] - von robin - 03.01.2016, 19:24
RE: DABPI Plugins [beta] - von schnibli - 06.01.2016, 07:29
RE: DABPI Plugins [beta] - von E-B - 06.01.2016, 14:38
RE: DABPI Plugins [beta] - von E-B - 06.01.2016, 16:13
RE: DABPI Plugins [beta] - von Tauri - 13.01.2016, 20:11
RE: DABPI Plugins [beta] - von E-B - 14.01.2016, 14:44
RE: DABPI Plugins [beta] - von schnibli - 17.01.2016, 10:06
RE: DABPI Plugins [beta] - von E-B - 17.01.2016, 21:14
RE: DABPI Plugins [beta] - von schnibli - 18.01.2016, 06:16
RE: DABPI Plugins [beta] - von Tauri - 18.01.2016, 08:24
RE: DABPI Plugins [beta] - von schnibli - 18.01.2016, 08:49
RE: DABPI Plugins [beta] - von E-B - 18.01.2016, 13:58
RE: DABPI Plugins [beta] - von Tauri - 20.01.2016, 07:10
RE: DABPI Plugins [beta] - von E-B - 20.01.2016, 13:15
RE: DABPI Plugins [beta] - von Tauri - 21.01.2016, 07:47
RE: DABPI Plugins [beta] - von schnibli - 23.01.2016, 10:50
RE: DABPI Plugins [beta] - von robin - 26.01.2016, 20:30
RE: DABPI Plugins [beta] - von schnibli - 29.02.2016, 16:13
RE: DABPI Plugins [beta] - von E-B - 15.03.2016, 08:12
RE: DABPI Plugins [beta] - von schnibli - 31.05.2016, 05:21
RE: DABPI Plugins [beta] - von Skorpionbird - 18.08.2016, 19:27
RE: DABPI Plugins [beta] - von nice - 19.08.2016, 09:24
RE: DABPI Plugins [beta] - von Skorpionbird - 19.08.2016, 13:00
RE: DABPI Plugins [beta] - von Snails - 18.04.2018, 15:06
RE: DABPI Plugins [beta] - von Peziman - 20.04.2018, 07:38

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 6 Gast/Gäste
RasPiCarProjekt