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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjc0NTMsIm5iZiI6MTczOTA2NzE1MywicGF0aCI6Ii84NTU1NzQ3Mi8zMzg4Nzk5MTYtZDdjZDYxNWEtZTcwMy00OWJmLWIwNGMtNmYxMTE3ZGM5NTU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAyMTIzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3ZDk5NDAzMWU4ODg5Y2EzY2QzZTUyZTM0YzhkNTYxOTVkZjI1MWM4Yjk0ZmRhNDRlNDYyZGU3ZTU3MmMwNWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AAviYCN-WuY-dInV4p43Y7UgSzxFtakUM4KsnWdOcR8)
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