Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Conversation

Leo246813
Copy link

No description provided.

Leo246813

This comment was marked as spam.

@AtMostafa AtMostafa self-requested a review August 12, 2024 11:05
Copy link
Member

@AtMostafa AtMostafa left a comment

Choose a reason for hiding this comment

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

good job, let me know when you've updated the PR

Copy link
Member

@AtMostafa AtMostafa left a comment

Choose a reason for hiding this comment

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

good job! let's try it out!

Copy link
Author

@Leo246813 Leo246813 left a comment

Choose a reason for hiding this comment

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

Debugged and found two possible errors:

  1. Polarity and phase incorrect when connect to SPI because different microcontroller is used (updated: polarity: 0; phase: 1)
  2. _read function may have read the wrong data before (need to test if data[0] or data[1] is correct)

Leo246813 and others added 14 commits September 8, 2024 18:30
initialization error 66
tried unplug and plug, maybe something to do with the hardware because the spi seems not to connect
Final version after testing: both sensors were successfully initialized and were able to read motion, however the read data were not send to the pyboard. A possible cause would be an error during the ISR, because no ID were provided by this sensor to allow it to perform an interrupt.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants