addy.richard

STM8L- LSE Internally to TIM3 Configuration

Discussion created by addy.richard on Mar 23, 2017
Latest reply on Mar 24, 2017 by addy.richard

Hi, I'm using the STM8L052r8.

Running the SYSCLK at 16MHz but at various parts of the code I'm changing the Pre-scaler to slow it down, then returning to the 16MHz.

I'd like to set up a Time base completely independent of the SYSCLK using the LSE internally redirected to the ETR inputs of TIM3.

I can't find any code examples of this,

Can anyone help please?

Thanks Richard

Outcomes