Difference: BoardSupportPackageWB5M (4 vs. 5)

Revision 52021-06-05 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 24 to 24
  dport! ( n -- ) sets the digital output port (D0=bit0 .. D15=bit15). dport@ ( -- n ) gets the digital input/output port (D0=bit0 .. D15=bit15).
Changed:
<
<
dpin! ( n a -- ) sets the digital output port pin (D0=0 .. D15=15) dpin@ ( a -- n ) gets the digital input/output port pin
>
>
dpin! ( n a -- ) sets the digital output port pin (a: D0=0 .. D15=15, A0=16 .. A5=21) dpin@ ( a -- n ) gets the digital input/output port pin (a: D0=0 .. D15=15, A0=16 .. A5=21)
 dmod ( u a -- ) sets the pin mode: 0 in, 1 in pull-up, 2 in pull-down, 3 out push pull, 4 out open drain,
Changed:
<
<
5 out push pull PWM, 6 input capture, 7 output compare, 8 I2C
>
>
5 out push pull PWM, 6 input capture, 7 output compare, 8 I2C, 9 UART, 10 analog
 
Changed:
<
<
EXTImod ( u a -- ) Sets for pin a (D2, D4, D7, D10) the EXTI mode u: 0 rising, 1 falling, 2 both edges, 3 none EXTIwait ( u a -- ) Wait for EXTI interrupt on pin a (D2, D4, D7, D10), timeout u in [ms]
>
>
EXTImod ( u a -- ) Sets for pin a (D0, D1, D2, D4, D10) the EXTI mode u: 0 rising, 1 falling, 2 both edges, 3 none EXTIwait ( u a -- ) Wait for EXTI interrupt on pin a (D0, D1, D2, D4, D10), timeout u in [ms]
  pwmpin! ( u a -- ) sets the digital output port pin a (D3=3, D6=6, D9=9) to a PWM value u (0..1000). Default frequency is 1 kHz, TIMER1
Changed:
<
<
pwmprescale ( u -- ) Sets the PWM prescale for TIMER1. 32 kHz / prescale, default 32 -> PWM frequency 1 kHz
>
>
pwmprescale ( u -- ) Sets the PWM prescale for TIMER1 and TIMER16. 32 kHz / prescale, default 32 -> PWM frequency 1 kHz
  ICOCprescale ( u -- ) Sets the input capture / output compare prescale for TIMER2. default 32 -> 32 MHz / 32 = 1 MHz, timer resolution 1 us ICOCperiod! ( u -- ) Sets the input capture / output compare (TIMER2) period. default $FFFFFFFF (4'294'967'295).
Line: 43 to 43
 ICOCcount@ ( u -- ) Gets the input capture / output compare counter for TIMER2 ICOCstart ( -- ) Starts the ICOC period ICOCstop ( -- ) Stops the ICOC period
Changed:
<
<
OCmod ( u a -- ) Sets for pin a (D0, D1, D5) the Output Compare mode u: 0 frozen, 1 active level on match, 2 inactive level on match,
>
>
OCmod ( u a -- ) Sets for pin a (D5, D13) the Output Compare mode u: 0 frozen, 1 active level on match, 2 inactive level on match,
  3 toggle on match, 4 forced active, 5 forced inactive

OCstart ( u a -- ) Starts the output compare mode for pin a with pulse u

Line: 77 to 77
 
3 0 dmod   \ set D0 to Output
3 1 dmod   \ set D1 to Output

Added:
>
>
3 2 dmod \ set D2 to Output
 3 3 dmod \ set D3 to Output
Added:
>
>
3 4 dmod \ set D4 to Output
 3 5 dmod \ set D5 to Output 3 6 dmod \ set D6 to Output
Added:
>
>
3 7 dmod \ set D7 to Output
 

Line: 329 to 332
 

Pinouts

Added:
>
>
Schematics
 

ARDUINO® Connector Pinout

Connector Signal name STM32W5MMG pin Comment
Line: 341 to 346
 
CN2.7 GND - Ground
CN2.8 VIN   Ext. +12V
CN3.1 A0 PC3 ADC1_IN4
Changed:
<
<
CN3.2 A1 PA2 ADC1_IN7
>
>
CN3.2 A1 PA2 ADC1_IN7/TIM2_CH1 IC
 
CN3.3 A2 PA5 ADC1_IN10
CN3.4 A3 PC1 ADC1_IN2
CN3.5 A4 PC4 ADC1_IN13
CN3.6 A5 PC5 ADC1_IN14
Changed:
<
<
CN4.1 D0 PC0 LPUART1_RX
CN4.2 D1 PB5 LPUART1_TX
CN4.3 D2 PD12 GPIO
>
>
CN4.1 D0 PC0 LPUART1_RX/EXTI0
CN4.2 D1 PB5 LPUART1_TX/EXTI9_5
CN4.3 D2 PD12 GPIO/EXTI15_10
 
CN4.4 D3 PD14 GPIO/TIM1_CH1
Changed:
<
<
CN4.5 D4 PE3 GPIO
CN4.6 D5 PB10 GPIO/TIM2_CH3
>
>
CN4.5 D4 PE3 GPIO/EXTI_3
CN4.6 D5 PB10 GPIO/TIM2_CH3 OC
 
CN4.7 D6 PE0 GPIO/TIM16_CH1
CN4.8 D7 PB2 GPIO
CN1.1 D8 PD13 GPIO
CN1.2 D9 PD15 GPIO/TIM1_CH2
Changed:
<
<
CN1.3 D10 PA4 SPI1_NSS
>
>
CN1.3 D10 PA4 SPI1_NSS/EXTI4
 
CN1.4 D11 PA7 SPI1_MOSI
CN1.5 D12 PB4 SPI1_MISO
Changed:
<
<
CN1.6 D13 PA1 SPI1_SCK/TIM2_CH2
>
>
CN1.6 D13 PA1 SPI1_SCK/TIM2_CH2 OC
 
CN1.7 GND - Ground
CN1.8 AVDD - VDDA
CN1.9 D14 PA10 I2C1_SDA
Line: 376 to 381
 

RGB LED

Signal name STM32W5MMG pin Comment
Changed:
<
<
D11 PA7  
RGB_SELECT PH1  
>
>
D11 PA7 SPI1_MOSI
RGB_SELECT PH1 RGB CS
 
Added:
>
>
PWM Driver Chip: [TLC59731
 

UART VCP ST-LINK

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback