SPI_SLAVE XMC1100 2go receive data

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

cross mob
User20546
Level 1
Level 1
Hello all,

we are working on a project about Current-sensoring. Therefor we need to use the Microcontroller XMC1100 2go by Infineon and the Software Dave.
You can see an example circuit for testing the MC and the software in the attached picture.

We used a Delta-Sigma-Modulator (Texas Instruments AMC1304x) between the simple circuit and the XMC1100 2go to protect the Current-sensors later.

On the output side of the AD-Converter we've connected the Pin CLKIN with Pin P0.8 (SPI SCK) of the XMC and the Pin DOUT with Pin P0.6 (SPI MISO).

In Dave we've implemented the App SPI_SLAVE and copied the code SPI_SLAVE_STATUS_t SPI_SLAVE_Receive to receive data from AD-Converter which acts like a transmitter.

Now we have troubles to get a result, so our first question is if we did any mistakes. We have to admit that we had never use this software before and will be thankful for tips.

Thanks.
0 Likes
0 Replies