lpc17xx bsp status

Marcos Díaz marcos.diaz at tallertechnologies.com
Fri Jan 3 15:57:19 UTC 2014


On Fri, Jan 3, 2014 at 9:04 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 01/03/2014 12:51 PM, Marcos Díaz wrote:
>>
>> On Fri, Jan 3, 2014 at 8:09 AM, Sebastian Huber
>> <sebastian.huber at embedded-brains.de>  wrote:
>>>
>>> >On 01/02/2014 09:23 PM, Marcos Díaz wrote:
>>>>
>>>> >>
>>>> >>Hi, thanks for answering, first of all in the file lpc24xx.h there are
>>>> >>two definitions for FIO_BASE_ADDR the second one (which is the one
>>>> >>that I use) 0x20098000 is wrong, and when Itried to use the function
>>>> >>lpc24xx_gpio_set for testing I noticed that it tried to write based on
>>>> >>that value. the correct value 0x2009C000 works fine on my board, and
>>>> >>looking into the lpc17xx manual I could see that it`s the correct
>>>> >>value for the register.
>>>
>>> >
>>> >
>>> >In the UM10470 LPC178x/7x User manual Rev. 2.1 — 6 March 2013 we the
>>> > value
>>> >0x20098000 for the GPIO register base.  At 0x2009C000 we have the EMC
>>> >registers.
>>> >
>>> >Can you please provide a link to your manual?
>>> >
>>
>> UM10360
>> LPC17xx User manual
>> Rev. 2 — 19 August 2010
>
>
> Yes, indeed, the memory map is different here.  This is quite stupid from
> NXP.  Which model to you use?
it's lpc1768
>
>
>>
>>> >
>>>>
>>>> >>In another part, in the configuration of modules, specifically in the
>>>> >>function lpc24xx_module_do_enable in io.c there isn't an option for
>>>> >>setting the clock for the module if ARM_MULTILIB_ARCH_V4 isnt defined
>>>> >>(my case) so it does nothing in that case. So far this is what we
>>>> >>realized and what could be causing us problems. Thanks.
>>>
>>> >
>>> >
>>> >The LPC17XX has a different clock module.
>>
>> But is it implemented?
>
>
> Yes, at least for the LPC1778.
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

Well, we will be developing the bsp for this board (the lpc1768), so
we will appreciate any help you could give us. Thanks!




More information about the devel mailing list