Skip to content

set RESET to Pull.UP when set to input #2

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

Merged
merged 4 commits into from
May 3, 2018
Merged

set RESET to Pull.UP when set to input #2

merged 4 commits into from
May 3, 2018

Conversation

jerryneedell
Copy link
Contributor

@jerryneedell jerryneedell commented May 3, 2018

This fixes the generation of the RESET signal to the RFM9x chip for CP3.0 - I'm still not sure why it worked on 2.x but this change works on both 2.x and 3.0.

The reset sequence for the RFM9x is far more complex than the one for the RFM69, but as Tony noted, it works this way. When I tried the same sequence in the RFM69, it did not work and resulted in a corrupted File System on my feather_m0. So for now, let stick with this ;-)

I tested this with a pair of rfm9x featherwings attached to a feather_m0_express and a feather_m0_supersized (8Mbyte SPI flash) with both CP3.0 master and CP 2.2..4.

I did find that it works well with the default baudrate setting (10000000) as long as the wing is plugged directly into the feather. I had some transmission errors when I used a "doubler". It has been reported before for the rfm69 that it may be necessary to lower the baud rate for breakout boards and even apparently for any separation of the boards.

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for the methodical debugging. Do you want to add your comment about reducing baudrate in the README or elsewhere?

@jerryneedell
Copy link
Contributor Author

Sure - I'll update the README

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dhalbert dhalbert merged commit 902ac23 into adafruit:master May 3, 2018
tannewt pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request May 3, 2018
Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM9x to 1.0.2 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_RFM9x#2 from jerryneedell/jerryn_reset

Updating https://github.com/adafruit/Adafruit_CircuitPython_Se to 1.1.1 from 1.1.0:
  > DM: more lint errors
  > DM: lint errors
  > DM: lint errors
  > DM: lint errors
  > DM: fix weird commit
  > DM: maybe fix autodoc
  > DM: fix lint errors
  > DM: add native driver support
@jerryneedell jerryneedell deleted the jerryn_reset branch May 3, 2018 19:58
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

Successfully merging this pull request may close these issues.

2 participants