lpcware

bit bang on LPC11Axx

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Gad on Thu May 14 04:46:17 MST 2015
Hi
I am trying to implement the bit bang on  I2c for LPC11Axx but have encounter a problem with the GPIO line,clock are not sync' etc'
I have build it based on an example from Keil (other chip)it seems that I have defines GPIO reg's SCL wrong.
Does any one have an bit banging  example on LPC11Axx ?
or correct define the macros : IODIR0,IOPIN0,PINSEL0,PINSEL1,IOCLR0,CCLK

Thanks and regards,
Yariv

Outcomes