From e65ba8d69f6811fd573a952481d470e1677005dd Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Tue, 30 Jul 2024 10:10:35 +0200 Subject: [PATCH] ccmp91: add support for the ConnectCore 91 platform Add missing entries in the readme for ConnectCore 93 Signed-off-by: Francisco Gil --- apix-adc-example/README.md | 2 ++ apix-can-examples/README.md | 10 ++++++++++ apix-gpio-example/README.md | 6 ++++++ apix-i2c-example/README.md | 10 ++++++++++ apix-pwm-example/README.md | 2 ++ apix-spi-example/README.md | 14 ++++++++++++++ samples-manifest.xml | 11 +++++++++++ 7 files changed, 55 insertions(+) diff --git a/apix-adc-example/README.md b/apix-adc-example/README.md index 2185721..71fcd6f 100644 --- a/apix-adc-example/README.md +++ b/apix-adc-example/README.md @@ -10,6 +10,8 @@ The ADC lines used in this example are mapped as follows in the Digi boards: - **ConnectCore MP13 DVK**: ADC1_INP14 (MikroBus socket, J31, Pin 1). - **ConnectCore MP15 DVK**: AN0 (GPIO connector, J41, Pin 4). - **ConnectCore MP25 DVK**: ANA0 (GPIO connector, J8, Pin 19). + - **ConnectCore 93 DVK**: ADC IN0 (GPIO connector, J48, Pin 1). + - **ConnectCore 91 DVK**: ADC IN0 (GPIO connector, J48, Pin 1). - **ConnectCore 8M Mini 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 8M Nano DVK**: MCA_IO1 (channel 1) at XBEE1_UART_TX. By default diff --git a/apix-can-examples/README.md b/apix-can-examples/README.md index c45334a..355afc9 100644 --- a/apix-can-examples/README.md +++ b/apix-can-examples/README.md @@ -29,6 +29,16 @@ The CAN interface for this example depends on the running platform: - CAN1_H: Pin 2 - CAN1_L: Pin 3 - GND: Pin 4 + - **ConnectCore 93 DVK**: CAN connector of the board (J15). + - 5V: Pin 1 + - CAN1_H: Pin 2 + - CAN1_L: Pin 3 + - GND: Pin 4 + - **ConnectCore 91 DVK**: CAN connector of the board (J15). + - 5V: Pin 1 + - CAN1_H: Pin 2 + - CAN1_L: Pin 3 + - GND: Pin 4 - **ConnectCore 8M Mini DVK**: CAN connector of the board (J24). - 5V: Pin 1 - CAN1_H: Pin 2 diff --git a/apix-gpio-example/README.md b/apix-gpio-example/README.md index 5676c84..0d59a93 100644 --- a/apix-gpio-example/README.md +++ b/apix-gpio-example/README.md @@ -18,6 +18,12 @@ The GPIOs lines used in this example are mapped as follows in the Digi boards: - **ConnectCore MP25 DVK**: - User button: GPIOF,10 (User Button 1 in the board) - User led: GPIOF,5 (ULED in the board) +- **ConnectCore 93 DVK**: + - User button: GPIOCHIP2,7 (User Button 1 in the board) + - User led: USER_LED1 (User Led 1 in the board) +- **ConnectCore 91 DVK**: + - User button: GPIOCHIP2,7 (User Button 1 in the board) + - User led: USER_LED1 (User Led 1 in the board) - **ConnectCore 8M Mini DVK**: - User button: MCA_IO10 (User Button 1 in the board) - User led: USER_LED1 (User Led 1 in the board) diff --git a/apix-i2c-example/README.md b/apix-i2c-example/README.md index 96e8c9f..8e9d470 100644 --- a/apix-i2c-example/README.md +++ b/apix-i2c-example/README.md @@ -23,6 +23,16 @@ The I2C connections for this example depend on the running platform: - GND: Pin 8 - I2C-2 SDA: Pin 6 - I2C-2 SCL: Pin 5 + - **ConnectCore 91 DVK**: MikroBus connector (J40). + - VCC: Pin 7 + - GND: Pin 8 + - I2C-3 SDA: Pin 6 + - I2C-3 SCL: Pin 5 + - **ConnectCore 93 DVK**: MikroBus connector (J40). + - VCC: Pin 7 + - GND: Pin 8 + - I2C-3 SDA: Pin 6 + - I2C-3 SCL: Pin 5 - **ConnectCore 8M Mini DVK**: Expansion connector of the board (J48). - VCC: Connector J52 Pin 7 - GND: Pin 9 diff --git a/apix-pwm-example/README.md b/apix-pwm-example/README.md index fedd188..8859e00 100644 --- a/apix-pwm-example/README.md +++ b/apix-pwm-example/README.md @@ -12,6 +12,8 @@ The PWM lines used in this example are mapped as follows in the Digi boards: - **ConnectCore MP13 DVK**: MikroBus PWM channel 8 - PIN **1** of the MikroBus connector (J31). Need to add the overlay _ov_board_pwm8_ccmp13-dvk.dtbo - **ConnectCore MP15 DVK**: MikroBus PWM channel 4 - PIN **1** of the MikroBus connector (J31). - **ConnectCore MP25 DVK**: MikroBus PWM channel 4 - PIN **1** of the MikroBus connector (J40). + - **ConnectCore 93 DVK**: PWM0 channel 1 shared with LVDS backlight. Need to disable LVDS and enable the PWM channel in the DTB. + - **ConnectCore 91 DVK**: PWM0 channel 1 shared. - **ConnectCore 8M Mini DVK**: MCA PWM0 channel 2 connected to the LED1. - **ConnectCore 8M Nano DVK**: MCA PWM0 channel 2 connected to the LED1. - **ConnectCore 8X SBC Pro**: MCA PWM2 channel 0 - Pin **A3** of the Expansion connector (J20). diff --git a/apix-spi-example/README.md b/apix-spi-example/README.md index b7b9426..15cfe32 100644 --- a/apix-spi-example/README.md +++ b/apix-spi-example/README.md @@ -32,6 +32,20 @@ The SPI connections for this example depends on the running platform: - SPI-0 MISO: 5 - SPI-0 MOSI: 6 - SPI-0 SS0: 3 + - **ConnectCore 91 DVK**: MikroBus connector (J39). + - VCC: Pin 7 + - GND: Pin 8 + - SPI-8 CLK: 4 + - SPI-8 MISO: 5 + - SPI-8 MOSI: 6 + - SPI-8 SS0: 3 + - **ConnectCore 93 DVK**: MikroBus connector (J39). + - VCC: Pin 7 + - GND: Pin 8 + - SPI-8 CLK: 4 + - SPI-8 MISO: 5 + - SPI-8 MOSI: 6 + - SPI-8 SS0: 3 - **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27). - VCC: Pin D1 - GND: Pin C1 diff --git a/samples-manifest.xml b/samples-manifest.xml index b3b1052..fa312d3 100644 --- a/samples-manifest.xml +++ b/samples-manifest.xml @@ -18,6 +18,7 @@ application takes periodic samples and prints the raw value and the value in mv. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -41,6 +42,7 @@ reception using the selected baudrate. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -65,6 +67,7 @@ whenever an interrupt is generated in the input GPIO. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -88,6 +91,7 @@ Afterward, it reads the data back to validate it (tested with 24FC1026). ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -133,6 +137,7 @@ vice-versa. ccimx8x-sbc-pro ccimx8mn-dvk ccimx8mm-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -156,6 +161,7 @@ the page size and the address size in bytes. ccimx8x-sbc-express ccimx8x-sbc-pro ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -180,6 +186,7 @@ then the device will reboot automatically after the timeout expires. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -251,6 +258,7 @@ When this request arrives the application sends back the current time. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -276,6 +284,7 @@ The uploads takes place every 10 new samples, that is every 50 seconds. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -300,6 +309,7 @@ to stream `binary_dp`. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk @@ -321,6 +331,7 @@ Example application to enable/disable maintenance status. ccimx8mn-dvk ccimx8mm-dvk ccimx93-dvk + ccimx91-dvk ccmp15-dvk ccmp13-dvk ccmp25-dvk