Git Product home page Git Product logo

32f746gdiscovery-bsp's Introduction

STMicroelectronics

Description of STMicroelectronics GitHub

32f746gdiscovery-bsp's People

Contributors

aselstm avatar rkoustm avatar stmicroelectronics-github avatar tounstm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

32f746gdiscovery-bsp's Issues

BSP_LCD_DrawBitmap() doesn't account for padding

Describe the set-up

  • Board: STM32F746G-DISCO
  • STM32Cube_FW_F7_V1.17.1

Describe the bug (skip if none)

The BSP_LCD_DrawBitmap function doesn't account for the padding at the end of each line in the pixel array of bitmap images.

This causes the image to 'slip' with bitmaps that have padding to make each line 4 byte aligned, as can be seen in the following posts:

How to reproduce the bug (skip if none)

Use BSP_LCD_DrawBitmap() with a bitmap image that has padding (e.g. RGB888 and a width of 93px)

HAL_QSPI issue run in RTOS Task.

Currently i have issue with QSPI when use inside freeRTOS. I send command interrupt by use method (This is example code generate from cubemx) I try to use on with freeRTOS task and wait for interrupt event by semaphore

/* Erasing Sequence -------------------------------------------------- */
sCommand.Instruction = SECTOR_ERASE_CMD;
sCommand.AddressMode = QSPI_ADDRESS_1_LINE;
sCommand.Address = address;
sCommand.DataMode = QSPI_DATA_NONE;
sCommand.DummyCycles = 0;

if (HAL_QSPI_Command_IT(&hqspi, &sCommand) != HAL_OK) {
Error_Handler();
}

Then the QSPI interrupt callback continuous on method:

void QUADSPI_IRQHandler(void)
{
  /* USER CODE BEGIN QUADSPI_IRQn 0 */

  /* USER CODE END QUADSPI_IRQn 0 */
  HAL_QSPI_IRQHandler(&hqspi);
  /* USER CODE BEGIN QUADSPI_IRQn 1 */

  /* USER CODE END QUADSPI_IRQn 1 */
}

The HAL_QSPI_IRQHandler do not jump to any method bellow:

void HAL_QSPI_CmdCpltCallback(QSPI_HandleTypeDef *hqspi) {
	CmdCplt++;
}
/**
 * @brief  Rx Transfer completed callbacks.
 * @param  hqspi: QSPI handle
 * @retval None
 */
void HAL_QSPI_RxCpltCallback(QSPI_HandleTypeDef *hqspi) {
	RxCplt++;
}

/**
 * @brief  Tx Transfer completed callbacks.
 * @param  hqspi: QSPI handle
 * @retval None
 */
void HAL_QSPI_TxCpltCallback(QSPI_HandleTypeDef *hqspi) {
	TxCplt++;
}

/**
 * @brief  Status Match callbacks
 * @param  hqspi: QSPI handle
 * @retval None
 */
void HAL_QSPI_StatusMatchCallback(QSPI_HandleTypeDef *hqspi) {
	StatusMatch++;
}

Dose QSPI_HAL supported to run with RTOS?
or Are there any way to solved this issue?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.