LPC122x Port (Olimex LPC-P1227 board)

ChibiOS public support forum for topics related to the NXP LPC family of Cortex-M micro-controllers.

Moderator: theShed

marcinj7
Posts: 13
Joined: Wed Apr 17, 2013 10:08 am
Location: Poland

LPC122x Port (Olimex LPC-P1227 board)

Postby marcinj7 » Thu Apr 18, 2013 10:01 am

Hi,

LPC122x Port, tested on Olimex LPC-P1227 board
So far pal, gpt, serial and spi drivers are supported.
Zip file could be extracted in ChibiOS 2.5.2 root directory, and
then run make in directory demos\ARMCM0-LPC1227-OLIMEX.
Attachments
OLIMEX_ LPC-P1227_ChibiOS_2.5.2.zip
(70.47 KiB) Downloaded 183 times

User avatar
Giovanni
Site Admin
Posts: 11375
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: LPC122x Port (Olimex LPC-P1227 board)

Postby Giovanni » Thu Apr 18, 2013 8:11 pm

Hi,

Thanks for the contribute, the LPC maintainer "theShed" will consider this for inclusion.

Giovanni

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

Re: LPC122x Port (Olimex LPC-P1227 board)

Postby theShed » Fri Apr 26, 2013 7:14 pm

Added....

--
mike

marcinj7
Posts: 13
Joined: Wed Apr 17, 2013 10:08 am
Location: Poland

Re: LPC122x Port (Olimex LPC-P1227 board)

Postby marcinj7 » Thu May 30, 2013 11:24 am

Hi,

New drivers for LPC122x:
I2C - only master mode support
EXT
PWM - 2 channels for each timer
RTC - don't support 10kHz input clock, only 1Hz

Testhal for RTC, EXT and PWM driver.
I've made few changes in chrtclib.c to support LPC122x RTC driver.
Attachments
OLIMEX_ LPC-P1227_ChibiOS_2.5.2_New_Drivers.zip
(59.18 KiB) Downloaded 164 times

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

Re: LPC122x Port (Olimex LPC-P1227 board)

Postby theShed » Sat Jun 01, 2013 11:10 pm

Added... Many thanks.

Giovanni - can you copy this thread to LPC Support please.

--
mike

marcinj7
Posts: 13
Joined: Wed Apr 17, 2013 10:08 am
Location: Poland

Re: LPC122x Port (Olimex LPC-P1227 board)

Postby marcinj7 » Mon Jul 08, 2013 9:22 pm

New drivers for LPC122x:
ADC - dma mode only support one selected channel,
all channels could be selected in interrupt mode
DMA - dma work with adc and memory to memory transfers

Testhal for ADC, ADC_DMA, DMA_MEM memory transfer.
Few changes in hall_lld.c, hall_lld.h to support DMA.
Attachments
OLIMEX_ LPC-P1227_ChibiOS_2.5.2_dma_adc.zip
(50.5 KiB) Downloaded 150 times


Return to “LPC Support”

Who is online

Users browsing this forum: No registered users and 4 guests