This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
我有 MSP432P401R 和 BOOSTXL-EDUMKII。 我无法通过将要显示在 MKII 上的 UART 将图像从 PC 发送到 MSP432。 MKII 具有一个128x128显示屏。 我有一个位图图像、其颜色深度为256K、以128x128数组表示。 我在将 DriverLib 和寄存器级别中的阵列形式的映像发送到电路板时遇到问题。 这是可行的吗?
您好 Kridstopher、
是的、这是可能的。 我们建议您在 dev.ti.com 上查阅许多资源,包括 SDK 用户指南、库、实用程序、软件示例和 SimpleLink Academy 培训模块。
以下是使用 MSP432和 BOOSTXL-EDUMKII 的演示项目: http://dev.ti.com/tirex/explore/node?node=APxIJQJwn4jim9wefowLvw__z-lQYNj__LATEST
感谢您的观看和考虑。
BR、
Alexis
谢谢你。 我找不到任何使用要显示的图像的示例、我只找到了使用文本或行的示例。
你遇到了什么麻烦?
这方面可能没有指导手册的答案、您必须自行滚动。
由于 MSP432P401R 不会过滤掉二进制数据、因此按原样发送字节可能是安全的。 即、您可能不需要 UEncode。
因此、向 MSP432P401R 发送命令、将其置于"接收图形状态"、并让 Rx 中断将所有数据存储在缓冲区中、然后在缓冲区已满时发出信号
有趣。 什么命令会将其置于"接收图形状态"?
在 MSP432P401R 接收到 rxbuffer 中的数据后、似乎我会使用:
void Graphics_drawImage (const Graphics_context * context、
const Graphics_Image *位图、
int16_t x、
int16_t y
)
或者?
void Graphics_drawMultiplePixelsOnDisplay (const Graphics_Display * display、
uint16_t x、
uint16_t y、
uint16_t x0、
uint16_t 计数、
uint16_t bpp、
const uint8_t * data、
const uint32_t *调色板
)
rxbuffer 不能一次保存所有数据、即128x128数组(位图图像)、对吧? 如何在 _drawMultiplePixelsOnDisplay 函数中指向 rxbuffer 数据? 我找不到太多关于这个小程序的信息