Content originally posted in LPCWare by anders_avr on Sat Feb 09 02:24:00 MST 2013
hi,im new to lpc1768,i work 5 years with atmel avr, i bought a lpc 1768 board from landtiger(china,why??we dont have the orginal board in our country!!).
i execute many program on it and work fine,but I2C!!!!!!!!!!
i read some post here maybe i have problem with gpio not i2c(i worked with cmsis and many i2c.h library available on the net,but it doesnt work, i debug it in keil it seems worke fine!!!,:mad: i write a simple blinky led,in other pins i have 3.3 volts with internal pullup and led is completely bright!! but in p0.27 and p0.28 (i2c port is 2.7 low light,low current with internal pullup)!! does it normal??
i test many simple program on i2c i test my program with ds1307 rtc why?simple if i configure correctly there is pin for led out that i figure out its ok or not.why am i test ds13207? i pulled up with 3.3k ,10k but.....!!
i have a modul RM-G146 9 axis gyro acc magnet it is 5 volt it worked fine with avr but in lpc?????:mad:,so i decide to write simple c code for ds1307 to debug my problem,i dont know my problem!!5 to 3.3 volt?? my program??? my hardware??
plz somebody help ,I'm confused!!!