-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Как запустить на другом выводе? #1
Comments
Была попытка привести инициализация таймера к такому виду
и инициализацию dma
Это опираясь на документацию по таймерам, но не сработало. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Пытаюсь запустить работу на другом выводе, например, pb5.
Сменил на TIM3, Канал 2, DMA1_Stream5. Но не запускается.
TIM_TypeDef *tim = TIM3;
DMA_Stream_TypeDef *dma_ch = DMA1_Stream5;
dma_ch->PAR = (unsigned int)&(TIM3->CCR3) + 1; // Назначаем адрес регистра данных ADC
По остальным значениям пробовал по документации менять, но ничего не заработало.
stm32f401ccu6 . На pb8 работало, но с перезагрузкой таймера 139.
The text was updated successfully, but these errors were encountered: