From 7b617dc12a7c5c830739f9ab65490df43d0cf3be Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Wed, 21 Dec 2022 18:06:24 +0100 Subject: [PATCH 1/3] ccmp13: add support for the ccmp13 platform Signed-off-by: Francisco Gil --- apix-adc-example/README.md | 1 + apix-can-examples/README.md | 5 +++++ apix-gpio-example/README.md | 3 +++ apix-i2c-example/README.md | 5 +++++ apix-pwm-example/README.md | 1 + apix-spi-example/README.md | 7 +++++++ samples-manifest.xml | 9 +++++++++ 7 files changed, 31 insertions(+) diff --git a/apix-adc-example/README.md b/apix-adc-example/README.md index 1ac91d3..7293fdd 100644 --- a/apix-adc-example/README.md +++ b/apix-adc-example/README.md @@ -7,6 +7,7 @@ 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 MP13 DVK**: ADC1_INP14 (MikroBus socket, J31, Pin 1). - **ConnectCore MP15 DVK**: AN0 (GPIO connector, J41, Pin 4). - **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. diff --git a/apix-can-examples/README.md b/apix-can-examples/README.md index 9cacec4..a654bcc 100644 --- a/apix-can-examples/README.md +++ b/apix-can-examples/README.md @@ -14,6 +14,11 @@ the ID and print in the console. The CAN interface for this example depends on the running platform: + - **ConnectCore MP13 DVK**: CAN connector of the board (J33). + - 5V: Pin 1 + - CAN1_H: Pin 2 + - CAN1_L: Pin 3 + - GND: Pin 4 - **ConnectCore MP15 DVK**: CAN connector of the board (J33). - 5V: Pin 1 - CAN1_H: Pin 2 diff --git a/apix-gpio-example/README.md b/apix-gpio-example/README.md index 87eb943..d524dc3 100644 --- a/apix-gpio-example/README.md +++ b/apix-gpio-example/README.md @@ -9,6 +9,9 @@ whenever an interrupt is generated in the input GPIO. The GPIOs lines used in this example are mapped as follows in the Digi boards: + - **ConnectCore MP13 DVK**: + - User button: GPIOA,13 (User Button 1 in the board) + - User led: GPIOG,0 (ULED in the board) - **ConnectCore MP15 DVK**: - User button: GPIOA,13 (User Button 1 in the board) - User led: GPIOC,3 (ULED in the board) diff --git a/apix-i2c-example/README.md b/apix-i2c-example/README.md index 1bb23ac..414226c 100644 --- a/apix-i2c-example/README.md +++ b/apix-i2c-example/README.md @@ -8,6 +8,11 @@ Afterward, it reads the data back to validate it (tested with 24FC1026). The I2C connections for this example depend on the running platform: + - **ConnectCore MP15 DVK**: MikroBus connector (J31). + - VCC: Pin 7 + - GND: Pin 8 + - I2C-2 SDA: Pin 6 + - I2C-2 SCL: Pin 5 - **ConnectCore MP15 DVK**: MikroBus connector (J31). - VCC: Pin 7 - GND: Pin 8 diff --git a/apix-pwm-example/README.md b/apix-pwm-example/README.md index bc2653f..be63cb7 100644 --- a/apix-pwm-example/README.md +++ b/apix-pwm-example/README.md @@ -9,6 +9,7 @@ vice-versa. 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 8M Mini DVK**: MCA PWM0 channel 2 connected to the LED1. - **ConnectCore 8M Nano DVK**: MCA PWM0 channel 2 connected to the LED1. diff --git a/apix-spi-example/README.md b/apix-spi-example/README.md index 4a93022..c666509 100644 --- a/apix-spi-example/README.md +++ b/apix-spi-example/README.md @@ -11,6 +11,13 @@ the page size and the address size in bytes. The SPI connections for this example depends on the running platform: + - **ConnectCore MP13 DVK**: MikroBus connector (J30). + - VCC: Pin 7 + - GND: Pin 8 + - SPI-0 CLK: 4 + - SPI-0 MISO: 5 + - SPI-0 MOSI: 6 + - SPI-0 SS0: 3 - **ConnectCore MP15 DVK**: MikroBus connector (J30). - VCC: Pin 7 - GND: Pin 8 diff --git a/samples-manifest.xml b/samples-manifest.xml index 5155e7c..be213a7 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 ccmp15-dvk + ccmp13-dvk @@ -38,6 +39,7 @@ reception using the selected baudrate. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -59,6 +61,7 @@ whenever an interrupt is generated in the input GPIO. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -79,6 +82,7 @@ Afterward, it reads the data back to validate it (tested with 24FC1026). ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -99,6 +103,7 @@ frequencies, and governors. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -120,6 +125,7 @@ vice-versa. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -140,6 +146,7 @@ the page size and the address size in bytes. ccimx8x-sbc-express ccimx8x-sbc-pro ccmp15-dvk + ccmp13-dvk @@ -161,6 +168,7 @@ then the device will reboot automatically after the timeout expires. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk @@ -181,6 +189,7 @@ GATT services and characteristics. ccimx8mn-dvk ccimx8mm-dvk ccmp15-dvk + ccmp13-dvk From 81a057207e37ba4b54fcdd468720b66fc2f435e9 Mon Sep 17 00:00:00 2001 From: Tatiana Leon Date: Mon, 27 Feb 2023 17:14:21 +0100 Subject: [PATCH 2/3] connectcore-demo-example: add support for ccmp133-dvk in the network page ConnectCore MP13 DVK was not added to the network page when it was created (commit 4f9717a2d3a3807bff221c9c321d3d7223f3eb78) This commit is similar to 252c3544cbd005a30b9a2cb537029dcf682dadee. Signed-off-by: Tatiana Leon --- connectcore-demo-example/network.html | 1 + 1 file changed, 1 insertion(+) diff --git a/connectcore-demo-example/network.html b/connectcore-demo-example/network.html index f88fc2d..950e440 100644 --- a/connectcore-demo-example/network.html +++ b/connectcore-demo-example/network.html @@ -446,6 +446,7 @@ Digi Demo - Network + From 352fabc24d1fa2e389be57ea21f65e3b3f86121e Mon Sep 17 00:00:00 2001 From: David Escalona Date: Wed, 8 Mar 2023 09:35:50 +0100 Subject: [PATCH 3/3] connectcore-demo-example: enable audio in ccimx8m-mini and ccimx8m-nano Signed-off-by: David Escalona --- connectcore-demo-example/static/js/ccimx8m-nano.js | 2 +- connectcore-demo-example/static/js/ccimx8mm-dvk.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connectcore-demo-example/static/js/ccimx8m-nano.js b/connectcore-demo-example/static/js/ccimx8m-nano.js index 340c625..1a3f802 100644 --- a/connectcore-demo-example/static/js/ccimx8m-nano.js +++ b/connectcore-demo-example/static/js/ccimx8m-nano.js @@ -97,7 +97,7 @@ class CCIMX8MNANO extends ConnectCoreDevice { VIDEO_COMPONENT_AREA_WIDTH_PERCENT = 6; VIDEO_COMPONENT_AREA_HEIGHT_PERCENT = 8; - AUDIO_COMPONENT_VISIBLE = false; + AUDIO_COMPONENT_VISIBLE = true; AUDIO_COMPONENT_HAS_PANEL = true; AUDIO_COMPONENT_HAS_ARROW = true; AUDIO_COMPONENT_PANEL_ALWAYS_VISIBLE = false; diff --git a/connectcore-demo-example/static/js/ccimx8mm-dvk.js b/connectcore-demo-example/static/js/ccimx8mm-dvk.js index ca1405a..2bb21bb 100644 --- a/connectcore-demo-example/static/js/ccimx8mm-dvk.js +++ b/connectcore-demo-example/static/js/ccimx8mm-dvk.js @@ -97,7 +97,7 @@ class CCIMX8MMINI extends ConnectCoreDevice { VIDEO_COMPONENT_AREA_WIDTH_PERCENT = 6; VIDEO_COMPONENT_AREA_HEIGHT_PERCENT = 8; - AUDIO_COMPONENT_VISIBLE = false; + AUDIO_COMPONENT_VISIBLE = true; AUDIO_COMPONENT_HAS_PANEL = true; AUDIO_COMPONENT_HAS_ARROW = true; AUDIO_COMPONENT_PANEL_ALWAYS_VISIBLE = false;