-
Notifications
You must be signed in to change notification settings - Fork 78
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
CC2531: Resistors issue #27
Comments
using 50k and 100k resistors it worked 🎉 probably internal pullup resistors are different chip to chip. now I'm able to read the flash |
and I also write succeed. cheers! what is recommended way to make this knowledge shared? should I PR with just a note in readme or should I replace schematics, etc? |
Hello @ReDetection ! Please create a PR with the resistor values changed on the |
yes, I mean them. ok I can do that. Actually I had 50k/100k only for DD. DC and reset I drove with 15k/30k resistors to be extra sure target device won't influence them. should I keep it 15/30 or stick to 50/100 in the readme, fritzing and arduino header? btw, I was able to communicate with CC2531 and CC2541 target chips, I think I can also note they are working in the readme. |
Now that I think of it, let's create a troubleshooting section, right before the
This way we can add future corner cases there |
Where does the "official" 100k/200k resistors values come from actually? I ask because they barely have a chance to work and no surprise they cause issues. I've hooked up a scope into DD and DC lines and with 100k/200k resistors the signals look very distorted (rounded edges, signal barely manages to raise before falling). It seems like capacitance of pins, PCB and wireing has enough significance to cause problems. With 10k/20k resistors the edges are sharp and nice and I have no issues. The resistance is high enough to keep the current well below 1mA so no risk of damaging the chip or Arduino. I suggest to modify the wiring documentation and change the resistances to 10k/20k so people don't get into the same problems. |
if you have a Raspberry Pi (I am not a fan) you can just connect it and flash it. I wasted hours on the Arduino /ESP32 ideas. This just worked: https://github.com/jmichault/flash_cc2531 |
My issue looks pretty much as #24, however I have different target device.
My setup: CC2531 on the usb dongle, Arduino nano (tried different set of pins, I also checked they are good at both INPUT and OUTPUT).
I always get
ERROR: The chip is not responding. Check your connection and/or wiring!
message when target chip connected (when it's not – then I get message that chip is not found).I also have logic analyser, so that is the image. You can see decoded exchange with computer in the bottom right. Probes are on the CC2531 side except channel 03 "data out".
Looks like CC2531 holding all the lines tied up so my arduino cannot put them down. Maybe internal pullups of CC2531 have less resistance?
The text was updated successfully, but these errors were encountered: