cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F100RC revisions

tetj
Associate II
Posted on June 24, 2015 at 15:26

I am having a problem with STM32F100RC microcontroller related to the chip revision. It appears that TIM14 which I use is not presented in a new batch of chips. Old ones are marked STM32F100RCT6B rev. A and they work fine. The new ones are marked STM32F100RCT6 (without the 'B' which is some kind of internal code for ST according to the datasheet) and the revision is X. With the new batch it is not possible to enable TIM14 clock in RCC_APB1ENR register. The bit cannot be set by software. TIM14 registers also cannot be modified. Errata document states it is only valid for revision A chips and I could not find any information about revision X ...

4 REPLIES 4
Amel NASRI
ST Employee
Posted on June 29, 2015 at 11:38

Hello Kruger,

To be sure about the used revision of STM32F100 device, please check the exact the value of ''DEV_ID'' field in DBGMCU_IDCODE register (0xE0042000):

- If the value is 0x420 or 0x428, refer to RM0041

- Otherwise, refer to RM0008.

Based on the reference manual content, you can verify if TIM14 is available on your device or not.

TIM14 is available only on devices with DEV_ID: 0x430 or 0x428.

-Mayla-

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.

tetj
Associate II
Posted on June 29, 2015 at 15:18

I have checked the values. DEV_ID is 0x414 (High density devices) and REV_ID is 0x1003 (Y, 1, 2 or X). Reading the flash size register (at 0x1FFFF7E0) shows the chip have 256k flash memory. The chip can therefore be STM32F101RC or STM32F103RC (they both lack TIM14). Checking if RAM is writable at locations beyond 32k (STM32F101RC have 32k RAM) shows it is actually STM32F103RC (got 48k RAM). So the chip marking is wrong...

I am attaching a photo of the chip.

________________

Attachments :

chip.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0sj&d=%2Fa%2F0X0000000bf0%2FreBR45Ss9PfAjo01Izvms3AH3pyGbEN_mGrLqqlQrSY&asPdf=false
Posted on June 29, 2015 at 16:08

What's the RAM size specified in the half-word at 0x1FFFF7E2?

As for TIM14, the

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00212417.pdf

certainly seems to indicated that the part should have this feature.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tetj
Associate II
Posted on June 29, 2015 at 17:18

It reads 0xFFFF at location 0x1FFFF7E2. This chip seem to be STM32F103RC (lack TIM14) in STM32F100RC marked package (bad batch) judging by the IDs and this doc is only valid for STM32F100.

I have STM32F100RC from old batch for comparison. It has DEV_ID 0x428, REV_ID 0x1000 which is by the book. But this one reads DEV_ID 0x414 and REV_ID 0x1003