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!Show Less
I have no idea how to use SICI interface. I want to learn it. In my project, i will use TLE4993I3 hall sensor and i should learn how to use sensor in my circuit and how to pragramme it?Show Less
I am looking for a sensor that can measure the position of a flywheel of an engine.
Usually this is done with inductive sensors or hal sensors however my engine has 4 magnets on the flywheel so I think those would interfere with the signal I need.
The sensor would need to take over the ignition timing for my engine so I need one that is precise enough to do that..
I was thinking optical to measure teeth on the flywheel with one teeth grind out so it knows where the rotation starts/ends. Would this work for something like this? Rpm range would be up to 8000rpm and should work from standstill if possible for hand starting. Any help is appreciated.Show Less
I want to get the three coordinates values of the magnetic field measured by the sensor of my phone. For this, I get a handle to the
SensorManager by using
sm=(SensorManager)getApplicationContext().getSystemService(Context.SENSOR_SERVICE), then get the sensor with
cm=sm.getDefaultSensor(SensorManager.SENSOR_MAGNETIC_FIELD). I then register a
SensorEventListener to the
SensorListener is a class of my own implementing the
SensorEventListener interface. In it's
OnSensorChanged method, I get the values from the sensor and I display them. The problem is that I only get the values 1,0 and 0. And they are rarely updated (I have put a counter on the
onSensorChanged calls to see how often the update takes place). Changing the time to
SENSOR_DELAY_NORMAL doesnot improve anything.
To check if the problem was related to the magnetic sensor, I have added, in the same way, a listener to an accelerometer sensor. The result is very confusing : now, the magnetic sensor generates updates, but not the accelerometer one. And if I remove the accelerometer sensor event listener, I still receive the magnetic sensor events which where missing before adding the accelerometer sensor event listener.(???????????)
Any idea about what is wrong in my code?Show Less
We are using the TLI493D. For safety issues we implemented a specific power supply for the TLI493D. In this case we can perform a power cycle to have a defined restart. Unfortunately we don't understand how the specification on datasheet page 9 does work:
Normally, a minimum time is needed for succesfull power cycle or reset. But on the datasheet, a max of 400us is defined with ramp. How does that work?
Thanks for any help!
4. But worst of all is the seemingly inconsistent behavior of the device. Let me explain.
On power up I reset the device by sending 0xFF 0xFF 0x00 0x00 with the start and stop conditions. (This is very badly explained in the datasheet imo btw.)
Next I configure the registers CONFIG and MOD1. I leave MOD2 alone as it has just one bit to change, and I can leave it at default.
The device is now working... I can read data from it, get the VERsion data etc.
However, if I add to my setup code a modification to MOD2, any subsequent reading of the device fails, except for one case that I have found.
If I set bit 7 (write 0x80) ---> subsequent reads fail.
If I send 0xFF, 0xE0, 0xC0, 0x00, these all cause read failure.
The only exceptions I can find is if I send 0x01 or nothing to MOD2. In these cases the device seems to work fine.
Now, perhaps I am doing something silly in my code, or perhaps MOD2 is broken, which would not surprise given how the poor design of the A1B6 device whose ADC randomly locked up requiring reset.
Very unhappy customer here.
So what exactly is hidden in MOD2 that would cause writes to it to break reads from the device?
Hi, I have a product that uses the TLV493-A1B6 magnetic hall effect sensor. Like others, I have experienced issues with the device, in which it appears to lock up, or cause microcontroller software to lock up.
From online reading, the issue seems to be due to software reading the i2c registers while a conversion is taking place (there are no shadow buffers in the old version of the device).
I would like to know if the newer version of this device (TLV493-A2B6; old was TLV493-A1B6) fixes this problem, and whether I can simply replace the old ICs with the newer version. Are other software or hardware changes required?
Thanks in advance.
We are able to use TLI493D-A2B6 to write some configurations on the address 0x6A however when we tried to read some values that had been measured from 0x6B, the answer always returned NACK.
The tricky part is that not all the TLI493D-A2B6 components are broken in this way. Approximately half of them are working normally but half of them has the issue explained at the top.
To solve the issue explained above:
We got a feedback that informing a reset action had been required but we couldn't manage to do it right now. There are two points we are asking for your help in the beginning:
PS: We have already got user manual and some technical manuals but still no solution.Show Less