From d1b830ce092df2b757d0145bf9e524f59ed80a7d Mon Sep 17 00:00:00 2001 From: gitlab-runner Date: Fri, 24 Feb 2023 09:00:26 -0600 Subject: [PATCH] Upload mtb-example-pdl-xmc7000-spi-master-dma [686] --- Makefile | 2 +- README.md | 7 +- main.c | 3 +- source/interface.h | 2 +- source/spi_dma.c | 2 +- source/spi_dma.h | 2 +- source/spi_master.c | 2 +- source/spi_master.h | 2 +- source/spi_slave.c | 2 +- source/spi_slave.h | 2 +- .../config/design.modus | 889 ++++++++++++++++++ 11 files changed, 903 insertions(+), 12 deletions(-) create mode 100644 templates/TARGET_KIT_T2G-B-H_EVK/config/design.modus diff --git a/Makefile b/Makefile index f266779..40847e0 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ # ################################################################################ # \copyright -# Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) +# Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/README.md b/README.md index 8b2601a..97e1983 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ This example demonstrates the use of the SPI serial communication block (SCB) re [View this README on GitHub.](https://github.com/Infineon/mtb-example-pdl-xmc7000-spi-master-dma) -[Provide feedback on this code example.](https://cypress.co1.qualtrics.com/jfe/form/SV_1NTns53sK2yiljn?Q_EED=eyJVbmlxdWUgRG9jIElkIjoiQ0UyMzM4NjAiLCJTcGVjIE51bWJlciI6IjAwMi0zMzg2MCIsIkRvYyBUaXRsZSI6IlhNQzcwMDAgTUNVOiBTQ0IgU1BJIG1hc3RlciB3aXRoIERNQSIsInJpZCI6ImhheGkiLCJEb2MgdmVyc2lvbiI6IjEuMC4wIiwiRG9jIExhbmd1YWdlIjoiRW5nbGlzaCIsIkRvYyBEaXZpc2lvbiI6Ik1DRCIsIkRvYyBCVSI6IklDVyIsIkRvYyBGYW1pbHkiOiJQU09DIn0=) +[Provide feedback on this code example.](https://cypress.co1.qualtrics.com/jfe/form/SV_1NTns53sK2yiljn?Q_EED=eyJVbmlxdWUgRG9jIElkIjoiQ0UyMzM4NjAiLCJTcGVjIE51bWJlciI6IjAwMi0zMzg2MCIsIkRvYyBUaXRsZSI6IlhNQzcwMDAgTUNVOiBTQ0IgU1BJIG1hc3RlciB3aXRoIERNQSIsInJpZCI6ImhheGkiLCJEb2MgdmVyc2lvbiI6IjEuMS4wIiwiRG9jIExhbmd1YWdlIjoiRW5nbGlzaCIsIkRvYyBEaXZpc2lvbiI6Ik1DRCIsIkRvYyBCVSI6IklDVyIsIkRvYyBGYW1pbHkiOiJQU09DIn0=) ## Requirements - [ModusToolbox™ software](https://www.infineon.com/modustoolbox) v3.0 or later (tested with v3.0) - Programming language: C -- Associated parts: [XMC7000 MCU](https://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-arm-cortex-m/) +- Associated parts: [XMC7000 MCU](https://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-arm-cortex-m/), [TRAVEO™ T2G body high MCU](https://www.infineon.com/cms/en/product/microcontroller/32-bit-traveo-t2g-arm-cortex-microcontroller/32-bit-traveo-t2g-arm-cortex-for-body/traveo-t2g-cyt4bf-series/) ## Supported toolchains (make variable 'TOOLCHAIN') @@ -23,7 +23,7 @@ This example demonstrates the use of the SPI serial communication block (SCB) re ## Supported kits (make variable 'TARGET') - [XMC7200 evaluation kit](https://www.infineon.com/KIT_XMC72_EVK) (`KIT_XMC72_EVK`) - Default value of `TARGET` - +- [TRAVEO™ T2G body high evaluation kit](https://www.infineon.com/KIT_T2G-B-H_EVK) (`KIT_T2G-B-H_EVK`) ## Hardware setup @@ -275,6 +275,7 @@ Document title: *CE233860* - *XMC7000 MCU: SCB SPI master with DMA* Version | Description of change ------- | --------------------- 1.0.0 | New code example + 1.1.0 | Added support for KIT_T2G-B-H_EVK
--------------------------------------------------------- diff --git a/main.c b/main.c index 75c3924..56b89ef 100644 --- a/main.c +++ b/main.c @@ -9,7 +9,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related @@ -51,6 +51,7 @@ #include "spi_slave.h" #include "cybsp_types.h" + /******************************************************************************* * Macros ********************************************************************************/ diff --git a/source/interface.h b/source/interface.h index 77c9066..efa4a6e 100644 --- a/source/interface.h +++ b/source/interface.h @@ -8,7 +8,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_dma.c b/source/spi_dma.c index 664dea2..a7c68c6 100644 --- a/source/spi_dma.c +++ b/source/spi_dma.c @@ -7,7 +7,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_dma.h b/source/spi_dma.h index 88760b4..e1c717f 100644 --- a/source/spi_dma.h +++ b/source/spi_dma.h @@ -7,7 +7,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_master.c b/source/spi_master.c index 370cb0c..ecbbb53 100644 --- a/source/spi_master.c +++ b/source/spi_master.c @@ -6,7 +6,7 @@ * Related Document: See README.md * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_master.h b/source/spi_master.h index 444db7e..a643a77 100644 --- a/source/spi_master.h +++ b/source/spi_master.h @@ -7,7 +7,7 @@ * Related Document: See README.md * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_slave.c b/source/spi_slave.c index b3c0860..5f10c06 100644 --- a/source/spi_slave.c +++ b/source/spi_slave.c @@ -7,7 +7,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/source/spi_slave.h b/source/spi_slave.h index 66ddf5a..babd3a8 100644 --- a/source/spi_slave.h +++ b/source/spi_slave.h @@ -8,7 +8,7 @@ * * ******************************************************************************* -* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company) or +* Copyright 2022-2023, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related diff --git a/templates/TARGET_KIT_T2G-B-H_EVK/config/design.modus b/templates/TARGET_KIT_T2G-B-H_EVK/config/design.modus new file mode 100644 index 0000000..3166a4b --- /dev/null +++ b/templates/TARGET_KIT_T2G-B-H_EVK/config/design.modus @@ -0,0 +1,889 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +