cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l051xx.h TIM7 missing

Tobias Rohde
Associate
Posted on January 16, 2017 at 14:29

Hello,

we use the STM32L051C8 MCU and include the stm32l051xx.h in version 1.7.0. (31-May-2016). We can't find any definition for timer7 peripheral. Is there a reason why it's missing? are we using the wrong header file?

Thanks in advance for a short response!

T.Rohde

1 ACCEPTED SOLUTION

Accepted Solutions
Amel NASRI
ST Employee
Posted on January 16, 2017 at 14:56

Hi

Rohde.Tobias

‌,

I confirm Jan's assumption: TIM7 is not available in STM32L051C8.

In the reference manual (

http://www.st.com/content/ccc/resource/technical/document/reference_manual/21/bd/0f/bd/1c/88/40/f0/DM00108pdf/files/DM00108pdf/jcr:content/translations/en.DM00108pdf

), table 'Overview of features per category', you find that TIM7 is available only in products belonging to Category 5..STM32L051x chips belong to Category 3.

However you have TIM6 that may be used as a basic timer.

-Amel

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

3 REPLIES 3
Posted on January 16, 2017 at 14:40

Maybe because TIM7 is not implemented in the 'L051C8?

JW

Amel NASRI
ST Employee
Posted on January 16, 2017 at 14:56

Hi

Rohde.Tobias

‌,

I confirm Jan's assumption: TIM7 is not available in STM32L051C8.

In the reference manual (

http://www.st.com/content/ccc/resource/technical/document/reference_manual/21/bd/0f/bd/1c/88/40/f0/DM00108pdf/files/DM00108pdf/jcr:content/translations/en.DM00108pdf

), table 'Overview of features per category', you find that TIM7 is available only in products belonging to Category 5..STM32L051x chips belong to Category 3.

However you have TIM6 that may be used as a basic timer.

-Amel

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.

Tobias Rohde
Associate
Posted on January 16, 2017 at 15:05

ok thank you all!