ch32v003fun
ch32v003fun copied to clipboard
Not an issue rather a question regarding NRF24L01 software SPI
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.
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?
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.