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

How to write to a specific address #3

Closed
ghost opened this issue Nov 16, 2012 · 1 comment
Closed

How to write to a specific address #3

ghost opened this issue Nov 16, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 16, 2012

Greetings,

I'm trying to use py-spidev to communicate with a "HopeRF RFM31B".

I can read the registers fine.

I cannot write data to a specific address using writebytes(...) or xfer(...)

How to do this?

Many thanks in advance,

@doceme
Copy link
Owner

doceme commented Feb 6, 2013

Hello,

Sorry I missed your question until now. I am currently using this to communicate with a HopeRF RFM22B using BeagleBone, so the SPI write should be working. I would double check that your MOSI pin is connect properly to your RFM31B module. You can connect a wire from MOSI to MISO to test a loopback connection and make sure you can transfer to yourself before connecting to the RFM31B. I hope this helps.

@doceme doceme closed this as completed Dec 17, 2013
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

1 participant