打印
[文档下载]

NUC505相關資料包

[复制链接]
2401|17
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
a_ziliu|  楼主 | 2015-4-13 14:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
NUC505技術手冊連結:
http://www.nuvoton.com/hq/resource-download.jsp?tp_GUID=DA05-NUC505

NUC505 BSP連結:
http://www.nuvoton.com/hq/resource-download.jsp?tp_GUID=SW0120141215140101

keil driver連結:
http://www.nuvoton.com/hq/resource-download.jsp?tp_GUID=SW0520101208200142

NUC505 NUTINY V1.4板子的使用說明
UM_NuTiny-SDK-NUC505_V1.00.pdf (1.27 MB)
沙发
springvirus| | 2015-4-13 16:36 | 只看该作者
不错,正需要

使用特权

评论回复
板凳
weiwei4dk| | 2015-4-13 17:13 | 只看该作者
不错,拿到板子时用得到

使用特权

评论回复
地板
cowboy2014| | 2015-4-14 08:30 | 只看该作者
资料很多并且很有用
收下了

使用特权

评论回复
5
ningtao66| | 2015-4-14 08:59 | 只看该作者
下载了,谢谢!

使用特权

评论回复
6
xjjspace| | 2015-4-14 15:35 | 只看该作者
哎,设备无法识别,晚上系统重装下再看看去,郁闷

使用特权

评论回复
7
734774645| | 2015-4-15 00:01 | 只看该作者
我下载了那个DVD大礼包,新唐什么资料都有,不过这次505的不够全面,没有教程啊,其他系列都给教程了。

使用特权

评论回复
8
sdjr362090120| | 2015-4-16 10:54 | 只看该作者
是啊,有教程就好了

使用特权

评论回复
9
sqrong| | 2015-7-10 22:09 | 只看该作者
能否发一下NU_TINY 505的原理图,官网上有.dsn格式原理图,但我打不开,哪位大哥能帮忙转成pdf文件。
nuvoton.com/hq/resource-download.jsp?tp_GUID=HL0120150213163240

使用特权

评论回复
10
598330983| | 2015-7-11 21:25 | 只看该作者
那个DVD大礼包,新唐什么资料都有

使用特权

评论回复
11
mintspring| | 2015-7-11 21:45 | 只看该作者
有个板子一直闲着,现在下载点资料玩玩。

使用特权

评论回复
12
春风的暖暖| | 2015-7-14 09:14 | 只看该作者
谢谢楼主的分享,下载下来看看

使用特权

评论回复
13
小猫爱吃鱼| | 2015-7-14 21:34 | 只看该作者
非常详尽的资料,谢谢楼主的分享

使用特权

评论回复
14
xinba0625| | 2015-10-29 17:16 | 只看该作者
点击链接加入群【Nuvoton NUC505】:http://jq.qq.com/?_wv=1027&k=aBPl1W

使用特权

评论回复
15
_寒寒_| | 2015-12-7 11:12 | 只看该作者
新唐的资料总是那么稀缺

使用特权

评论回复
16
大苏牙| | 2015-12-7 21:13 | 只看该作者
同时再分享些程序就更好了

使用特权

评论回复
17
wahahaheihei| | 2015-12-7 22:15 | 只看该作者
/**************************************************************************//**
* @file     main.c
* @version  V1.00
* $Date: 14/05/29 1:14p $
* @brief    NUC505 General Purpose I/O Driver Sample Code
*           Connect PB.10 and PB.11 to test IO In/Out
*           Test PB.10 and PB.11 interrupts
*
* @note
* Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.
*
******************************************************************************/
#include <stdio.h>
#include "NUC505Series.h"
#include "gpio.h"

void EINT0_IRQHandler(void)
{
    int32_t u32Flag;

    u32Flag = GPIO_GET_INT_FLAG(PB, BIT11);
    GPIO->INTSTSA_B = (u32Flag << 16);

    /* To avoid the synchronization issue between system and APB clock domain */
    u32Flag = GPIO->INTSTSA_B;

    printf("  EINT0 interrupt occurred. \n");
}


