2016-10-11 00:09:46 +00: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-10 21:08:24 +00:00
|
|
|
ba: basic
|
2016-10-11 00:09:46 +00:00
|
|
|
adc: adc trigger via compare/trgo
|
|
|
|
itr: internal trigger, ITR0-3
|
|
|
|
d: dma request
|
2016-10-10 21:08:24 +00:00
|
|
|
b: bits
|
|
|
|
|
2016-10-11 00:09:46 +00:00
|
|
|
APB2 DMA2 168 MHz
|
2017-01-03 21:51:05 +00:00
|
|
|
TIM1(ac,16b,d(cc1,cc2,cc3,cc4,up,trgo,com),adc(cc1,cc2,cc3),itr(5,2,3,4)) enc_fb1,ch3->d54 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 00:09:46 +00:00
|
|
|
TIM9(gp2,16b,itr(2,3,10,11))
|
|
|
|
TIM10(gp3,16b)
|
|
|
|
TIM11(gp3,16b)
|
2017-01-03 21:51:05 +00:00
|
|
|
USART1 cmd 422/485 io_header,cmd_rx
|
|
|
|
USART6 fb0
|
2016-10-10 21:08:24 +00:00
|
|
|
|
2016-10-11 00:09:46 +00:00
|
|
|
APB1 DMA1 84 MHz
|
2017-01-03 21:51:05 +00:00
|
|
|
TIM2(gp1,32b,d(up,cc1,cc2,cc3,cc4), adc(cc2,cc3,cc4,trgo),itr(1,8,3,4)) enc_cmd res_slave,res_oc
|
|
|
|
TIM3(gp1,16b,d(cc1,cc2,cc3,cc3,up,trgo),adc(cc1,trgo), itr(1,2,5,4)) adc master (cmd, pair foo) enc_fb
|
|
|
|
TIM4(gp1,16b,d(cc1,cc2,cc3,up), adc(cc4), itr(1,2,3,8)) enc_fb0,ch3->d54 res_master,adc
|
|
|
|
TIM5(gp1,32b,d(cc1,cc2,cc3,cc4,trgo), adc(cc1,cc2,cc3), itr(2,3,4,8)) adc slave/frt
|
2016-10-11 00:09:46 +00:00
|
|
|
TIM6(ba,16b,d(up))
|
|
|
|
TIM7(ba,16b,d(up))
|
2016-10-11 03:16:24 +00:00
|
|
|
TIM12(gp2,16b, itr(4,5,13,14))
|
2016-10-11 00:09:46 +00:00
|
|
|
TIM13(gp3,16b)
|
|
|
|
TIM14(gp3,16b)
|
2017-01-03 21:51:05 +00:00
|
|
|
USART2 hv f1_hv
|
|
|
|
USART3 fb1 fb
|
|
|
|
UART4 (fb0)
|
|
|
|
UART5 (fb0) cmd
|
2016-10-15 22:04:42 +00: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
|
2017-01-03 21:51:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
f3 hv
|
|
|
|
bemf+dclink 181.5 adc cycles = 2.5us sampling time
|
|
|
|
temp 61.5 cycles = 0.85us sampling time
|