LPC11xx I2C, PWM, EXT driver

ChibiOS public support forum for topics related to the NXP LPC family of Cortex-M micro-controllers.
Post Reply
marcinj7
Posts: 13
Joined: Wed Apr 17, 2013 10:08 am

LPC11xx I2C, PWM, EXT driver

Post 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.
Attachments
LPC11xx_I2C_PWM_EXT_driver.zip
(38.66 KiB) Downloaded 1174 times
theShed
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm

Re: LPC11xx I2C, PWM, EXT driver

Post by theShed »

Marcin,

Thanks for that, I'll see about merging them to trunk.

--
mike
theShed
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm

Re: LPC11xx I2C, PWM, EXT driver

Post 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
marcinj7
Posts: 13
Joined: Wed Apr 17, 2013 10:08 am

Re: LPC11xx I2C, PWM, EXT driver

Post by marcinj7 »

Ok, but some comments in testhal examples are wrong. I've forgotten to change them.
User avatar
jcw
Posts: 55
Joined: Thu May 23, 2013 12:59 am

Re: LPC11xx I2C, PWM, EXT driver

Post 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
}
Post Reply