cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeF1 Firmware Package V1.8.6 和STM32CubeF1 Firmware Package V1.8.5有什么区别

白茶清欢
Associate II

本人在实践过程中遇到一个问题。项目中需要用到外置flash芯片-W25q128。本人计划用f103C8T6的SPI2、DMA去通讯。用的是cube生成的工程文档。
第一次用的是STM32CubeF1 固件包 v1.8.6。串口打印不出flash芯片的ID号,串口发送0x0。
花了一天检查,最后用STM32CubeF1 Firmware Package v1.8.5。串口打印成功了,falsh芯片的ID 号为0xEF17.
image.png

 

image.png

 

image.png

 

image.png

 

请问这2个版本的包中对SPI2和DMA有啥异同吗?

4 REPLIES 4
KDJEM.1
ST Employee

Hello @白茶清欢;

 

I've translated your question with a web-based translation tool to increase the chances that you will get an answer from our experts and community members, as the majority communicate in English:

I encountered a problem during the practice. The project needs to use an external flash chip-W25q128. I plan to use the SPI2 and DMA of f103C8T6 for communication.

I used the project document generated by cube. The first time I used STM32CubeF1 firmware package v1.8.6. The serial port cannot print the ID number of the flash chip, and the serial port sends 0x0.

I spent a day checking and finally used STM32CubeF1 Firmware Package v1.8.5. The serial port printing was successful, and the ID number of the flash chip was 0xEF17.

Is there any difference between SPI2 and DMA in these two versions of the package?

 

Could you please share your project?

 

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

你好 Kaouthar:

抱歉,由于保密要求,我不能分享项目,但我可以分享我的 w25q128.c 和 .h 文件。

PA8 是 CS 的软件

Sorry, I can't share the project due to confidentiality requirements, but I can share my w25q128.c and.h files.

PA8 is CS software

KDJEM.1
ST Employee

Hello @白茶清欢;

 

Thank you for updating post.

For the main changes in STM32CubeF1 1.8.6 firmware, I recommend you to take a look to STM32CubeF1 release notes.

KDJEM1_0-1743065884923.png

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.