Abstract : Autonomous piecewise linear systems in the Lur'e form may exhibit periodic steady-state oscillations. For many practical systems belonging to this class the period and the shape of the oscillation is difficult to be predicted a priori. In this paper the complementarity approach is used to tackle the issue. The complementarity formalism is used to represent the closed-loop system and a phase condition acting as an anchor equation for the periodic solution. By discretizing the dynamics a mixed complementarity problem is formulated. The corresponding solution provides an accurate prediction of the steady-state oscillation and its period. Numerical results show the effectiveness of the proposed technique for the computation of stable and sliding periodic solutions. The analysis of the steady-state solution of a Colpitts oscillator is considered as an illustration.