We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.2.0
HPM6750
GCC
- if ((xfer_buf_addr % 4 != 0) && (write_size % 4 != 0)) + if ((xfer_buf_addr % 4 != 0) || (write_size % 4 != 0))
rt_sem_take(spi->spi_xfer_done_sem, RT_WAITING_FOREVER);
- rt_sem_take(spi->spi_xfer_done_sem, RT_WAITING_FOREVER); + // rt_sem_take(spi->spi_xfer_done_sem, RT_WAITING_FOREVER);
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
RT-Thread Version
5.2.0
Hardware Type/Architectures
HPM6750
Develop Toolchain
GCC
Describe the bug
rt_sem_take(spi->spi_xfer_done_sem, RT_WAITING_FOREVER);
会一直等待。这里需要分析原因,或在DMA接收模式模式下,是否可以去掉这个这个等待,因为只要DMA接收完成,SPI一定传输完成了。
Other additional context
No response
The text was updated successfully, but these errors were encountered: