Open Ristovski opened 1 year ago
Ah, indeed. Can you do some research on how this is supposed to work? So we can implement something correct
The registers do not actually overlap. SYSCFG and COMP are simply inside the same memory block. If you look at their respective addresses you can see that they have different memory offsets which do not overlap. In that document if you go to the SYSCFG register map section you can see that the offset is 0x00 to 0x0C while for COMP the offset is 0x18 to 0x1C.
With STM32L0x1, the SYSCFG and COMP register blocks do overlap which produces the following error:
Overlapping register blocks between SYSCFG and COMP
.https://www.st.com/resource/en/reference_manual/rm0377-ultralowpower-stm32l0x1-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
In another document, I saw even more register blocks overlapping. Difference table between STM32F303xB and STM32L4 series![image](https://user-images.githubusercontent.com/994445/182030204-727c92ef-6477-4c65-8ded-b48895110493.png)
I have no idea how this overlapping is supposed to work, as I have not looked into it much.