-
Notifications
You must be signed in to change notification settings - Fork 3
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
Spi slave enablement #128
Spi slave enablement #128
Conversation
991f97d
to
7efa045
Compare
73bf02e
to
c4336ad
Compare
0e77323
to
185aa69
Compare
e477eaa
to
236f1dd
Compare
185aa69
to
22bdaad
Compare
a321ecb
to
41179fe
Compare
c063245
to
1c4b6c1
Compare
4f1da80
to
3a70d83
Compare
67f9037
to
8149c71
Compare
d822a4a
to
d5a9b1b
Compare
3a70d83
to
b446abe
Compare
d5a9b1b
to
bb49844
Compare
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
0a64bd9
to
b84e71c
Compare
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
./psoc6/run_psoc6_tests.sh -c --psoc6-hwext --dev0 ${devs0[0]} | ||
./psoc6/run_psoc6_tests.sh -c --psoc6-hwext --dev0 ${devs0[0]} | ||
echo " >> PSoC6 i2c tests" | ||
if [ "${{ matrix.board }}" == "CY8CPROTO-062-4343W" ]; then |
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.
By the way, this dirty selection approach (sorry for that 😞) should be tackle in the rework of this run_psoc6_tests.sh in future. I might have the chance to start as pre-1.0.0.
ports/psoc6/machine_spi.c
Outdated
} | ||
|
||
mp_obj_t machine_spi_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) { | ||
enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, ARG_miso }; | ||
mp_obj_t machine_spi_master_init_helper(machine_spi_obj_t *self, size_t n_args, size_t n_kw, const mp_obj_t *all_args) { |
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.
Mmm, do we really need two machine_spi_xxxx_init_helpers()? We had one only before, no?
Can we just not have one? and if the user pass the ssel for master complain, and if he does not pass it for slave also complain?
Other than that parameter, the rest is the same or?
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
e5d5c3d
to
61a6ad2
Compare
@ramya-subramanyam we are going to merge to bring latest HIL changes to main. You can review later. |
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:
SPISLave enabled with following functions:
Constructor
deinit()
write()
read()
write_readinto()
Hardware tests extended for SPI module
Documents corrected with latest changes
Pin connections for HIL test setup updated
SoftSPI feature discarded as it is not working as expected.
Removed old spi tests just calling the constructor.
Other not on ports/psoc6/spi code changes:
@jaenrig-ifx @IFX-Anusha @ramya-subramanyam : This PR is now ready to review.