Why remap?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-19 5:43 AM
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-19 7:12 AM
Posted on August 19, 2014 at 16:12
It's just a way to let you choose a different set of pins for the peripheral functions - for the convenience of your PCB design and/or to avoid conflicts with other peripheral functions.
Look at the chip datasheet for details...Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-19 7:18 AM
Posted on August 19, 2014 at 16:18
Although the pins you are using shouldn't need remapping, and you failed to enable the AFIO peripheral clock to permit the remap to work.
Or more specifically the Reference Manual
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
‎2014-08-19 10:19 AM
Posted on August 19, 2014 at 19:19
Thanks guys,
Then my guss was correct about remap. but I still don't know why he/she has used remap?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-19 11:34 AM
Posted on August 19, 2014 at 20:34
but I still don't know why he/she has used remap?
I have no idea where you lifted the code from either, people tend to post code here they have problems with, or are a random hodge-podge of cut-n-paste from other similar examples, basically throwing mud at a wall hoping some will stick?
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..
