Page 1 of 1
LPC11xx I2C, PWM, EXT driver
Posted: Thu May 23, 2013 5:21 pm
by marcinj7
Hi,
Zip file contain LPC11xx I2C, PWM, EXT driver and test HAL for PWM and EXT.
Limitations:
I2C Driver - only support master
PWM Driver - support max 2 channels for each timer
Drivers tested on LPC1114 custom board.
Re: LPC11xx I2C, PWM, EXT driver
Posted: Thu May 23, 2013 7:13 pm
by theShed
Marcin,
Thanks for that, I'll see about merging them to trunk.
--
mike
Re: LPC11xx I2C, PWM, EXT driver
Posted: Sun Jun 02, 2013 10:52 pm
by theShed
Finally added I2C, PWM and EXT drivers to LPC11xx port.
Also added board definition for LPC Xpresso LPC11C24. PWM & EXT drivers tested against this board.
Marcin,
I re-targetted the hal tests to the LPC11C24 Xpresso instead of your custom board.
--
mike
Re: LPC11xx I2C, PWM, EXT driver
Posted: Mon Jun 03, 2013 7:50 am
by marcinj7
Ok, but some comments in testhal examples are wrong. I've forgotten to change them.
Re: LPC11xx I2C, PWM, EXT driver
Posted: Tue Jun 04, 2013 12:08 pm
by jcw
Great progress. Here's what I ended up using with the CANopen ROm drivers:
Code: Select all
MEMORY
{
flash : org = 0x00000000, len = 32k
/* RAM: 0x10000050..B8 reserved for CANopen ROM use, see UM10398, p.313 */
ram : org = 0x10000100, len = 8k - 256
}