bl_iot_sdk icon indicating copy to clipboard operation
bl_iot_sdk copied to clipboard

CKS base address wrong in svd. Overlaps with UART0

Open btashton opened this issue 3 years ago • 5 comments

I could not find much information on what the CKS is but the base address defined in the svd overlaps with UART0 at 0x4000a000. What is the correct base address for this?

btashton avatar Dec 27 '20 18:12 btashton

Hi btashton,

UART0 base address is 0x4000a000. Please refer BL602/604 Datasheet and BL602/604 Reference Manual.

https://dev.bouffalolab.com/media/doc/602/open/datasheet/en/html/content/Functional.html https://dev.bouffalolab.com/media/doc/602/open/reference_manual/en/html/index.html

shchen-Lab avatar Dec 28 '20 03:12 shchen-Lab

Yes I know. The base address for CKS is also listed as 0x4000a000 which cannot be correct.

btashton avatar Dec 28 '20 04:12 btashton

Yes, Thanks for your help. CKS base address wrong in svd, we will fix this issue. You can get clock register information at glb_reg.h. 1609130646(1)

shchen-Lab avatar Dec 28 '20 04:12 shchen-Lab

The base address for CKS in an updated SVD I got from Bouffalo Lab is 0x4000A700.

mkroman avatar Jan 14 '21 11:01 mkroman

I've improved the SVD here and I've written some peripheral details here

mkroman avatar Jan 18 '21 00:01 mkroman