SPI communication between two stm32f103 - Urgent Help
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-04-08 5:49 AM
Posted on April 08, 2011 at 14:49
SPI communication between two stm32f103 - Urgent Help
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
‎2011-05-17 5:31 AM
Posted on May 17, 2011 at 14:31
Master Slave
PC.4 ----------> SS_bar
MISO -----------> MISO
MOSI ----------> MOSI
SCK ----------> SCK Maybe: MISO -----------> MOSI MOSI ----------> MISO? A'm not sure here, but you can try...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 5:31 AM
Posted on May 17, 2011 at 14:31
No I think one-to-one wiring of MISO (MASTER IN, SLAVE OUT), etc is really the way to do it.
Personally, I'd suggest people use the library to avoid hours futzing around with register level debugging, but to each their own. If you're going to program it at this level, you'd better be prepared to debug it yourself, rather than asking others to URGENTLY comb over this kruft. If you think you might have a USART problem, output some data/string upon entry to the program to confirm it is working. If using the registers, you really should be worried about initial conditions and not randomly OR data into them. Either write an initial value, or mask the current content.
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..
