TIMx->SMCR.SMS[3] missing in peripheral view for STM32L4R5 #2397
Closed
PerennialNovice
started this conversation in
General
Replies: 1 comment
-
Please report this to STMicroelectronics GitHub. Not related to Arduino stuff. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know you don't support sloeber, but Iam quiet confident this is an issue not related to sloeber alone.
When debugging timers, I noticed that TIMx->SMCR is missing bit 16 for SMS[3] in the SMCR bitfield list:
![image](https://private-user-images.githubusercontent.com/85557472/338879916-d7cd615a-e703-49bf-b04c-6f1117dc9559.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMzQ4MjgsIm5iZiI6MTcyNDMzNDUyOCwicGF0aCI6Ii84NTU1NzQ3Mi8zMzg4Nzk5MTYtZDdjZDYxNWEtZTcwMy00OWJmLWIwNGMtNmYxMTE3ZGM5NTU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDEzNDg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlMjQyNGM5OWM0N2FlYTlhZjAzNGJiYzEyMWFhNTE4NDkyM2Y4Y2MwZDg0MWQ4MGQ3ZDg1MGJiY2RhNjQyNzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YqgjD5tCGwVNlK9wEWifBD1WFNo2_RW6wqfYVNLTRM0)
the SMCR value gets updated correctly, but the corresponding bit for SMS[3] is missing.
Would it be possible to change SMS[2:0] to SMS[3:0] ?
By editing the .svd-file I managed to get a field SMS3 at bit 16, but it would be nice to have ist as one field. But I have no idea if the .svd format allows for this...
Beta Was this translation helpful? Give feedback.
All reactions