STVD LD mem,A problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-03 5:46 AM
In STVD (ver.4.3.12 MCU: STM8L052C6)
I wrote:
LD A,#$68
LD $5232,A ;(USART bade rate register)
but memory ($5232) is $00
when I wrote:
LD $5000,A ;Port A data reg.
memory ($5000) is $68, it work well
whai is the different?
Could anybody help me? THX. Sandor
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-03 5:48 AM
Peripheral clock enabled?​
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-03 11:58 AM
Many thanks!!!
Oh, works!!! This is my first program.
Registers ok, but data on TX pin doesn't present yet. I work on it.
Are you perfect in assembler?
