Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HaadiM
Employee
Employee
5 sign-ins First reply posted First like given

What do the following defines represent in cyhal_hw_resources.h?

CY_IP_MXSCB_INSTANCES
CY_IP_MXS22SCB_INSTANCES

Also, any one got sample configuration for SPI initialization?

0 Likes
1 Solution
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @HaadiM ,

    For the definition of the 'CY_IP_MXSCB_INSTANCES', you can refer to the figure below:

Owen_Su_0-1704418327447.png

    And you can refer to the document below to learn about the SPI setting procedure:

https://www.infineon.com/dgdl/Infineon-AN234127_How_to_use_Serial_Communications_Block_SCB_in_XMC700...

    You can also find the SPI example in ModusToolBox:

Owen_Su_1-1704418672690.png

    Hope this can help you.

BR,

Owen

View solution in original post

4 Replies
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @HaadiM ,

    For the definition of the 'CY_IP_MXSCB_INSTANCES', you can refer to the figure below:

Owen_Su_0-1704418327447.png

    And you can refer to the document below to learn about the SPI setting procedure:

https://www.infineon.com/dgdl/Infineon-AN234127_How_to_use_Serial_Communications_Block_SCB_in_XMC700...

    You can also find the SPI example in ModusToolBox:

Owen_Su_1-1704418672690.png

    Hope this can help you.

BR,

Owen

HaadiM
Employee
Employee
5 sign-ins First reply posted First like given

Hi Owen,


Thank you for the response and the resources ... now how do I use the generated code with my application?

Best Regards,
Mubeen.

0 Likes
lock attach
Attachments are accessible only for community members.
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, Mubeen,

    You can refer to the document below:

    This document provides information about creating applications as well as building, programming, and debugging them using the Eclipse IDE. You can check if this meet your requirements, if not, you can be more specific about your question. Hope this can help you.

BR,

Owen

0 Likes
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @HaadiM ,

    This thread will be closed due to long time no reply, you can create a new one if you have any other questions. Thanks for your understanding.

BR,

Owen

0 Likes