-
Notifications
You must be signed in to change notification settings - Fork 3
src/corelibs/spi: Added the 3wire test with the TLE5012. #55
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Frederikwag <[email protected]>
*/ | ||
|
||
// std includes | ||
#include <tlx5012-arduino.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to check if we can test the 3Wire SPI without depending on the library...
Otherwise this test is out of scope of arduino-core-test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test requires the sensor tlx5012. Later on, we need to "professionalize" it so that it communicates with another board. Setting up the XMC as slave is the critical part.
What keeps us from "professionalizing" it now?
As @LinjingZhang mentioned this is at the moment testing the sensor (can we include this in the sensor lib instead @OlafFilies?).
Still, a 3-wire SPI test for the cores should be developed.
We can of course send this test to the tlx5012 lib, but it has yet no tests at all. |
So we will not merge this test (with the sensor), but develop the "complete" test without the sensor? I would like to keep the ticket until my return in August in order to finish it. Is that ok? |
What is the plan with this? |
By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Description
Added the 3 wire test for SPI. 3 tests are executed:
Context
The test requires the sensor tlx5012. Later on, we need to "professionalize" it so that it communicates with another board. Setting up the XMC as slave is the critical part.
Important

Short-circuit MOSI and MISO in advance!
During the test, the magnet needs to be close to the sensor.