-
Notifications
You must be signed in to change notification settings - Fork 31
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
Can't get node-nrf to work #4
Comments
Thanks for the report. I've filed the pi-spi compilation issue at natevw/pi-spi#8 — I'm hoping it won't be too much trouble to get it working for both node.js versions but I want it to work on the latest at least! If you've been testing with the C++ library, it probably ± broke the Linux SPI driver and you'll need to either reboot your Pi or follow the It's really kind of odd that you're getting [mostly] Hope this helps! |
OK, now its getting strange...
and then after a
THIS happens:
And THIS is strange. Because as you can see here, there are some bits of my set adress, but not all (wth?!) (my set address was 0x746D610000) Any ideas? The connections are correct. |
Sorry for the delay on this, keep encountering setbacks wiring up a second radio/RasPi to test on. (You'd think it'd be easier the second time…) If I can't get a "development" setup going soon I'll just have to borrow the "in-use" system for an evening or two instead. Any news on your end, in the meantime? |
Not quite, I couldn't get any data events out of it, but seemed to be able to program the chips registers after a reboot of the raspberry. But still -- that weird issue with the bits of the addresses persists too. Thanks, |
I saved your example script as "issue4.js" and the basic setup is working on my Pi. The first time I run it reports the previous pipe numbers (the script doesn't wait for pipe setup to complete before the printDetails starts talking with the chip too), but when running again I see the correct address:
|
(Note that I'm only looking at the RX address, which is getting associated with the P1 "slot" by design. I wouldn't expect the TX address to be set, since that only gets set as needed, i.e. a packet gets sent.) |
Hmm, it is interesting that in both our cases the P0 address ends up as 0xe7e7616d74. I turned my little debug flag on ( I need to review a couple different things about this (I'm not sure the TX pipe should be claiming P0 to begin with, and also it needs to check its address width better…) but you may get farther along with |
For my reference, the followup items here are:
|
Hi,
I was trying to get node-nrf to work right.
At first, I had to downgrade node to v0.10.16. After downgrading I was able to compile the needed spi libs.
My hardware is OK, because I'm able to get the chip running with the C++ lib RF24:
Using this javascript I was not able to get the chip running:
printDetails outputted the following instead of the correct variables:
Any ideas what I did wrong here?
Thanks,
Tobias
The text was updated successfully, but these errors were encountered: