Skip to content

Commit

Permalink
Updte example test report and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
LinjingZhang committed Dec 20, 2023
1 parent 2d22e9d commit 396ebe4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
46 changes: 46 additions & 0 deletions XMC14002GO_TEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
### Examples Supported

| Example | XMC1400 2GO test | Description |
| ----------- | ----------- |------------
| DieTemperatureMeasurement                                                                                                                 | PASS (serial delay) |Simple die temperature measurement for XMC devices which demonstrates the measure temperature of die using sensor. |
| HeapMemoryMeasurement | PASS (serial delay) | Simple example to check heap memory during run time for XMC devices which demonstrates the ability to check on free heap memory. |
|SleepModeXMC1100 | PASS | Demonstrates the use of an alarm to wake up an xmc1100 from sleep mode. |
|SleepModeXMC4700 | N/A | Simple Sleep Mode for XMC4700 Relax Kit V1 demonstrates the use of an alarm to wake up an XMC4700 from sleep mode.LED2 will blink fast on active mode. If CCU4 is ON in sleep mode, LED2 will blink slower (because of slower clock) while in sleep mode.If CCU is OFF in sleep mode, LED2 will stop blinking, until device wakes up.
|StackMemoryMeasurement | FAIL: linker file variable name changed| Simple example to check stack memory during run time for XMC devices which demonstrates the ability to check on free stack memory

## DMA

### Examples Supported
| Example | XMC1400 2GO test | Description |
| --------- | ----------- | --------------
| DMA_Memory                                                                        | N/A     | Demonstrates how to setup an DMA, to transfer data between two places in memory.|
|DMA_UART | N/A | Demonstrates how to setup an DMA, to transfer data between two places in memory.|


## RTC Library
| Example | XMC1400 2GO test | Description |
| ----------- | ----------- |------------
|AlarmRTC                                                               | N/A    | Demonstrates how to set an RTC alarm for the XMC4700 Relax Kit V1|
|SimpleRTC | N/A | Demonstrates the use of the RTC library for the XMC4700|

## SPI Library
| Example | XMC1400 2GO test | Description |
| ----------- | ----------- |------------
|SPI_MOSI_to_MISO_SameDevice                         | PASS (serial problem same as XMC1100 2Go) | SPI example which communicates between the MOSI and MISO pin of the same board. Connect the MOSI pin to the MOSI pin as hardware setup.|

## Wire Library
Test with TLV493 1A6: PASS

| Example | XMC1400 2GO test | Description |
| ----------- | ----------- |------------
| master_reader                                                                                                                                                                                                                                                                                      | | Demonstrates use of the Wire library. Reads data from an I2C/TWI slave device. Refer to the "Wire Slave Sender" example for use with this.Then it communicates using I2C protocol between two supported XMC boards. Connect the SDA and SCL pins of one board to the SDA and SCL pin of the other board.
| master_writer | | Demonstrates use of the Wire library.Writes data to an I2C/TWI slave device. Refer to the "Wire Slave Receiver" example for use with this.Then it communicates using I2C protocol between two supported XMC boards. Connect the SDA and SCL pins of one board to the SDA and SCL pin of the other board.
| slave_receiver | | Demonstrates use of the Wire library. Receives data as an I2C/TWI slave device. Refer to the "Wire Master Writer" example for use with this.Then it communicates using I2C protocol between two supported XMC boards. Connect the SDA and SCL pins of one board to the SDA and SCL pin of the other board.
| slave_sender | | Demonstrates use of the Wire library. Sends data as an I2C/TWI slave device. Refer to the "Wire Master Reader" example for use with this.Then it communicates using I2C protocol between two supported XMC boards. Connect the SDA and SCL pins of one board to the SDA and SCL pin of the other board.

## I2S Library
FAIL!! NEED to go deep in I2S library

## OneWire Library


4 changes: 2 additions & 2 deletions variants/XMC1400/config/XMC1400_XMC2GO/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ XMC_SPI_t XMC_SPI_0 =
};


// TODO: I2S
// Two I2C instances possible
// TODO: I2C
XMC_I2C_t XMC_I2C_0 =
{
.channel = XMC_I2C0_CH1,
Expand Down Expand Up @@ -335,6 +334,7 @@ XMC_I2C_t XMC_I2C_0 =
.protocol_irq_service_request = 5
};

// TODO: I2S
XMC_I2S_t i2s_config =
{
.input_config = {
Expand Down

0 comments on commit 396ebe4

Please sign in to comment.