stmbl/timer.txt

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-10-11 08:09:46 +08:00
timer:
ac: Advacned control(quad,4x input capture/output compare,brk,deadtime,3x inverted output,itr)
gp1: General purpose(quad,4x input capture/output compare,itr)
gp2: General purpose(2x input capture/output compare,itr)
gp3: General purpose(1x input capture/output compare)
2016-10-11 05:08:24 +08:00
ba: basic
2016-10-11 08:09:46 +08:00
adc: adc trigger via compare/trgo
itr: internal trigger, ITR0-3
d: dma request
2016-10-11 05:08:24 +08:00
b: bits
2016-10-11 08:09:46 +08:00
APB2 DMA2 168 MHz
2016-10-11 11:16:24 +08:00
TIM1(ac,16b,d(cc1,cc2,cc3,cc4,up,trgo,com),adc(cc1,cc2,cc3),itr(5,2,3,4)) enc_cmd
TIM8(ac,16b,d(cc1,cc2,cc3,cc4,up,trgo,com),adc(cc1,trgo), itr(1,2,4,5)) brake/fan pwm
2016-10-11 08:09:46 +08:00
TIM9(gp2,16b,itr(2,3,10,11))
TIM10(gp3,16b)
TIM11(gp3,16b)
2016-10-11 05:08:24 +08:00
USART1 io_header,cmd_rx
USART6
2016-10-11 08:09:46 +08:00
APB1 DMA1 84 MHz
2016-10-11 11:16:24 +08:00
TIM2(gp1,32b,d(up,cc1,cc2,cc3,cc4), adc(cc2,cc3,cc4,trgo),itr(1,8,3,4)) res_slave,res_oc
TIM3(gp1,16b,d(cc1,cc2,cc3,cc3,up,trgo),adc(cc1,trgo), itr(1,2,5,4)) enc_fb
TIM4(gp1,16b,d(cc1,cc2,cc3,up), adc(cc4), itr(1,2,3,8)) res_master,adc
TIM5(gp1,32b,d(cc1,cc2,cc3,cc4,trgo), adc(cc1,cc2,cc3), itr(2,3,4,8))
2016-10-11 08:09:46 +08:00
TIM6(ba,16b,d(up))
TIM7(ba,16b,d(up))
2016-10-11 11:16:24 +08:00
TIM12(gp2,16b, itr(4,5,13,14))
2016-10-11 08:09:46 +08:00
TIM13(gp3,16b)
TIM14(gp3,16b)
2016-10-11 05:08:24 +08:00
USART2 f1_hv
USART3 fb
UART4
UART5 cmd
2016-10-16 06:04:42 +08:00
DMA mapping:
DMA1:
s0 netbob
s1 encm/encs/hyper
s3 hyper
s5 hv rx
s6 hv tx
s7 sserial/netbob
DMA2:
s0 adc
s1 yaskawa/probe
s5 ext rx/sserial
s7 ext tx