This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Having problem with E-paper when using virtual usb port

Hello I'm using STM32L0538 - Disco board. I have problem with E-paper when on SMT32Cube program putting virtual port.

When I don't use virtual port E-paper working fine.

This is the code:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "stm32l0538_discovery_epd.h"
#include "stm32l0538_discovery.h"
#include "main.h"
#include "stm32l0xx_hal.h"
#include "usb_device.h"
#include "usbd_cdc_if.h"
ADC_HandleTypeDef hadc;
DMA_HandleTypeDef hdma_adc;
SPI_HandleTypeDef hspi1;
UART_HandleTypeDef huart1;
DMA_HandleTypeDef hdma_usart1_tx;
float Voltage;
int kazkas;
uint8_t Mygtukas;
float J_termoporos_temperatura, K_termoporos_temperatura;
uint32_t ADC_Value;
static uint8_t m[30], temp[30], volt[30], vidurk[30];
uint8_t ADC_flag = 0, Tx_flag = 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Maybe somebody know the problem why E-paper is not working? It will be helpful.

Cube photo(Middleware):

Connectivity:

0