User Activity

i use NUCLEO - F767ZI and test a simple code as followint sum(int a,int b){   return a+b; }   int main(void){   int dly;   __enable_irq(); SysTick_Config(100000); NVIC_EnableIRQ(SysTick_IRQn); dly = sum(1,3); return 0...
Posted on July 19, 2017 at 04:51hi,i initialize and set rtc as followint rtcInit(void){    RCC->APB1ENR1 |= RCC_APB1ENR1_PWREN;    // enable PWR clock    PWR->CR1 |= 0x00000100; // disable BD write protect    while(0 == (PWR->CR1 & 0x00000100));    ...
Posted on March 15, 2017 at 07:30hi,I want use LPTIM1 and select clock source is LSE.when i enable LSE use code auto-gen from stm32cubemx,but LSERDY can't assert,the external OSC is work normal.init code like as:void SystemClock_Config(void){  RCC_O...
Posted on March 10, 2017 at 09:32hi,I want use SPI1 as master and SPI1 reg configure as that    SPI1->CR2 = 0x1704;     SPI1->CR1 = 0x15C;read code is    GPIOA->BSRR |= 1 << 20; //set NSS low    for(i = 0;i < command_size;i++) {        while (0 == (...
Posted on March 09, 2017 at 04:08HI,i found that some peripheral can select clock source  by  change RCC_CCIPR.but both ADC and CLK48M,default clock source is ''No clock selected'',it can work normal also.why?
Kudos from