lpcware

problem with LPC4357-EVB example

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ah1986 on Fri Apr 18 04:50:50 MST 2014
Hi everyone,
I want to test LPC4357 blinky. But when i downloaded my code, I got nothing from the board.
I used LPC43xx CMSIS in my code. my code is as below:
#include "lpc43xx_gpio.h"
#include "lpc43xx_scu.h"
#include "lpc43xx_libcfg.h"
#include "lpc43xx_cgu.h"

int main(void) {
unsigned long del=0;

SystemInit();
CGU_Init();

scu_pinmux(0xE, 7 , MD_PDN, FUNC4);
GPIO_SetDir(7,7,1);
while(1) {
GPIO_ClearValue(7,7);
for (del=0;del<15000000;del++);
GPIO_SetValue(7,7);
for (del=0;del<30000000;del++);
}
return 0;
}


I download my code on Flash Bank A. I appreciate if someone can help me

Outcomes