Skip to content
New issue

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

Not an issue rather a question regarding NRF24L01 software SPI #502

Open
RhonyD opened this issue Jan 24, 2025 · 2 comments
Open

Not an issue rather a question regarding NRF24L01 software SPI #502

RhonyD opened this issue Jan 24, 2025 · 2 comments

Comments

@RhonyD
Copy link

RhonyD commented Jan 24, 2025

I have ported my avr code for NRF24L01 to ch32v003 with harware SPI. It's working nice. But I want to ask whether any one has used software SPI (bit banging) for NRF24L01. I tried to to do so but it's not working. Especially the transmit function is not working.

@maxgerhardt
Copy link
Contributor

I don't see why a software SPI would not be possible on a ch32v003. All it needs for that are functioning GPIO pins. There are lots of example codes like SoftSPI.cpp that you could port over, all it needs is pinMode, digitalWrite, digitalRead, and maybe a delay. Can you share the exact code with us? Have you tried scoping out the SPI signals this writes and reads?

@RhonyD
Copy link
Author

RhonyD commented Jan 25, 2025

Soft spi is working perfectly in other devices like memory card reader, shift registers etc. But specially in NRF24L01 it's not working and that too in transmitter mode. I will certainly share the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants