User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sc14cvmdect-devboard [2024/12/26 09:07] – created funkeleinhornsc14cvmdect-devboard [2024/12/26 10:19] (current) funkeleinhorn
Line 16: Line 16:
 It has two LEDs connected to the LED3/LED4 pins of the module. When working correctly D2 (the LED connected to pin LED3) blinks shortly when the board is powered on. If there is an issue with the DECT module it stays on. It has two LEDs connected to the LED3/LED4 pins of the module. When working correctly D2 (the LED connected to pin LED3) blinks shortly when the board is powered on. If there is an issue with the DECT module it stays on.
  
 +===== UART Interface =====
  
 +The module uses a variant of [[https://en.wikipedia.org/wiki/High-Level_Data_Link_Control|HDLC]] as the base protocol for its binary UART interface. It works by sending and receiving frames. The flag/frame delimiter used is ''0x10''. The structure of a frame looks like this:
 +
 +''1 Byte Flag 0x10 | 2 Byte Frame Size | 1 Byte Control Code | N Byte Payload | 1 Byte Checksum''
 +
 +An existing parser implementation for the frames can be found [[https://github.com/opend-connect/openD/blob/686fc01b7bc925d744d6efdeee73348f3ced8375/src/opend/dialog/dect-hdlc/src/hdlc/hdlc.c#L806|here]].
 +
 +When powered on the module starts sending out frames with a control code of ''0xC8'' and a payload length of 0.
 +To sync with the module you have to mirror this frame back. Afterwards more frames are received from the module.