spi function in stm32l010c6t6 not work
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-08-17 4:36 AM
hi! I am using spi code off reference manual because i need make a function for write register and read the register. but with Hal not work well. i am make other function name:
but, this code not work, i copy of reference manual:
i don´t know how put code in this new forum, excese me.
actually, i use the next code, but not work well:
Labels:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-16 5:19 AM
Hello,
I suggest to handle data overflow error flag. At case of SPI slave you can face even data underflow, too, if the software is not fast enough to handle TXE events.
Best regards,
Petr
