本帖最后由 marklove 于 2021-10-9 14:29 编辑
淘宝送6元卷。3快能买回来。
内置 1MB Flash,288KB RAM 有点小啊,
请问下这个参数能控制几个步进电机啊?
好吧刚才群里问了 告诉我 0..4路 0-4两路可以记数。其他不行如果外部记录 又要占用io。
4.16 PWM 控制器
⚫ 5 通道 PWM 信号生成功能
⚫ 2 通道输入信号捕获功能(PWM0 和 PWM4 两个通路)
⚫ 频率范围:3Hz~160KHz
⚫ 占空比最大精度:1/256,插入死区的计数器宽度:8bit
⚫ PWM0
8 PB_19 I/O UART_TX UART0_TX/PWM0/UART1_RTS/I2C_SDA UP/DOWN
20 PA_2 I/O GPIO,输入,高阻 UART1_RTS/UART2_TX/PWM0/UART3_RTS/ADC_4 UP/DOWN
28 PA_10 I/O GPIO,输入,高阻 MMC_CMD/UART4_RTS/PWM0/I2S_DO/LCD_SEG6/TOUCH_3 UP/DOWN
35 PB_0 I/O GPIO,输入,高阻 PWM0/LSPI_MISO/UART3_TX/PSRAM_CK/LCD_SEG12/Touch_4 UP/DOWN
48 PB_12 I/O GPIO,输入,高阻 HSPI_CK/PWM0/UART5_CTS/I2S_BCLK/LCD_SEG24 UP/DOWN
⚫ PWM4
2 PB_26 I/O GPIO,输入,高阻 LSPI_MOSI/PWM4/LCD_SEG1 UP/DOWN
22 PA_4 I/O JTAG_SWO JTAG_SWO/I2C_SDA/PWM4/I2S_BCK/ADC_2 UP/DOWN
25 PA_7 I/O GPIO,输入,高阻 PWM4/LSPI_MOSI/I2S_MCK/I2S_DI/LCD_SEG3/Touch_1 UP/DOWN
33 PA_14 I/O GPIO,输入,高阻 MMC_DAT3/UART5_CTS/PWM4/LCD_SEG10/TOUCH_15 UP/DOWN
55 PB_16 I/O GPIO,输入,高阻 HSPI_DO/PWM4/LSPI_MISO/UART1_RX/LCD_SEG28 UP/DOWN
⚫ PWM
3 PB_25 I/O GPIO,输入,高阻 LSPI_MISO/PWM3/LCD_COM0 UP/DOWN
4 PB_24 I/O GPIO,输入,高阻 LSPI_CK/PWM2/LCD_SEG2 UP/DOWN
7 PB_20 I/O UART_RX UART0_RX/PWM1/UART1_CTS/I2C_SCL UP/DOWN
18 BOOTMODE I/O BOOTMODE I2S_MCLK/LSPI_CS/PWM2/I2S_DO UP/DOWN
19 PA_1 I/O JTAG_CK JTAG_CK/I2C_SCL/PWM3/I2S_LRCK/ADC_1 UP/DOWN
21 PA_3 I/O GPIO,输入,高阻 UART1_CTS/UART2_RX/PWM1/UART3_CTS/ADC_3 UP/DOWN
30 PA_11 I/O GPIO,输入,高阻 MMC_DAT0/UART4_CTS/PWM1/I2S_DI/LCD_SEG7 UP/DOWN
31 PA_12 I/O GPIO,输入,高阻 MMC_DAT1/UART5_TX/PWM2/LCD_SEG8/TOUCH_14 UP/DOWN
32 PA_13 I/O GPIO,输入,高阻 MMC_DAT2/UART5_RX/PWM3/LCD_SEG9 UP/DOWN
36 PB_1 I/O GPIO,输入,高阻 PWM1/LSPI_CK/UART3_RX/PSRAM_CS/LCD_SEG13/Touch_5 UP/DOWN
37 PB_2 I/O GPIO,输入,高阻 PWM2/LSPI_CK/UART2_TX/PSRAM_D0/LCD_SEG14/Touch_6 UP/DOWN
38 PB_3 I/O GPIO,输入,高阻 PWM3/LSPI_MISO/UART2_RX/PSRAM_D1/LCD_SEG15/Touch_7 UP/DOWN
49 PB_13 I/O GPIO,输入,高阻 HSPI_INT/PWM1/UART5_RTS/I2S_LRCLK/LCD_SEG25 UP/DOWN
50 PB_14 I/O GPIO,输入,高阻 HSPI_CS/PWM2/LSPI_CS/I2S_DO/LCD_SEG26 UP/DOWN
51 PB_15 I/O GPIO,输入,高阻 HSPI_DI/PWM3/LSPI_CK/I2S_DI/LCD_SEG27 UP/DOWN
⚫ PWM_BREAK
23 PA_5 I/O GPIO,输入,高阻 UART3_TX/UART2_RTS/PWM_BREAK/UART4_RTS UP/DOWN
26 PA_8 I/O GPIO,输入,高阻 PWM_BREAK/UART4_TX/UART5_TX/I2S_BCLK/LCD_SEG4 UP/DOWN
34 PA_15 I/O GPIO,输入,高阻 PSRAM_CK/UART5_RTS/PWM_BREAK/LCD_SEG11 UP/DOWN
46 PB_8 I/O GPIO,输入,高阻 I2S_BCK/MMC_D0/PWM_BREAK/SDIO_D0/LCD_SEG20/Touch_12 UP/DOWN
56 PB_17 I/O GPIO,输入,高阻 UART5_RX/PWM_BREAK/LSPI_MOSI/I2S_MCLK/LCD_SEG29 UP/DOWN
|