From 69455d0b51fab9c61c31c6035b3761947aadfabb Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Tue, 4 Feb 2020 13:22:37 +0100 Subject: [PATCH] readme: reorganize the platform from newest to eldest Signed-off-by: Francisco Gil --- apix-adc-example/README.md | 14 ++++----- apix-can-examples/README.md | 35 +++++++++++---------- apix-gpio-example/README.md | 35 ++++++++++----------- apix-i2c-example/README.md | 61 +++++++++++++++++++------------------ apix-pwm-example/README.md | 11 ++++--- apix-spi-example/README.md | 43 +++++++++++++------------- 6 files changed, 101 insertions(+), 98 deletions(-) diff --git a/apix-adc-example/README.md b/apix-adc-example/README.md index 25a4c98..2b66924 100644 --- a/apix-adc-example/README.md +++ b/apix-adc-example/README.md @@ -7,14 +7,14 @@ This application enables one ADC channel on the board. After that, the application takes periodic samples and prints the raw value and the value in mv. The ADC lines used in this example are mapped as follows in the Digi boards: - - **ConnectCore 6 SBC**: PMIC_ADCIN1 (GPIO connector, J30, Pin 1). - - **ConnectCore 6 Plus SBC**: PMIC_ADCIN1 (GPIO connector, J30, Pin 1). - - **ConnectCore 6UL SBC Express**: ADC1_IN4 (Expansion connector, J8, Pin 7). - - **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 Pro**: ADC_IN0 (Expansion connector, J27, Pin D13). - - **ConnectCore 8M Nano DVK**: MCA_IO1 (channel 1) at XBEE1_UART_TX. By default + - **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. + - **ConnectCore 8X SBC Pro**: ADC_IN0 (Expansion connector, J27, Pin D13). + - **ConnectCore 8X SBC Express**: ADC_IN0 (Expansion connector, J17, Pin 2). + - **ConnectCore 6UL SBC Pro**: ADC1_IN2 (GPIO connector, J30, Pin 13). + - **ConnectCore 6UL SBC Express**: ADC1_IN4 (Expansion connector, J8, Pin 7). + - **ConnectCore 6 Plus SBC**: PMIC_ADCIN1 (GPIO connector, J30, Pin 1). + - **ConnectCore 6 SBC**: PMIC_ADCIN1 (GPIO connector, J30, Pin 1). Running the application ----------------------- diff --git a/apix-can-examples/README.md b/apix-can-examples/README.md index c621605..0d39d67 100644 --- a/apix-can-examples/README.md +++ b/apix-can-examples/README.md @@ -14,15 +14,18 @@ the ID and print in the console. The CAN interface for this example depends on the running platform: - -- **ConectCore 6 SBC**: CAN connector of the board (J27). - - CAN1_L: Pin 1 +- **ConnectCore 8M Nano DVK**: CAN connector of the board (J24). + - 5V: Pin 1 - CAN1_H: Pin 2 + - CAN1_L: Pin 3 + - GND: Pin 4 +- **ConnectCore 8X SBC Pro**: Expansion connector (J27). + - CAN1_L: D 5 + - CAN1_H: D 6 - GND: Pin 3 - - CAN2_L: Pin 4 * - - CAN2_H: Pin 5 * - - GND: Pin 6 -- **ConnectCore 6 Plus SBC**: CAN connector of the board (J27). + - CAN2_L: C 5 + - CAN2_H: C 6 +- **ConnectCore 6UL SBC Pro**: CAN connector of the board (J27). - CAN1_L: Pin 1 - CAN1_H: Pin 2 - GND: Pin 3 @@ -32,24 +35,20 @@ The CAN interface for this example depends on the running platform: - **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). +- **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 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 +- **ConectCore 6 SBC**: CAN connector of the board (J27). + - CAN1_L: Pin 1 - CAN1_H: Pin 2 - - CAN1_L: Pin 3 - - GND: Pin 4 + - GND: Pin 3 + - CAN2_L: Pin 4 * + - CAN2_H: Pin 5 * + - GND: Pin 6 *Note: These pins are not enabled by default, you need to create a custom device tree diff --git a/apix-gpio-example/README.md b/apix-gpio-example/README.md index 920101e..5af9dc9 100644 --- a/apix-gpio-example/README.md +++ b/apix-gpio-example/README.md @@ -8,27 +8,28 @@ one as output (e.g. a user led). The application toggles the output GPIO whenever an interrupt is generated in the input GPIO. The GPIOs lines used in this example are mapped as follows in the Digi boards: - - **ConectCore 6 SBC**: - - User button: EXP_GPIO_0 (GPIO connector, J30, Pin 6) - - User led: USER_LED0 (Connected in the board) - - **ConnectCore 6 Plus SBC**: - - User button: EXP_GPIO_0 (GPIO connector, J30, Pin 6) - - User led: USER_LED0 (Connected in the board) - - **ConnectCore 6UL SBC Express**: - - User button: GPIO3_IO3 (Connected in the board) - - User led: GPIO3_IO11 (Connected in the board) - - **ConnectCore 6UL SBC Pro**: - - User button: MCA_IO1 (GPIO connector, J30, Pin 7) - - User led: USER_LED1 (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) + - **ConnectCore 8X SBC Pro**: + - User button: MCA_IO05 (GPIO connector, J20, Pin A5) + - User led: USER_LED0 (Connected in the board) - **ConnectCore 8X SBC Express**: - User button: GPIO0_20 (Connected in the board) - User led: GPIO0_19 (Connected in the board) - - **ConnectCore 8X SBC Pro**: - - User button: MCA_IO05 (GPIO connector, J20, Pin A5) + - **ConnectCore 6UL SBC Pro**: + - User button: MCA_IO1 (GPIO connector, J30, Pin 7) + - User led: USER_LED1 (Connected in the board) + - **ConnectCore 6UL SBC Express**: + - User button: GPIO3_IO3 (Connected in the board) + - User led: GPIO3_IO11 (Connected in the board) + - **ConnectCore 6 Plus SBC**: + - User button: EXP_GPIO_0 (GPIO connector, J30, Pin 6) + - User led: USER_LED0 (Connected in the board) + - **ConectCore 6 SBC**: + - User button: EXP_GPIO_0 (GPIO connector, J30, Pin 6) - 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 ----------------------- diff --git a/apix-i2c-example/README.md b/apix-i2c-example/README.md index b08b30c..b326e28 100644 --- a/apix-i2c-example/README.md +++ b/apix-i2c-example/README.md @@ -7,41 +7,42 @@ This application writes a page of an external EEPROM memory with random data. Afterward, it reads the data back to validate it (tested with 24FC1026). The I2C connections for this example depend on the running platform: - - **ConnectCore 6 SBC**: I2C connector of the board (J28). - - VCC: Pin 3 - - GND: Pin 6 - - I2C-3 SDA: Pin 2 - - I2C-3 SCL: Pin 1 - - **ConnectCore 6 Plus SBC**: I2C connector of the board (J28). - - VCC: Pin 3 - - GND: Pin 6 - - I2C-3 SDA: Pin 2 - - I2C-3 SCL: Pin 1 - - **ConnectCore 6UL SBC Express**: Expansion connector of the board (J8). - - VCC: Pin 1 - - GND: Pin 6 - - I2C-1 SDA: Pin 3 - - I2C-1 SCL: Pin 5 - - **ConnectCore 6UL SBC Pro**: I2C connector of the board (J28). - - VCC: Pin 3 - - GND: Pin 6 - - I2C-2 SDA: Pin 2 - - I2C-2 SCL: Pin 1 - - **ConnectCore 8X SBC Express**: Raspberri Pi Expansion connector of the board (J11). - - VCC: Pin 1 - - GND: Pin 6 - - I2C-2 SDA: Pin 3 - - I2C-2 SCL: Pin 5 - - **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27). - - VCC: Pin D1 - - GND: Pin C1 - - I2C-3 SDA: Pin D8 - - 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 + - **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27). + - VCC: Pin D1 + - GND: Pin C1 + - I2C-3 SDA: Pin D8 + - I2C-3 SCL: Pin D7 + - **ConnectCore 8X SBC Express**: Raspberri Pi Expansion connector of the board (J11). + - VCC: Pin 1 + - GND: Pin 6 + - I2C-2 SDA: Pin 3 + - I2C-2 SCL: Pin 5 + - **ConnectCore 6UL SBC Pro**: I2C connector of the board (J28). + - VCC: Pin 3 + - GND: Pin 6 + - I2C-2 SDA: Pin 2 + - I2C-2 SCL: Pin 1 + - **ConnectCore 6UL SBC Express**: Expansion connector of the board (J8). + - VCC: Pin 1 + - GND: Pin 6 + - I2C-1 SDA: Pin 3 + - I2C-1 SCL: Pin 5 + - **ConnectCore 6 Plus SBC**: I2C connector of the board (J28). + - VCC: Pin 3 + - GND: Pin 6 + - I2C-3 SDA: Pin 2 + - I2C-3 SCL: Pin 1 + - **ConnectCore 6 SBC**: I2C connector of the board (J28). + - VCC: Pin 3 + - GND: Pin 6 + - I2C-3 SDA: Pin 2 + - I2C-3 SCL: Pin 1 Running the application ----------------------- diff --git a/apix-pwm-example/README.md b/apix-pwm-example/README.md index 106d0dc..c5bf7dc 100644 --- a/apix-pwm-example/README.md +++ b/apix-pwm-example/README.md @@ -8,13 +8,14 @@ Then, it progressively modifies the duty cycle in a loop from 10% to 90% and vice-versa. The PWM lines used in this example are mapped as follows in the Digi boards: - - **ConnectCore 6 SBC**: PWM1 - Pin **10** of the parallel video (LCD) connector (J21). - - **ConnectCore 6 Plus SBC**: PWM1 - Pin **10** of the parallel video (LCD) connector (J21). - - **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 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 Express**: MCA PWM1 channel 0 - Pin **33** of the Raspberry Pi Expansion connector (J11). + - **ConnectCore 6UL SBC Pro**: PWM4 - Pin **11** of the GPIO connector (J30). + - **ConnectCore 6UL SBC Express**: PWM1 - Pin **27** of the expansion connector (J8). + - **ConnectCore 6 Plus SBC**: PWM1 - Pin **10** of the parallel video (LCD) connector (J21). + - **ConnectCore 6 SBC**: PWM1 - Pin **10** of the parallel video (LCD) connector (J21). Running the application ----------------------- diff --git a/apix-spi-example/README.md b/apix-spi-example/README.md index a73570e..ebd75ef 100644 --- a/apix-spi-example/README.md +++ b/apix-spi-example/README.md @@ -10,14 +10,22 @@ Most EEPROM memories are compatible with the example. You only need to specify the page size and the address size in bytes. The SPI connections for this example depends on the running platform: - - **ConnectCore 6 SBC**: SPI connector of the board (J34). + + - **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27). + - VCC: Pin D1 + - GND: Pin C1 + - SPI-0 CLK: Pin D2 + - SPI-0 MISO: Pin D3 + - SPI-0 MOSI: Pin D4 + - SPI-0 SS0: Pin C2 + - **ConnectCore 8X SBC Express**: Raspberry Pi expansion connector of the board (J11). - VCC: Pin 1 - - GND: Pin 8 - - SPI-1 CLK: Pin 2 - - SPI-1 MISO: Pin 3 - - SPI-1 MOSI: Pin 4 - - SPI-1 SS0: Pin 5 - - **ConnectCore 6 Plus SBC**: SPI connector of the board (J34). + - GND: Pin 6 + - SPI-3 CLK: Pin 23 + - SPI-3 MISO: Pin 21 + - SPI-3 MOSI: Pin 19 + - SPI-3 SS0: Pin 24 + - **ConnectCore 6UL SBC Pro**: SPI connector of the board (J34). - VCC: Pin 1 - GND: Pin 8 - SPI-1 CLK: Pin 2 @@ -31,27 +39,20 @@ The SPI connections for this example depends on the running platform: - SPI-3 MISO: Pin 21 - SPI-3 MOSI: Pin 19 - SPI-3 SS0: Pin 24 - - **ConnectCore 6UL SBC Pro**: SPI connector of the board (J34). + - **ConnectCore 6 Plus SBC**: SPI connector of the board (J34). - VCC: Pin 1 - GND: Pin 8 - SPI-1 CLK: Pin 2 - SPI-1 MISO: Pin 3 - SPI-1 MOSI: Pin 4 - SPI-1 SS0: Pin 5 - - **ConnectCore 8X SBC Express**: Raspberry Pi expansion connector of the board (J11). + - **ConnectCore 6 SBC**: SPI connector of the board (J34). - VCC: Pin 1 - - GND: Pin 6 - - SPI-3 CLK: Pin 23 - - SPI-3 MISO: Pin 21 - - SPI-3 MOSI: Pin 19 - - SPI-3 SS0: Pin 24 - - **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27). - - VCC: Pin D1 - - GND: Pin C1 - - SPI-0 CLK: Pin D2 - - SPI-0 MISO: Pin D3 - - SPI-0 MOSI: Pin D4 - - SPI-0 SS0: Pin C2 + - GND: Pin 8 + - SPI-1 CLK: Pin 2 + - SPI-1 MISO: Pin 3 + - SPI-1 MOSI: Pin 4 + - SPI-1 SS0: Pin 5 Running the application -----------------------