cancel
Showing results for 
Search instead for 
Did you mean: 

Using S2-LP without crystal

jeffm
Associate II

Does anyone have any details on register settings to get the S2-LP running from XIN rather that a crystal? The documentation is a bit thin in this area.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

You do not need a special register setting to connect an oscillator instead of a crystal. You should only switch the synchronisation of the internal RCO from XO to XI by setting XO_RCO_CONF0 from 0 to 1. However, note the connection conditions to XIN when using the oscillator, which are listed in the pin description for XIN in section 3.2.

Hope that helps?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Peter BENSCH
ST Employee

You do not need a special register setting to connect an oscillator instead of a crystal. You should only switch the synchronisation of the internal RCO from XO to XI by setting XO_RCO_CONF0 from 0 to 1. However, note the connection conditions to XIN when using the oscillator, which are listed in the pin description for XIN in section 3.2.

Hope that helps?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.