Skip to main content
alex239955_st
Associate
December 3, 2014
Question

STM32 Remap function issue

Posted on December 03, 2014 at 14:23

Hi all,

I'm working with stm32f103zhc6 mcu and the issue is that I cant write AFIO_MAPR2 register. Is the issue because the register exists in XL-density devices only or some special action should be applied to get an access to this register?

#afio_mapr2
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    December 3, 2014
    Posted on December 03, 2014 at 14:31

    Can you modify any of the AFIO registers? Is the AFIO clock enabled?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    alex239955_st
    Associate
    December 3, 2014
    Posted on December 03, 2014 at 14:41

    AFIO clock enabled and I can successfully write to MAPR (but not to MAPR2)

    Tesla DeLorean
    Guru
    December 3, 2014
    Posted on December 03, 2014 at 16:26

    I, and apparently Google, are not familiar with your STM32F103ZH part, care to cite a data sheet for it?

    Since a lot of the values appear to relate to peripherals only in the XL series parts, yes I'd assume it's related to that.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..