Search found 12 matches

by arashi
Thu Apr 13, 2017 3:25 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

I think I understand what you're saying about having a Raspberry Pi continuously running integration tests. Quite handy if you're doing a lot of development.

Anyway, I will mark this thread as [SOLVED]. Thanks a lot for your AWESOME support. :-)
by arashi
Wed Apr 12, 2017 3:29 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

Well, what do you know! This is what I get when I have my Crazyradio actually powered: root@raspberrypi:/usr/local/bin# ./fix_bootloader_raspi.py ./fix_bootloader_raspi.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. GPIO.set...
by arashi
Tue Apr 11, 2017 5:28 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

I'm running a completely vanilla Raspbian that I don't use for anything besides flashing my Crazyradio PA. If the GPIOs are already in use when running your script it is due to something in the default Raspbian installation. Anyway, if I run the script a second time, I don't get the warnings: root@r...
by arashi
Tue Apr 11, 2017 3:40 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

I'm guessing that it didn't work and that flash content should have been "02 78 00": root@raspberrypi:/usr/local/bin# ./fix_bootloader_raspi.py ./fix_bootloader_raspi.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. GPIO.setup...
by arashi
Tue Apr 11, 2017 3:06 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

Because of this line https://github.com/bitcraze/crazyradio-firmware/blob/master/fix_bootloader/fix_bootloader_raspi.py#L35 I use the physical/board numbering. Excellent. Makes sense. Stay tuned as I hook up my Crazyradio PA to my Raspberry Pi and try your script... On a side note, thanks for the p...
by arashi
Tue Apr 11, 2017 1:05 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

OK, so going by the terminology at https://pinout.xyz/, are your Raspberry Pi pin numbers BCM or physical or something else? I assumed the pin numbers in the NRF_SPI_Flash.py script were physical, but with your script I'm not so sure.
by arashi
Tue Apr 11, 2017 10:53 am
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

Re: SPI trouble

Well, it seems that the Raspberry Pi script I tested with is actually a fork of your script, or the other way around. Anyway, the pin numbering is different between the two scripts. In the NRF_SPI_Flash.py script it says: # Name Pin on raspi Pin on Crazyradio #---------------------------------------...
by arashi
Mon Apr 10, 2017 5:52 pm
Forum: Support
Topic: [SOLVED] SPI trouble
Replies: 13
Views: 3317

[SOLVED] SPI trouble

So... I just soldered an expansion header onto my Crazyradio PA and, for starters, am doing some basic SPI read tests and both the Infopage and the Mainblock always seem to come back empty! I've had the Crazyradio PA hooked up to both a Raspberry Pi and a Bus Pirate (though not at the same time...) ...
by arashi
Fri Dec 19, 2014 10:53 am
Forum: Developer discussions
Topic: Crazyradio and other nRF24 modules?
Replies: 10
Views: 5475

Re: Crazyradio and other nRF24 modules?

You would need to find the right speed and channel by yourself though. Out of my head, I can't think of anything better than trial-and-error:-( "When in doubt, use brute force." I was thinking of placing a heavy object on the remote and having a program run continuously that would loop through the ...
by arashi
Thu Dec 18, 2014 10:47 am
Forum: Developer discussions
Topic: Crazyradio and other nRF24 modules?
Replies: 10
Views: 5475

Re: Crazyradio and other nRF24 modules?

So, as a starting point, it seems that I can use your firmware (as discussed here ) and the original crazyradio.py driver. Do you think the firmware needs to be modified for my purposes or is it sufficient that I poke at the driver code? Also, do you think the Crazyradio PA will improve reception ov...