Using I2C on XMC1100 2Go - c

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!

Related

Interfacing Bosch BNO055 with nrf52840 using segger IDE

Can anyone help me with the reading the data register values from BNO055 sensor with nrf52840 microcontroller using i2c communication protocol.
i have initiated the MCU master twi and also initiated the Sensor and it is acknowledging but i am not able to read the outputs of the registers , even after write/read to the registers of the sensors, i am not able to read the output.
if anyone have idea on interfacing BME680 with the nrf52 series. kindly help me.
Thanks in advance.
Good day !!

print data to different terminal IAR

I am working on a project which contains acquisition of ECG data with the ADS1293EVM. MSP430F5529 is part of this board as well. For the communication between analog part of the board and microcontroller, I am using SPI and there is also FET Debugger from TI to program the microcontroller. Now I am printing data using printf to a terminal I/O which is part of the IAR software.
However, I would like to print ECG data to the terminal app in PC or to LabView, not in Terminal I/O in IAR software. The board is connected to the PC by USB so there is UART port in device manager. Is there any possibility?
Yes it is possible. You can push all the data on UART which is used in communication between PCB and PC. Than you can use any serial monitor for getting data displayed.
The only connection between your board and the PC is USB, so you have to implement a virtual USB COM port (CDC). TI's USB stack implements such an interface.

Odroid xu4 ,ocam & arduino uno serial conection

I am a beginner who first encountered odroid.
I would like to send data values ​​through image processing to arduino uno using odroid xu4 and ocam. First, I wonder how to make serial communication between odroid and arduino for serial communication. How do I send data values ​​from odroid and ocam to arduino like above?
This is a very broad question. You need:
1)Serial communication Odroid-Arduino, and,
2)Send camera information.
For (2) you need to send complete image or maybe process it in Odroid and send features information or some image processing result to Arduino. To process image you can use something like OpenCV (https://opencv.org/).
For (1) you need to make physical (electrical) connection then logical communication.
For electrical connection, as Odroid operates at 1.8V you need level conversion to 5V or 3.3V(arduino) in connector pins (Odroid con10 for instance). You can look here to know how to make it.
For logical part, you can use WiringPi ported to Odroid, refer here for Odroid specific information.
Hope it helps.

Arduino code Wire ported to Atmel Xplained Mini to communicate with DS3231

I am taking Arduino Prototype code used for a DS3231 RTC and taking it to an embedded platform that does not directly support Arduino code (right now that is the Atmel Xplained Mini). Is there a way for me to create an equivalent program without writing an entire I2C protocol and the entire data communication from scratch? There must be an overlapping library/header/code block that I can adapt to my purpose.
As an example I am looking to make the code here work on the Atmel Xplained Board. The code should be pretty simple, what I need is for the DS3231 to tell the MCU the time when it asks for it. I can do the manipulation of the date/time myself, it is getting that information on a non-Arduino platform that is the road block for me.
Arduino has an existing wiring library that facilitates I2C communication, most professional development frameworks aren't quite so simple but are also more full-featured. I'm assuming you are using Atmel Studio, you'll want to look at the TWI (two-wire interface) documentation for doing I2C communication.
AVR315: Using the TWI Module as I2C Master
You can copy TWI_Master.c and TWI_Master.h to your project and use these for I2C communication. That is what I've typically done in the past.
The demo code that goes with this app note can be found here, main.c has an example of the usage of this I2C driver:
AVR315 Demo Code

Hex file transfer back from pcb

I'm working on a small project using an NXP lpc1769 demo board. I'm using LPCExpresso 5 from CodeRed to program it and I would like to know if I can transfer the application hex/bin file back from the board to the PC.
Either with the IDE or with any other solution.
Thanks in advance!
If you have access to ISP pin and UART0 lines, you can use FlashMagic to display memory one sector at the time.

Resources