Search Engine


Add Question

30 Threads found on lpc17xx
As you know in the last CMSIS drivers we configure EMC,TIMERs & ... with thier own CMSIS drivers while in the latest CMSIS drivers which i downloaded with KEIL 5.16 there are not any library for thems,like: lpc177x_8x_emc.h lpc177x_8x_clkpwr.h lpc177x_8x_timer.h lpc177x_8x_exti lpc177x_8x_adc lpc177x_8x_wwdt then how i must
im calculating delay for 1sec using timer 0, but im getting delay of 500ms im using 12Mhz external crystal #include "lpc17xx.h" void delayMs(uint32_t delayInMs) { LPC_TIM0->TCR = 0x02; /* reset timer */ LPC_TIM0->PR = 0x00; /* set prescaler to zero */ LPC_TIM0->MR0 = delayInMs * (9000000 / 1000-1); LPC_TIM0->IR = 0xff; /* r
have you seen
Hi I'm trying to build a simple code to run on a bare-metal arm micro-controller lpc1768 from NXP, that is from cortex-m3 family. I'm using Sourcery toolchain (specifically, Sourcery CodeBench Lite 2013.11-24 4.8.1) on Ubuntu 12.04, and I'm using the startup code found in lpc17xx CMSIS library, provided by NXP, in path /Core/CM3/DeviceSupport/NXP
hey i am using systic timer to blink a led my core frequency is 100mhz so typically between 2 interrupts there is 1ms accordingly i have to tried to blink led but to no avail am i missing something #include "lpc17xx.h" #include volatile uint32_t msTicks = 0; volatile uint32_t curTicks; void SysTick_Handler(
#include "lpc17xx.h" #define LED (1 << 29) void delay(unsigned long int count) { unsigned long int j; for(j = 1000000; j > 0; j--); } int main (void) { SystemInit(); LPC_GPIO1->FIODIR |= LED; // P1.29 = Outputs LPC_GPIO1->FIOCLR = LED; // Turn-OFF LED //Loop LED Test while(1) {
hi to all, i am new to LPC1768, i have the io toggling and lcd program. but now i am stuck with the adc. please help its urgent here is code #include<lpc17xx.h> void ADC_initail() { LPC_PINCON->PINSEL3=0xc0000000; LPC_ADC->ADCR=0x00200120; } void GPIO_config() { LPC_PINCON->PINSEL0=0x00000000; LPC_PINCON->PI
All the lpc17xx devices have a boot loader that uses UART , it is triggered by the state of P2.10. The ISP is enabled when this pin is pulled low after a reset. Download the user manual and read section 32 You will need a max3232 to connect the UART to the serial post of a PC and you can
Hello I wanna use RIT by CMSIS for LPC1768 ( Compiler : Keil ) my code: #include "lpc17xx.H" #include "system_lpc17xx.h" #include "lpc17xx_clkpwr.h" #include "lpc17xx_rit.h" unsigned int i=0; void RIT_IRQHandler(void) { i++; if(i%2==0) LPC_GPIO2->FIOSET=0X01; else LPC_GPIO2->FIOCLR=0X01; (...)
I want to get started with uclinux. but I didn't find any resource how to get started . how to install . how to write program ? please introduce me a book,ebook or atleast a link .
I want to set an os for my mcu it is lpc1768 what is the best choice you think?
main routine #include "lpc17xx.h" #include "gpio.h" uint32_t m; void main(){ SystemInit(); SystemCoreClockUpdate(); while(1){ init_adc(0); m=get_adc(0); } } adc.c #include "gpio.h" enumPending Int0_Stat(){ return GPIOINT->P0Int; } enumPending Int2_Stat(){ return GPIOINT->P2Int; } adc.h
i used a 130MHz clock rate for cpu clock but its usual operation done. whats wrong? I overclocked adc too . nothing fault
Thank you bigdogguru for the post. I know the application for the lpc17xx sereis. In this pdf there is a way from a mcu at CPR3 status to be written 84045 But IAR compiler does not have (or i do not know it) IAP commands.
NXP offers an appnote and example code for the lpc17xx series: CAN Primer: Creating your own Network CAN Primer: Creating Your Own Network V2 Also, if you are using the KEIL compiler there is
I seeking code example that demonstrate or make use of DMA for data transfer between memory to SPI bus within SSP1 port. This need to be full duplex, rather than half-duplex. This device is treated as Slave, where external CS and SCLK drive drive the data transfer. The data transfer size is up to 250 Byte. Can the DMA be halted or operatio
Hey guys I am using lpc1768 as ADC input for cheking input voltage by keil program but i've faced with problem.actually i'm new in cortex-m3 too.This is my code below.could u please tell my problems in program ?am i need header file becuase of using GPIO? #include "lpc17xx.h" #include "type.h" #include "adc.h" { LPC_GPIO2->FIODIR = 0x000000
Hi I want to know is any way to find out PLL or CPU clock speed(for ARM processor lpc17xx series) with J-Link :shock:(Except seeing related register and calculating). thanks.
The following text is quite good: The Definitive Guide to the ARM Cortex-M3, Second Edition There are some similarities to the lpc17xx and LPC21XX series, however keep in mind they are differ
There is no device model for lpc17xx in proteus. I think you can start from the gpio examples
Check ---------- Post added at 18:53 ---------- Previous post was at 18:49 ---------- You can also try for the initialization code of several peripherals, I/O and interrupts
Hi, Is there anyone can work lpc17xx bundle usbhid example? I couldnt work it. I compile the usbhid example but it doesnt work.The link is below.
I need firmware driver library for LPC11 and LPC13 like as lpc17xx libs
ARMwizard updated to version 2.0 This is the first version that supports the lpc17xx Cortex M3 chips (LPC1763/64/65/66/67/68/69), more 17xx models will be added in newer versions. What is new Added support for lpc17xx chips, includes LPC1763/64/65/66/67/68/69 mcu profiles Added pin setting for open drain and repeater mode for
Hi, According to lpc17xx user manual the LPC1768 has a total of 64kB of SRAM. I understand that there is a 32kB bank of SRAM connected to the CPU's instruction and data busses, which is readily accessible. There are two more 16kB banks of SRAM which are stated as typically being used for peripheral data but can supposedly still be used f
Hello, During configuration of Ethernet, JTAG is losing communication with the target. In lpc17xx manual there is a remark as follow Remark: when initializing the Ethernet block, it is important to first configure the PHY and insure that reference clocks (ENET_REF_CLK signal in RMII mode, or both ENET_RX_CLK and ENET_TX_CLK signals in M
Hi from my point of view Pic18 is to week to process audio you will need more processing power - Use ARM cortex M3 (STM32,lpc17xx,SAM3....) DSPIC is a DSP controller? The easy way is to use the library - But this way you will not learn how thing works you only learn to use them All the best Bobi The microcontr
There are lpc1758, lpc1766 and lpc1768 evaluation boards on this website: , I guess you can know some features about the lpc17xx processors by testing these boards.
Hi I suggest you to use the (STM32,SAM3U,lpc17xx) or any other ARM cortex micro controller since they are more powerful then any PIC above with a capability to handl audio processing with in All the best Bobi The microcontroller specialist
Hi From my point of view you will need to use a stronger controller who have lot of RAM since picture need lot of ram for storage I suggest you use on of the ARM cortex new processor (STM32,lpc17xx,SAM3Uxx) Instead of Small low memory & low process PIC MCU ALL the best Bobi The microcontroller specialist [/b