void SYS_Init(void)
{
    /*---------------------------------------------------------------------------------------------------------*/
    /* Init System Clock                                                                                       */
    /*---------------------------------------------------------------------------------------------------------*/

    /* Enable  XTAL */
    CLK->PWRCTL |= CLK_PWRCTL_HXTEN_Msk;

    CLK_SetCoreClock(96000000);

    /* Set PCLK divider */
    CLK_SetModuleClock(PCLK_MODULE, NULL, 1);

    /* Update System Core Clock */
    SystemCoreClockUpdate();

    /* Enable IP clock */
    CLK_EnableModuleClock(UART0_MODULE);

    /* Select IP clock source */
    CLK_SetModuleClock(UART0_MODULE, CLK_UART0_SRC_EXT, 0);

    /*---------------------------------------------------------------------------------------------------------*/
    /* Init I/O Multi-function                                                                                 */
    /*---------------------------------------------------------------------------------------------------------*/
    /* Configure multi-function pins for UART0 RXD and TXD */
    SYS->GPB_MFPL  = (SYS->GPB_MFPL & (~SYS_GPB_MFPL_PB0MFP_Msk) ) | SYS_GPB_MFPL_PB0MFP_UART0_TXD;
    SYS->GPB_MFPL  = (SYS->GPB_MFPL & (~SYS_GPB_MFPL_PB1MFP_Msk) ) | SYS_GPB_MFPL_PB1MFP_UART0_RXD;

}

/*---------------------------------------------------------------------------------------------------------*/
/* MAIN function                                                                                           */
/*---------------------------------------------------------------------------------------------------------*/
int main (void)
{
    int32_t i32Err;

    /* Init System, IP clock and multi-function I/O */
    SYS_Init();

    /* Init UART to 115200-8n1 for print message */
    UART_Open(UART0, 115200);

    printf("\n\nCPU @ %dHz\n", SystemCoreClock);

    printf("+-------------------------------------+ \n");
    printf("|           GPIO Driver Sample Code   | \n");
    printf("+-------------------------------------+ \n");

    /*-----------------------------------------------------------------------------------------------------*/
    /* GPIO Basic Mode Test --- Use Pin Data Input/Output to control GPIO pin                              */
    /*-----------------------------------------------------------------------------------------------------*/
    printf("  >> Please connect PB.10 and PB.11 first << \n");
    printf("     Press any key to start test by using [Pin Data Input/Output Control] \n\n");
    getchar();

    /* Configure PB.10 as Output mode and PB.11 as Input mode pull up enable then close it */
    GPIO_SetMode(PB, BIT10, GPIO_MODE_OUTPUT);
    GPIO_SetMode(PB, BIT11, GPIO_MODE_INPUT);
    GPIO_SetPullMode(PB, BIT11, GPIO_PULL_UP_EN);

    i32Err = 0;
    printf("  GPIO Output/Input test ...... \n");

    /* Use Pin Data Input/Output Control to pull specified I/O or get I/O pin status */
    PB10_DOUT = 0;
    if (PB11_PIN != 0) {
        i32Err = 1;
    }

    PB10_DOUT = 1;
    if (PB11_PIN != 1) {
        i32Err = 1;
    }

    if ( i32Err ) {
        printf("  [FAIL] --- Please make sure PB.10 and PB.11 are connected. \n");
    } else {
        printf("  [OK] \n");
    }

    /* Configure PB.10 and PB.11 to default input mode */
    GPIO_SetMode(PB, BIT10, GPIO_MODE_INPUT);
    GPIO_SetMode(PB, BIT11, GPIO_MODE_INPUT);

    /*-----------------------------------------------------------------------------------------------------*/
    /* GPIO Interrupt Function Test                                                                        */
    /*-----------------------------------------------------------------------------------------------------*/
    printf("\n  PB10 and PB11 are used to test interrupt\n");

    /* Configure PB.10 as Output mode */
    PB10_DOUT = 0;
    GPIO_SetMode(PB, BIT10, GPIO_MODE_OUTPUT);

    /* Configure PB11 as Input mode and enable interrupt by rising edge trigger */
    GPIO_SetMode(PB, BIT11, GPIO_MODE_INPUT);
    GPIO_EnableInt(PB, 11, GPIO_INT_RISING);

    /* Enable interrupt de-bounce function and select de-bounce sampling cycle time */
    GPIO_SET_DEBOUNCE_TIME(NULL, GPIO_DBCTL_DBCLKSEL_128);
    GPIO_ENABLE_DEBOUNCE(PB, GPIO_DBCTL_EINT0_DBEN_MASK);

    /* Configure PB11 as EINT0 */
    GPIO_SetIntGroup(PB, 11, GPIO_INTSRCGP_EINT0);
    NVIC_EnableIRQ(EINT0_IRQn);

    PB10_DOUT = 1;

    /* Waiting for interrupts */
    while (1);

}

使用特权

评论回复
18
玛尼玛尼哄| | 2016-1-30 21:04 | 只看该作者
下载了

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

100

主题

295

帖子

6

粉丝