Dear All,
I'm stuck with the following task:
Would like to send 3 fixed byte value to the SPI bus but ~1000 times sequence (without for loop or large buffer if possible).
Is it possible somehow with circular DMA or any other clever / efficient way?
Please advise.
Many thanks
Zoltan
Search found 3 matches
- Wed Aug 02, 2023 8:05 pm
- Forum: ChibiOS/HAL
- Topic: STM32F4 SPI Circular transfer
- Replies: 1
- Views: 25637
- Sun Nov 20, 2022 5:59 pm
- Forum: Bug Reports
- Topic: Bug in STM32 hal_spi_v2_lld.c
- Replies: 3
- Views: 3274
Re: Bug in STM32 hal_spi_v2_lld.c
Hi Giovanni,
Yes, I can confirm it is working perfectly!
Also clock line remain high after transfer, as it should.
Thanks for your quick action!
Regards
Zoltan
Yes, I can confirm it is working perfectly!
Also clock line remain high after transfer, as it should.
Thanks for your quick action!
Regards
Zoltan
- Thu Nov 10, 2022 12:23 pm
- Forum: Bug Reports
- Topic: Bug in STM32 hal_spi_v2_lld.c
- Replies: 3
- Views: 3274
Bug in STM32 hal_spi_v2_lld.c
Hi,
The bug exist in ChibiOS 21.11.2 at the following conditions
- Chibistudio 2022-01 with GCC 9.2.1.
- STM32F103
Bug visible when CPOL=1
on STM32 SPI clock line (SCK) is indefinit/tristate when SPI not enabled (SPE bit 0)
In the new v2 driver SPI is only enabled (SPE=1) during communication ...
The bug exist in ChibiOS 21.11.2 at the following conditions
- Chibistudio 2022-01 with GCC 9.2.1.
- STM32F103
Bug visible when CPOL=1
on STM32 SPI clock line (SCK) is indefinit/tristate when SPI not enabled (SPE bit 0)
In the new v2 driver SPI is only enabled (SPE=1) during communication ...