LPC11xx I2C, PWM, EXT driver

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

LPC11xx I2C, PWM, EXT driver

Postby marcinj7 » Thu May 23, 2013 5:21 pm

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 588 times

theShed
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm
Location: The flatlands of East Anglia

Re: LPC11xx I2C, PWM, EXT driver

Postby theShed » Thu May 23, 2013 7:13 pm

Marcin,

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

--
mike

theShed
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm
Location: The flatlands of East Anglia

Re: LPC11xx I2C, PWM, EXT driver

Postby theShed » Sun Jun 02, 2013 10:52 pm

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
Location: Poland

Re: LPC11xx I2C, PWM, EXT driver

Postby marcinj7 » Mon Jun 03, 2013 7:50 am

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
Location: Houten, NL

Re: LPC11xx I2C, PWM, EXT driver

Postby jcw » Tue Jun 04, 2013 12:08 pm

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
}


Return to “LPC Support”

Who is online

Users browsing this forum: No registered users and 1 guest