Skip to content

Comments

Core api update spi#381

Merged
dineshgit411 merged 17 commits into4.0.0-pre-releasefrom
core-api-update-spi
Sep 2, 2025
Merged

Core api update spi#381
dineshgit411 merged 17 commits into4.0.0-pre-releasefrom
core-api-update-spi

Conversation

@dineshgit411
Copy link
Contributor

@dineshgit411 dineshgit411 commented Aug 18, 2025

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
Refactored SPI implementation as of now master is working fine.

Related Issue

  1. Slave as of now cant implement there is no dependencies in library file.
  2. For XMC master test case added delay(ms) before and after transmit then only test case is passing. its needed time to transmit and receive.

Context
Connected Master as XMC and Slave as Psoc 6 AI kit
image
image

@dineshgit411 dineshgit411 force-pushed the core-api-update-spi branch 2 times, most recently from c30eb47 to 5ed68ea Compare August 25, 2025 05:23
@dineshgit411 dineshgit411 marked this pull request as ready for review August 26, 2025 11:05
Copy link
Member

@jaenrig-ifx jaenrig-ifx left a comment

Choose a reason for hiding this comment

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

👍

#compiler.c.extra_flags=-ftime-report
compiler.c.extra_flags=
compiler.libraries.ldflags=
compiler.libraries.ldflags= -lstdc++
Copy link
Member

Choose a reason for hiding this comment

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

This was flag is now required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes juan... we are getting undefined reference compilation error in destructor . so we added it here this flag to avoid error.

// the on-board SD Card slot. This feature is only available on KIT_XMC47_RELAX kits.
#if defined(KIT_XMC47_RELAX)
// the on-board SD Card Slot. This feature is only available on XMC4700 RelaxKits.
#if defined(XMC4700_Relax_Kit)
Copy link
Member

Choose a reason for hiding this comment

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

Can the board specific defines be moved to the pins_arduino.h?

Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>

libraries/SPI: Modified SPI Implementation.

Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Copy link
Contributor

@LinjingZhang LinjingZhang left a comment

Choose a reason for hiding this comment

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

there is one version of xmc4700 Relaxkit with SD card. I would test if it is working with Arduino SD lib https://docs.arduino.cc/libraries/sd/.
It's not mandatory; we can discuss it.

Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
@LinjingZhang
Copy link
Contributor

Can we include example in built-in library for compile test?

Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
@LinjingZhang
Copy link
Contributor

nice 👍
Unfortunately we need more change on makers-devops side to make hil test working.
Will merge now and adding test later...sigh...

@dineshgit411 dineshgit411 merged commit 8d548bc into 4.0.0-pre-release Sep 2, 2025
37 checks passed
@dineshgit411 dineshgit411 deleted the core-api-update-spi branch September 2, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants