forked from Infineon/XMC-for-Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
Core Libraries
T R Anusha (IFIN DES PTS TI EA DE / EE) edited this page Jul 28, 2022
·
24 revisions
Documentation of the core libraries is to be found on this page.
Example | Boards | Description |
---|---|---|
DieTemperatureMeasurement |
|
Simple die temperature measurement for XMC devices which demonstrates the measure temperature of die using sensor. |
HeapMemoryMeasurement |
|
Simple example to check heap memory during run time for XMC devices which demonstrates the ability to check on free heap memory. |
SleepModeXMC1100 |
|
Demonstrates the use of an alarm to wake up an xmc1100 from sleep mode. |
SleepModeXMC4700 |
|
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 |
|
Simple example to check stack memory during run time for XMC devices which demonstrates the ability to check on free stack memory |
Example | Boards | Description |
---|---|---|
DMA_Memory |
|
Demonstrates how to setup an DMA, to transfer data between two places in memory. |
DMA_UART |
|
Demonstrates how to setup an DMA, to transfer data between two places in memory. |
Example | Boards | Description |
---|---|---|
AlarmRTC |
|
Demonstrates how to set an RTC alarm for the XMC4700 Relax Kit V1 |
SimpleRTC |
|
Demonstrates the use of the RTC library for the XMC4700 |
Example | Boards | Description |
---|---|---|
SPI_MOSI_to_MISO_SameDevice |
|
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. |
Example | Boards | 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. |
This library has been tested with the IM69D130 Microphone Shield2Go with both XMC4700 Relax Kit and XMC1100 XMC2Go. Please refer to the README.md of the I2S library for pin connections.
With XMC 2Go (possibly also with other XMC1000 family devices), you might easily overflow the I2S buffer and you should try to reduce the I2S sampling rate if so.
Library for One wire protocol. It could be used to access 1-wire temperature sensors, memory and other chips.
-
Supported Boards
-
Arduino Variations