SPI in STM32 interfacing ADXL 345 || LCD || CubeMX || HAL || SW4STM

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор

Thank you for the video, it was very helpful and it flowed very nicely :)

marcoesposito
Автор

So if the slave device is Mode 2 (CPOL=1, CPHA=0), which latches MISO on the Leading/Falling edge, however Stm32CubeIde only uses the terms '1 or 2 edge'?

Also, if you set the IDE to transfer 12 bits, then when you call
HAL_SPI_Receive(*hspi, cbuff, 1, timeout),
then the 'length parameter is the number of 12-bit *elements*.. i.e. setting to 1 yields 12 SCLKs?

Finally, is it possible to use the DMA such that it's continuously getting data from the Adxl and saving it to a location, where the CPU can always retrieve the latest? I found a question on the Microtechnics forum by fastbitlab ('SPI does not seem to work with DMA') but haven't seen any examples of this working.

bennguyen
Автор

Hello i try duplicate this project on STM32H7 using SPI, but was only able to show X, Y, Z all 0 values, could you please help?

woldecosgrove
Автор

Can you explain how you can send dummy data and get garbage data via "Hal Function " ?

fatihe.
Автор

thx for this Video. I have a quetion: how can i send data of SHT31 Sensor in Transceiver CC1101 and then to another CC1101 ?

samiratalebi
Автор

I am trying to follow your code but my output is always 0. I am confused with one thing? what to do with the nss pin of the stm32 master?

ankitchanda
Автор

Which IDE you are using for this programming.

gunasekaranmuthusamy
Автор

Sir, I downloaded the code from the description and I tried to run the code using stm32f411re board. And I am getting an error on the RCC_oscillator_PLLR. can you say how to overcome from that error..

saikrishnakaruturi
Автор

Hey, can I implement it on STM32F103C8 bluepill board?

harsheshshah
Автор

why did we enable multi byte in write operation?

barisunsal-vfgn
Автор

Nice job, how can I get LCD i2c header and source files for stm32 ?

eng.shh
Автор

common man how could you put music for kids as a background sound?

Theo-ke