I’m working off the example interrupt style I2C program in the winARM pack. I’ve been trying to get my LPC2148 to talk to a Semtech sx8724 data acquisition chip. I’ve run into an issue that the SDA line posts only 8 1’s an then a 0. I’ve tried turning my clock way down. Poked around with an o-scope, plotted the scl vs sda.
equipment I am using:
Embedded artists quickstart usb board with an LPC 2148. Has a wired eeprom to the i2c bus 3k pull up resistors on the sda/scl lines. I also have the prototype/expansion board for the unit.
Have a dmm and a fluke 196c o-scope (100MHz) good enough for a 400 kHz scl.
Software: I have winarm and eclipse/yagarto. I really only know how to write linker files for winarm. It has done me well so far. GNU make 3.80, gcc 3.1.1 (comes in the winARM bundle works with yagarto).
I have a feeling that the problem is I’m not getting my data to the bus but the interrupt routine is starting everything, just not shifting any data into the I2DAT register. I was wondering if anyone could point me to a I2C program that compiles in Winarm.
The DAQ is connected to a wheatstone bridge style sensor.
The final goal of this project is to be able to:
recieve configuration settings via uart0
program an I2C daq chip,
read the i2c daq chip,
configure analog mux array using gpio (switches inputs to the DAQ)
Calculate snr/noise floor
output data via uart0 (bridge voltages 1-4, snr, noise floor, offset…)
todo
recieving configuration values
collect/convert data
config values algorythm in host computer
realtime plot in host computer
walk in graduation ceremony in t- 1.25 hours
Regards