Page 2 of 2

Re: NUC240 RTX binding SPI PDMA

Posted: 20 Jun 2017, 12:07
by Prima

Code: Select all

55.    /* Set GPB multi-function pins for UART0 RXD and TXD */

56.    SYS->GPB_MFP &= ~(SYS_GPB_MFP_PB0_Msk | SYS_GPB_MFP_PB1_Msk);

57.    SYS->GPB_MFP |= (SYS_GPB_MFP_PB0_UART0_RXD | SYS_GPB_MFP_PB1_UART0_TXD);

Configure these ports as serial ports?

Thanks,
wahahaheihei
mid-level engineer

Re: NUC240 RTX binding SPI PDMA

Posted: 20 Jun 2017, 12:08
by Prima

Code: Select all

__task void task1 (void);                                                // Tasks function prototypes
__task void task2 (void);
__task void task3 (void);

Thanks,
643757107
mid-level engineer

Re: NUC240 RTX binding SPI PDMA

Posted: 20 Jun 2017, 12:10
by Prima
http://bbs.21ic.com/space-uid-288409.html * @file main.c
http://bbs.21ic.com/space-uid-895143.html * @version V2.00


The url is what role it?

Thanks,
643757107