Hi All,

In this blog , I'm going to explain about programing the XMC4200_Platform2Go board and interfacing TLE994112El H-Bridge driver.

 

There are the software we need to download from infineon website:

  1. DAVE IDE 4.x
  2. XMC Peripheral Library
  3. XMC4200_Platorm2Go User manual
  4. TLE994112EI User guide and Datasheet

I'm not going to repeat UM contents here so please check UM for pin connection and signals.

 

Programing the XMC4200:

 

 

.

 

 

 

 

 

 

 

 

 

 

Interfaceing H-Bridge Shield:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SCLK P1_8
MOSI P1_9
CS   P1_7
MISO P0_0
EN     P0_11

 

 

 

 

 

 

 

SPI configuration :

 

/* Configure the clock polarity and clock delay */

    XMC_SPI_CH_ConfigureShiftClockOutput(SPI_CH, XMC_SPI_CH_BRG_SHIFT_CLOCK_PASSIVE_LEVEL_0_DELAY_ENABLED,

   XMC_SPI_CH_BRG_SHIFT_CLOCK_OUTPUT_SCLK);