Please find here a first BETA map of the pins of the StellarPad.
There are many questions concerning the UART, I²C and SPI ports and the choices done by Energia.
Also, are the J1 J2 connectors compatible with LaunchPad MSP430G2xxx's booster packs?
Here are the results of my tests — sketch provided on #141.
1. StellarPad • analogWrite()
First results are:
works: PB_5 PB_0 PB_1 PB_4 PF_1 PF_2 PF_3
doesn't work: PD_0 PC_4 PC_5 PC_6
Is there a link with the pin multiplexing?
Minimum duty cycle is 2% and maximum is 100%.
That means the LED isn't really off which analogWrite(0).
2. analogWrite(), again
The white colour doesn't blink as expected.
see #141
3. Serial pins
Ports U4 and U1 seem to share the same pins PC4 and PC5.
According to table 2.3 from Stellaris® LM4F120 LaunchPad Evaluation Board User’s Manual (spmu289), {GPIO_PC4_U1RX, GPIO_PC5_U1TX} should be {GPIO_PB0_U1RX, GPIO_PB1_U1TX}
I had a look at 14.2 Signal Description page 843 and Table 14-1. UART Signals (64LQFP) page 844 of the Stellaris® LM4F120H5QR Microcontroller DATA SHEET (lm4f120h5qr) and UART1 has two series of pins depending on
The number in parentheses is the encoding that must be programmed into the PMCn field in the GPIO Port Control (GPIOPCTL) register (page 641) to assign the UART signal to the specified GPIO port pin.
The question is more about which ports Energia will consider.
Having two names UART1 and UART5 for the same port may be misleading, especially to Arduino users.
Same question applies for SPI and I²C ports.
4. StellarPad • LM4F120H5QR MCU variable
See #138
StellarPad • LM4F120H5QR MCU variable not defined Boards Energia IDE StellarPad
Please find here a first BETA map of the pins of the StellarPad.
There are many questions concerning the UART, I²C and SPI ports and the choices done by Energia.
Also, are the J1 J2 connectors compatible with LaunchPad MSP430G2xxx's booster packs?
Here are the results of my tests — sketch provided on #141.
1. StellarPad • analogWrite()
First results are:
Minimum duty cycle is 2% and maximum is 100%.
That means the LED isn't really off which analogWrite(0).
2. analogWrite(), again
The white colour doesn't blink as expected. see #141
3. Serial pins
Ports U4 and U1 seem to share the same pins PC4 and PC5.
According to table 2.3 from Stellaris® LM4F120 LaunchPad Evaluation Board User’s Manual (spmu289), {GPIO_PC4_U1RX, GPIO_PC5_U1TX} should be {GPIO_PB0_U1RX, GPIO_PB1_U1TX}
I had a look at 14.2 Signal Description page 843 and Table 14-1. UART Signals (64LQFP) page 844 of the Stellaris® LM4F120H5QR Microcontroller DATA SHEET (lm4f120h5qr) and UART1 has two series of pins depending on
The number in parentheses is the encoding that must be programmed into the PMCn field in the GPIO Port Control (GPIOPCTL) register (page 641) to assign the UART signal to the specified GPIO port pin.
The question is more about which ports Energia will consider.
Having two names UART1 and UART5 for the same port may be misleading, especially to Arduino users.
Same question applies for SPI and I²C ports.
4. StellarPad • LM4F120H5QR MCU variable
See #138
StellarPad • LM4F120H5QR MCU variable not defined Boards Energia IDE StellarPad