-
Notifications
You must be signed in to change notification settings - Fork 7
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
version without qwiic switch for GauteH #98
Comments
another note to myself: there will be no more connection with the qwiic cable, so I will have to set up another I2C port for the IMU that is available on header pins, and the jumper wires will have to connect to these. |
@trygvesovik :) |
( @trygvesovik which firmware do you flash on the AGT? - so I know which firmware to modify :) ) |
We use the steval_gps_waves_drifter.bin file. |
Perfect! I have to go home now, but I will look into pushing a version without qwiic tonight, I keep you updated :) . |
Thanks! |
We need to know which pins to connect to sda,scl. Since the qwiic cable is necessary, there is no use in just wiring across the switch-footprint. |
Yes, I thought about this too after we had the discussion :) . (a bit of digression) This is a bit messy since I do not have the original schematics / there have been several PCB versions one after the other that may differ a bit, but I did a bit of investigation and I think that:
what I think is the best solution for you:
This way you can just connect (all AGT pins are broken out on the PCB, see the headers with through holes; all IMU pins are available as the corresponding through holes on the qwiic switch out side):
Does that make sense / is this clear? :) I let you know when I have pushed the firmware (I will do my best but I do not have the hardware to debug just now, may need to iterate with you tomorrow :) ). |
Yes, that's perfect. We will try it out (using headers @trygvesovik so that we don't loose any AGT's). |
I have pushed:
Then we should be all set :) . This is very similar (the code is actually nearly identical) to #97 , so we can share experience testing these across both groups :) . So to summarize:
|
Hello, when testing the new circuit board without qwiic switch, we received the error message "failed to start GNSS reboot". It was working until we connected the wires between SCL and SDA, so it seems like the problem is related to this. It also seemed to work with the qwiic switch, when using the old firmware, so all the components should be fine. |
I was wondering if there could be some I2C port collision? Or maybe the IMU is not turned properly off and thus causing trouble for the GPS? |
Right, now that you mention it, I think I remember needing to help @tnn77 a few years back with this same point when adapting their firmware version to use the same I2C port for both GPS and IMU. I look into this tomorrow :) . |
I will discuss this with @tnn77 to refresh my memory and get a copy of the fix I had done (I think I fixed this in some custom version for @tnn77 a few years back, but I do not remember the details). I see 2 solutions:
Maybe you can try the "cut and soldered cable" first (that should work out of the box, just changing back the IMU I2C port number), while I look in the "firmware fix" option? :) |
Hi, @jerabaul29. I searched back to when you helped us to be able to use the PCBs instead of the Qwiic cables (you can follow the below link to see the fix you did). https://github.com/jerabaul29/tracker_and_waves_instrument/issues/116#issuecomment-944190199 |
Many thanks @tnn77 ! :) Btw I added one more fix to be able to use without qwiic switch - it may be needed to use it on your version too, I will hear back from the tests of @gauteh and @trygvesovik , if it is needed on your versoin too I let you know in your issue and I push a new firmware version for you too :) . |
Great, thank you so much, @jerabaul29 |
notes from discussions on chat channels:
|
@gauteh which firmware version do you use? :) Do you usually use a turn key binary from https://github.com/jerabaul29/OpenMetBuoy-v2021a/tree/main/legacy_firmware/binaries (if so, which one? I guess one of the steval ones? :) ), or do you recompile? :)
I will adapt the corresponding firmware to use without qwiic switch, with pin D43 to provide power to the IMU :) .
The text was updated successfully, but these errors were encountered: