Commit Graph

40 Commits

Author SHA1 Message Date
Meco Man 7ecba50ff6 format stm32 drivers 2023-01-08 22:52:13 -05:00
liYangYang 7c05d8517c
[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 (#6819)
* [spi]attach 片选引脚依赖pin框架
* 修改attach函数
2023-01-07 23:03:42 -05:00
wdfk-prog fa7c1db768 [stm32][spic]修改SPI TX DMA中断优先级
* 原先中断优先级不生效
2022-12-24 15:12:30 -05:00
wdfk-prog 0a6ffce446
[STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数 (#6745)
* [STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数

* 规范代码格式
2022-12-16 02:10:42 -05:00
wdfk-prog 63e7633246
[STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动 (#6741)
* [STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动
* H7下SPI时钟不再为外设总线时钟频率
* H7下DMA驱动需要进行CacheLine对齐
2022-12-15 01:05:56 -05:00
liYangYang e3a09b2791
[STM32][SPI]优化APBx时钟配置代码 (#6698)
* [STM32][SPI]优化APBx时钟配置代码
2022-12-06 12:52:37 -05:00
linshire e01776ea76 将驱动文件中判断RT_USING_XXX改为BSP_USING_XXX,解决了部分框架层与驱动层的混用 2022-10-27 18:30:08 -04:00
BreederBai 3a9152c5fe
[bsp/stm32] 将spi DMA传输更改为阻塞线程方式 (#6513)
* [bsp/stm32] 将spi DMA传输更改为阻塞线程方式

* Update bsp/stm32/libraries/HAL_Drivers/drv_spi.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-10-17 15:52:03 -04:00
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
Meco Man 73236a825c [stm32][spi] remove hardware NSS 2022-05-09 09:57:22 +08:00
blta d52ad69d6f
[BSP] judge the SPI instances before operating (#5874) 2022-04-26 13:26:28 +08:00
blta 35e266cb2e [bsp/stm32] select the input clk of spi based on SPI instances 2022-04-11 17:33:02 +08:00
qinge 81b84ab166 完善了STM32H7系列SPI使用DMA的驱动
1.使能DMA时钟的条件编译中加入了STM32H7
2.添加STM32H7 "spi_config" 中的request字段
3.DMA初始化FiFo相关的初始化的条件编译选项中加入STM32H7
2021-12-10 15:30:30 +08:00
LiuKang 93792b2c84
Update drv_spi.c 2021-10-11 17:45:37 +08:00
liukangcc 3c32e0168d [drv_spi.c] 修复 stm32 drv_spi.c文件中的 spixfer 未实现片选为高电平的 spi 设备 2021-10-11 17:13:33 +08:00
YJIE_1998 53a4074f0b i# This is a combination of 3 commits.
【修改】format
2021-08-10 13:06:10 +08:00
wanghaijing 5b7dac8c8e [add] spi config increases irq_type 2021-04-23 09:55:31 +08:00
Meco Man fc04d828ee [stm32][driver] auto formatted 2021-03-08 22:40:39 +08:00
Dozingfiretruck af1e92e661 stm32wb 2020-10-14 15:03:33 +08:00
thread-liu 2fcd940b57 [update] add drivers for stm32mp1. 2020-06-23 11:26:11 +08:00
armink 673662656a [BSP][stm32] Add 3 wires SPI driver support. 2020-06-13 11:58:28 +08:00
thread-liu 3496017c84 [update] spi nss type 2020-05-15 15:07:19 +08:00
Jianjia Ma 24bc2560ef
Fix bug cause HAL SPI timeout
The bug affects in SPI mode 1 (probably and mode 2)
When changing SPI device, HAL returns timeout error for the first time trying to read/write.
2020-04-13 10:50:55 +01:00
whj4674672 f117df8476 Porting for stm32h7xx spi 2020-01-15 14:31:40 +08:00
yangjie 30491ddd73 [bsp][stm32]修改drv_spi.c中的tab为空格 2019-07-27 18:11:46 +08:00
yangjie 35cd668cf7 [bsp][stm32/libraries/HAL_Drivers] F0 系列支持SPI,并修复DMA中断函数重复定义 2019-07-19 14:59:21 +08:00
misonyo aae6274ef1 [bsp/stm32]add stm32f2xx template 2019-06-18 18:26:49 +08:00
guanwenliang 9a9a7b3593 STM32G071 BSP对SPI和UART DMA读写的支持 2019-02-15 16:44:51 +08:00
guanwenliang 7b53218720 完善STM32G071的BSP 2019-02-15 10:43:09 +08:00
SummerGift e9a6050e61 [bsp][stm32] Fixed an error when SPI transfers data larger than 65535 2019-01-19 14:31:30 +08:00
SummerGift 688d8994d9 [bsp][stm32] update drv_spi.c 2019-01-08 14:00:01 +08:00
SummerGift 574492a282 [bsp][stm32] Modify the DMA implementation 2019-01-08 11:59:27 +08:00
SummerGift c6be644157 [bsp][stm32] update stm32 mul-series drivers 2018-12-26 10:43:46 +08:00
Hao Zhu 774dd42a4a [bsp] [stm32] 修改f7系列DMA时钟 添加SD卡适配 2018-12-21 13:03:37 +08:00
Hao Zhu ec93984094 [bsp] [stm32] 更新spi usart的时钟设置 更新脚本设置 2018-12-21 11:17:32 +08:00
Hao Zhu 9890034242 [bsp][stm32][stm32f767] 移植qspi 2018-12-12 16:49:27 +08:00
Hao Zhu 819c7d8929 [bsp][stm32][stm32f767] 修改一系列错误 2018-12-12 09:00:48 +08:00
Hao Zhu b9b05fff4b [bsp][stm32][stm32f767] 移植片内flash驱动
补全了必要的hal库,stm32f767-fire的sram大小更正为512
2018-12-11 22:53:25 +08:00
SummerGift 5cbe222196 [bsp][STM32] update stm32 bsp 2018-11-30 18:29:59 +08:00
SummerGift 739b2ba51c [bsp][STM32] Add bsp based on new framework 2018-11-29 17:06:06 +08:00