English
Language : 

AN921 Datasheet, PDF (19/24 Pages) Silicon Laboratories – Configurable Logic Unit
AN921: Configurable Logic Unit
Biphase Mark Encoder/Decoder
6.2.2 Firmware Example
The Biphase Mark encoder firmware example can be found in Simplicity Studio under [Software Examples]>[Kit: EFM8LB1/
EFM8BB3 Starter Kit]>[Configurable Logic]>[Biphase Mark Encoder]. The example uses the SPI, CLU1, CLU2, CLU3, CLU4, Tim-
er 2, Timer 4, and the previously-discussed configuration to implement the Biphase Mark encoder. The example transmits 12 bits of
BMC encoded bits.
The picture below shows the scope capture of the SCK, /TXMASK and BMC.
Figure 6.5. Scope Capture of SCK (CH1), /TXMASK (CH2) and BMC (CH3) signals
In the demo application, the firmware intentionally delays the servicing of the completion of transmission to demonstrate that there is no
requirement to service this event within a strict time limit. In the above scope capture, we can observe the extra bit generated because
the last data bit generated a rising edge transition.
silabs.com | Smart. Connected. Energy-friendly.
Rev. 0.1 | 18