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

3D Hall (Magnetic sensor) Forum Discussions

KateUhlerredalf
Level 1
First reply posted First question asked Welcome!
Level 1


I recently got the Infineon 3D Magnetic Sensor 2Go development board (based on the XMC1100 microcontroller) and I would like to know how to read input from the 3D Magnetic Sensor which is interfaced through I2C. I am new to the Infineon development system, so I do not know how to gather and process input from the sensor.

Here is what I know so far:

The main microcontroller is an Infineon XMC1100-Q024F0064
The 3D Magnetic Sensor is connected to the XMC1100 via I2C
How to program and control the GPIO on the XMC1100
How to use the supplied stand-alone applet to view data from the Sensor
I have the DAVE IDE, the APPs extension, and I am writing my code in C. I need to use DAVE to accomplish my desired end result, but I would be interested to know the Arduino method as well.

Thank you in advance for your help!

0 Likes
1 Solution
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @KateUhlerredalf ,

For details regarding implementation of I2C with 3D magnetic sensor, please refer the user manual of the corresponding sensor that you are using on https://www.infineon.com/cms/en/product/sensor/magnetic-sensors/magnetic-position-sensors/3d-magneti... .
The API's for programming and controlling of GPIO pins in XMC1100 can be found in the help section of the DAVE IDE.
As for the applet, once you install the TLx493D Magnetic sensor app from the Infineon Developer Center, just connect the device shield2Go that you have and calibrate to see the required output.
For further details, do refer https://www.infineon.com/dgdl/Infineon-TLI493D-W2BW_Shield2Go-GettingStarted-v01_00-EN.pdf?fileId=55... .
The arduino code and library is available for few versions in Infineon Github repository. Kindly let us know which model of the 3D magnetic sensor that you are using for details on the same.

Best regards,

Deepa

View solution in original post

0 Likes
1 Reply
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @KateUhlerredalf ,

For details regarding implementation of I2C with 3D magnetic sensor, please refer the user manual of the corresponding sensor that you are using on https://www.infineon.com/cms/en/product/sensor/magnetic-sensors/magnetic-position-sensors/3d-magneti... .
The API's for programming and controlling of GPIO pins in XMC1100 can be found in the help section of the DAVE IDE.
As for the applet, once you install the TLx493D Magnetic sensor app from the Infineon Developer Center, just connect the device shield2Go that you have and calibrate to see the required output.
For further details, do refer https://www.infineon.com/dgdl/Infineon-TLI493D-W2BW_Shield2Go-GettingStarted-v01_00-EN.pdf?fileId=55... .
The arduino code and library is available for few versions in Infineon Github repository. Kindly let us know which model of the 3D magnetic sensor that you are using for details on the same.

Best regards,

Deepa

0 Likes