cc8m: add support for the cc8m platform
https://jira.digi.com/browse/DEL-6955 Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
ff20d8c0a9
commit
e340d9be3e
|
|
@ -13,6 +13,8 @@ The ADC lines used in this example are mapped as follows in the Digi boards:
|
||||||
- **ConnectCore 6UL SBC Pro**: ADC1_IN2 (GPIO connector, J30, Pin 13).
|
- **ConnectCore 6UL SBC Pro**: ADC1_IN2 (GPIO connector, J30, Pin 13).
|
||||||
- **ConnectCore 8X SBC Express**: ADC_IN0 (Expansion connector, J17, Pin 2).
|
- **ConnectCore 8X SBC Express**: ADC_IN0 (Expansion connector, J17, Pin 2).
|
||||||
- **ConnectCore 8X SBC Pro**: ADC_IN0 (Expansion connector, J27, Pin D13).
|
- **ConnectCore 8X SBC Pro**: ADC_IN0 (Expansion connector, J27, Pin D13).
|
||||||
|
- **ConnectCore 8M Nano DVK**: MCA_IO1 (channel 1) at XBEE1_UART_TX. By default
|
||||||
|
this ADC channel is not enabled, you need to modify the device tree.
|
||||||
|
|
||||||
Running the application
|
Running the application
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ Digi APIX CAN Example Applications
|
||||||
|
|
||||||
Example applications to access and manage CAN interface using the Digi APIX library.
|
Example applications to access and manage CAN interface using the Digi APIX library.
|
||||||
|
|
||||||
These applications enable one CAN interface of the board and start a tranmission or
|
These applications enable one CAN interface of the board and start a transmission or
|
||||||
reception using the selected baudrate.
|
reception using the selected baudrate.
|
||||||
|
|
||||||
In the reception example the application will wait for frames and print them in the
|
In the reception example the application will wait for frames and print them in the
|
||||||
|
|
@ -14,42 +14,42 @@ the ID and print in the console.
|
||||||
|
|
||||||
The CAN interface for this example depends on the running platform:
|
The CAN interface for this example depends on the running platform:
|
||||||
|
|
||||||
ConnectCore 6 SBC: CAN connector of the board (J27).
|
|
||||||
CAN1_L: Pin 1
|
|
||||||
CAN1_H: Pin 2
|
|
||||||
GND: Pin 3
|
|
||||||
CAN2_L: Pin 4 *
|
|
||||||
CAN2_H: Pin 5 *
|
|
||||||
GND: Pin 6
|
|
||||||
|
|
||||||
ConnectCore 6 Plus SBC: CAN connector of the board (J27).
|
|
||||||
CAN1_L: Pin 1
|
|
||||||
CAN1_H: Pin 2
|
|
||||||
GND: Pin 3
|
|
||||||
CAN2_L: Pin 4 *
|
|
||||||
CAN2_H: Pin 5 *
|
|
||||||
GND: Pin 6
|
|
||||||
|
|
||||||
ConnectCore 6UL SBC Express: Raspberry PI connector (J8).
|
|
||||||
(An external CAN transceiver is needed).
|
|
||||||
RX: Pin 26
|
|
||||||
TX: Pin 22
|
|
||||||
|
|
||||||
ConnectCore 6UL SBC Pro: CAN connector of the board (J27).
|
|
||||||
CAN1_L: Pin 1
|
|
||||||
CAN1_H: Pin 2
|
|
||||||
GND: Pin 3
|
|
||||||
CAN2_L: Pin 4 *
|
|
||||||
CAN2_H: Pin 5 *
|
|
||||||
GND: Pin 6
|
|
||||||
|
|
||||||
ConnectCore CC8X SBC Pro: Expansion connector (J27).
|
|
||||||
CAN1_L: D 5
|
|
||||||
CAN1_H: D 6
|
|
||||||
GND: Pin 3
|
|
||||||
CAN2_L: C 5
|
|
||||||
CAN2_H: C 6
|
|
||||||
|
|
||||||
|
- **ConectCore 6 SBC**: CAN connector of the board (J27).
|
||||||
|
- CAN1_L: Pin 1
|
||||||
|
- CAN1_H: Pin 2
|
||||||
|
- GND: Pin 3
|
||||||
|
- CAN2_L: Pin 4 *
|
||||||
|
- CAN2_H: Pin 5 *
|
||||||
|
- GND: Pin 6
|
||||||
|
- **ConnectCore 6 Plus SBC**: CAN connector of the board (J27).
|
||||||
|
- CAN1_L: Pin 1
|
||||||
|
- CAN1_H: Pin 2
|
||||||
|
- GND: Pin 3
|
||||||
|
- CAN2_L: Pin 4 *
|
||||||
|
- CAN2_H: Pin 5 *
|
||||||
|
- GND: Pin 6
|
||||||
|
- **ConnectCore 6UL SBC Express**: Raspberry PI connector (J8). (An external CAN transceiver is needed).
|
||||||
|
- RX: Pin 26
|
||||||
|
- TX: Pin 22
|
||||||
|
- **ConnectCore 6UL SBC Pro**: CAN connector of the board (J27).
|
||||||
|
- CAN1_L: Pin 1
|
||||||
|
- CAN1_H: Pin 2
|
||||||
|
- GND: Pin 3
|
||||||
|
- CAN2_L: Pin 4 *
|
||||||
|
- CAN2_H: Pin 5 *
|
||||||
|
- GND: Pin 6
|
||||||
|
- **ConnectCore 8X SBC Pro**: Expansion connector (J27).
|
||||||
|
- CAN1_L: D 5
|
||||||
|
- CAN1_H: D 6
|
||||||
|
- GND: Pin 3
|
||||||
|
- CAN2_L: C 5
|
||||||
|
- CAN2_H: C 6
|
||||||
|
- **ConnectCore 8M Nano DVK**: CAN connector of the board (J24).
|
||||||
|
- 5V: Pin 1
|
||||||
|
- CAN1_H: Pin 2
|
||||||
|
- CAN1_L: Pin 3
|
||||||
|
- GND: Pin 4
|
||||||
|
|
||||||
*Note: These pins are not enabled by default, you need to create a custom device tree
|
*Note: These pins are not enabled by default, you need to create a custom device tree
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ The GPIOs lines used in this example are mapped as follows in the Digi boards:
|
||||||
- **ConnectCore 8X SBC Pro**:
|
- **ConnectCore 8X SBC Pro**:
|
||||||
- User button: MCA_IO05 (GPIO connector, J20, Pin A5)
|
- User button: MCA_IO05 (GPIO connector, J20, Pin A5)
|
||||||
- User led: USER_LED0 (Connected in the board)
|
- User led: USER_LED0 (Connected in the board)
|
||||||
|
- **ConnectCore 8M Nano DVK**:
|
||||||
|
- User button: MCA_IO10 (User Button 1 in the board)
|
||||||
|
- User led: USER_LED1 (User Led 1 in the board)
|
||||||
|
|
||||||
Running the application
|
Running the application
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,11 @@ The I2C connections for this example depend on the running platform:
|
||||||
- GND: Pin C1
|
- GND: Pin C1
|
||||||
- I2C-3 SDA: Pin D8
|
- I2C-3 SDA: Pin D8
|
||||||
- I2C-3 SCL: Pin D7
|
- I2C-3 SCL: Pin D7
|
||||||
|
- **ConnectCore 8M Nano DVK**: Expansion connector of the board (J48).
|
||||||
|
- VCC: Connector J52 Pin 7
|
||||||
|
- GND: Pin 9
|
||||||
|
- I2C-4 SDA: Pin 3
|
||||||
|
- I2C-4 SCL: Pin 1
|
||||||
|
|
||||||
Running the application
|
Running the application
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ The PWM lines used in this example are mapped as follows in the Digi boards:
|
||||||
- **ConnectCore 6UL SBC Express**: PWM1 - Pin **27** of the expansion connector (J8).
|
- **ConnectCore 6UL SBC Express**: PWM1 - Pin **27** of the expansion connector (J8).
|
||||||
- **ConnectCore 6UL SBC Pro**: PWM4 - Pin **11** of the GPIO connector (J30).
|
- **ConnectCore 6UL SBC Pro**: PWM4 - Pin **11** of the GPIO connector (J30).
|
||||||
- **ConnectCore 8X SBC Express**: MCA PWM1 channel 0 - Pin **33** of the Raspberry Pi Expansion connector (J11).
|
- **ConnectCore 8X SBC Express**: MCA PWM1 channel 0 - Pin **33** of the Raspberry Pi Expansion connector (J11).
|
||||||
|
- **ConnectCore 8M Nano DVK**: MCA PWM0 channel 2 connected to the LED1.
|
||||||
- **ConnectCore 8X SBC Pro**: MCA PWM1 channel 0 - Pin **A5** of the Expansion connector (J20).
|
- **ConnectCore 8X SBC Pro**: MCA PWM1 channel 0 - Pin **A5** of the Expansion connector (J20).
|
||||||
|
|
||||||
Running the application
|
Running the application
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ application takes periodic samples and prints the raw value and the value in mv.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-can-samples">
|
<sample id="apix-can-samples">
|
||||||
|
|
@ -32,6 +33,7 @@ reception using the selected baudrate.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-gpio-sample">
|
<sample id="apix-gpio-sample">
|
||||||
|
|
@ -50,6 +52,7 @@ whenever an interrupt is generated in the input GPIO.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-i2c-sample">
|
<sample id="apix-i2c-sample">
|
||||||
|
|
@ -67,6 +70,7 @@ Afterward, it reads the data back to validate it (tested with 24FC1026).
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-pm-sample">
|
<sample id="apix-pm-sample">
|
||||||
|
|
@ -84,6 +88,7 @@ frequencies, and governors.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-pwm-sample">
|
<sample id="apix-pwm-sample">
|
||||||
|
|
@ -102,6 +107,7 @@ vice-versa.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="apix-spi-sample">
|
<sample id="apix-spi-sample">
|
||||||
|
|
@ -139,6 +145,7 @@ then the device will reboot automatically after the timeout expires.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="ble-gat-server-example">
|
<sample id="ble-gat-server-example">
|
||||||
|
|
@ -156,6 +163,7 @@ GATT services and characteristics.
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
<sample id="caam-blob-example">
|
<sample id="caam-blob-example">
|
||||||
|
|
@ -178,6 +186,7 @@ A key modifier may be used to further differentiate the key used in a particular
|
||||||
<platform>ccimx6ulsbc</platform>
|
<platform>ccimx6ulsbc</platform>
|
||||||
<platform>ccimx8x-sbc-express</platform>
|
<platform>ccimx8x-sbc-express</platform>
|
||||||
<platform>ccimx8x-sbc-pro</platform>
|
<platform>ccimx8x-sbc-pro</platform>
|
||||||
|
<platform>ccimx8mn-dvk</platform>
|
||||||
</platforms>
|
</platforms>
|
||||||
</sample>
|
</sample>
|
||||||
</samples>
|
</samples>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue