problem on PC0 of stm32f4discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 12:40 AM
Hi guys,
last week i am still able to use my pc0 as input, now he is rebelling it is configured as input but it has an output of 2.25v I dont understand why- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 7:05 AM
last week i am still able to use my pc0 as input, now he is rebelling it is configured as input but it has an output of 2.25v I dont understand why
From the information provided it's hard for me to understand too. Did you change some code, or burn it out? Isn't PC0 connected to the USB Power On, with an external 10K pull up?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 4:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 4:45 PM
Perhaps you have it wired up, or configured wrong. Can't help you there.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 4:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 5:16 PM
but this code is correct ryt?
DIOData = 255 - (GPIOC ->IDR>>1 & 0x00FF) ; if I want to capture ascii data from port c1 - c8- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 5:49 PM
Doesn't look unreasonable, I might do this
DIOData = ((~GPIOC->IDR >> 1) & 0x00FF) ; // PB[1..8] You could do a printf(''%04X\n'', GPIOC->IDR); to confirm the data bits presenting.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-13 9:48 PM
woooh. whats ~ for? invert?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-14 4:18 AM
What's
http://www.eskimo.com/~scs/cclass/int/sx4ab.html
?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-02-14 10:08 PM
Thank you very much clive!
