CC1101 + CC1190 error at line 560

Hi,

zu früh gefreut :frowning: .
Gestern hatte ich wieder einen Ausfall von Homegear.
Ich nutze MAX! Komponenten und die Homegear Version 0.7.1365.
Das Errorlog zeigt folgende Einträge:

[code]07/17/16 15:00:10.816 Module MAX: TI CC110X “My-MAX-CC1101”: Warning: Too large packet received: 850706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C710706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C0C710706300AB0
07/17/16 15:00:10.816 Module MAX: TI CC110X “My-MAX-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…
07/17/16 15:01:01.769 Module MAX: TI CC110X “My-MAX-CC1101”: Warning: Too large packet received: 860706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3878787
07/17/16 15:01:01.769 Module MAX: TI CC110X “My-MAX-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…
07/17/16 15:01:01.772 Module MAX: TI CC110X “My-MAX-CC1101”: Error in file PhysicalInterfaces/TICC1100.cpp line 560 in function uint8_t MAX::TICC1100::writeRegister(MAX::TICC1100::Registers::Enum, uint8_t, bool): Error (check) writing to register 17.
07/17/16 15:02:05.218 Module MAX: TI CC110X “My-MAX-CC1101”: Warning: Too large packet received: 830706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C710706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C0C71070630
07/17/16 15:02:05.219 Module MAX: TI CC110X “My-MAX-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…
07/17/16 15:03:12.271 Module MAX: TI CC110X “My-MAX-CC1101”: Warning: Too large packet received: 840706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C710706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D004702A8DA9E0C0C710706300A
07/17/16 15:03:12.272 Module MAX: TI CC110X “My-MAX-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…
07/17/16 15:03:12.275 Module MAX: TI CC110X “My-MAX-CC1101”: Error in file PhysicalInterfaces/TICC1100.cpp line 560 in function uint8_t MAX::TICC1100::writeRegister(MAX::TICC1100::Registers::Enum, uint8_t, bool): Error (check) writing to register 22.
07/17/16 15:06:22.597 Module MAX: TI CC110X “My-MAX-CC1101”: Warning: Too large packet received: 840706300AB0E6FD6A9E001005869FF0955D9A852EABA46B9B78A74DB41A596BC814CC6FB4E469EDF839C4AC8F94501F54F7713D7E7021141D00461E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E
07/17/16 15:06:22.598 Module MAX: TI CC110X “My-MAX-CC1101”: Connection to TI CC1101 closed unexpectedly… Trying to reconnect…
07/17/16 15:06:22.601 Module MAX: TI CC110X “My-MAX-CC1101”: Error in file PhysicalInterfaces/TICC1100.cpp line 560 in function uint8_t MAX::TICC1100::writeRegister(MAX::TICC1100::Registers::Enum, uint8_t, bool): Error (check) writing to register 14.

[/code]

Danach passier nichts mehr. Keine Komunikation mehr über Funk.
Ein Neustart des Dienstes klappt und die Pakete funken wieder.

Irgend eine Idee?

Grüße / Zennix

Hallo Zennix,

das ist ja doof… Die Registerschreibefehler sprechen für ein Hardwareproblem (Verkabelung [zu lang?], Raspberry Pi oder TICC1101-Modul). Da geht irgendetwas in der SPI-Kommunikation schief. Warum ein Neustart das Problem behebt - keine Ahnung. Ich habe jetzt aber mal eingebaut, dass die Initialisierung auch bei Fehlern in der Registerinitialisierung neu startet - vielleicht hilft das ja schon einmal.

Viele Grüße

Sathya

Hi Sathya,

vielen Dank. Habe heute die 0.7.0-1383 installiert. Schaun wir mal.

Grüße / Zennix