STM32F4Discovery + AD7680 via SPI
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-10-07 3:32 AM
Posted on October 07, 2013 at 12:32The original post was too long to process during our migration. Please click on the attachment to read the original post.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-10-07 8:23 AM
Posted on October 07, 2013 at 17:23
I'm not particularly familiar with the One Wire mode, but I'm pretty sure you'd still need to send dummy data to get the interface to clock, and be able to receive data. You'll perhaps want to check the TXE status prior to attempting to send each of the dummy bytes.
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
‎2013-10-07 8:54 AM
Posted on October 07, 2013 at 17:54
Hello clive1,
thank you for your reply! Do I have to send all the time data or only when I want to read the samples ? I just send via SPI2->DR = 0; dummy data before I read. You an find it in the while loop in main function. Thank you.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-10-07 1:42 PM
Posted on October 07, 2013 at 22:42 The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6mW&d=%2Fa%2F0X0000000bvJ%2F3UBjkDk0TKfOyzmtc44t0z5TxUkJlcybVFEA1vCalpg&asPdf=false
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-10-09 12:01 PM
Posted on October 09, 2013 at 21:01
Hello,
I solved it now. It is working. The project (CooCox CoIDE) and the main.c can be found here: Best regards, opcode