Protocol Captures¶
Logic analyzer traces for CC1101 communication, as well as UART and EEPROM communication, can be found here.
Peripheral Interfaces¶
The radio module's microcontroller communicates with three peripheral devices using two serial interfaces.
The MSP430 communicates with the CC1101 RF transceiver and the EEPROM via a shared SPI bus .
The MSP430 communicates via the 6-pin header with the smoke detector's microcontroller over a 2-wire UART .
Logic Analyzer¶
Measurement Device¶
For recording the serial communication, I used the DSLogic U3Pro16 logic analyzer, which was very well suited for this task.
Software¶
The logic analyzers from DreamSourceLab use the freely available open-source software DSView ( GitHub Repository ) for visualizing and exporting traces. DSView can also be used without a logic analyzer to load and analyze traces.
DSView is a clone of the open-source tool PulseView (sigrok) ( GitHub Repository ).
Decoders¶
The performance of an analysis tool like DSView or PulseView is largely determined by the number and analysis scope of supported buses and protocols. Multi-layer protocol decoder stacks significantly facilitate evaluation.
The following decoders should be installed for evaluating the trace files: 
Trace files¶
| File | Content | CC1101 | EEPROM | UART |
|---|---|---|---|---|
| startup_new-rm.dsl | Radio module is plugged onto the smoke detector. | |||
| mounting-to-base.dsl | Interface communication when the smoke detector (with attached radio module) is twisted into the base. | |||
| comissioning-master.dsl | Interface communication of the radio module that initiates commissioning. | |||
| comissioning-slave.dsl | Interface communication of the radio module that participates in commissioning. | |||
| linetest-start-stop.dsl | Alarm line test is started and stopped. | |||
| firealarm-start-stop.dsl | Fire alarm is triggered and ended on a smoke detector. |