SPI in STM32 interfacing ADXL 345 || LCD || CubeMX || HAL || SW4STM
HTML-код
- Опубликовано: 15 окт 2024
- Purchase the Products shown in this video from :: controllerstec...
________________________________________________________________________________________
Intercae ADXL in I2C mode:- • ADXL345 with STM32 || ...
Check out more VIDEOS on SPI with STM32 • STM32 SPI
To download the code and for detailed description, goto:- controllerstec...
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/cont...
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controlle...
Follow me on Instagram / controllerstech
For more info, visit www.controller...
Very simple and useful, thank u very mutch
Thank you for the video, it was very helpful and it flowed very nicely :)
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?
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.
Can you explain how you can send dummy data and get garbage data via "Hal Function " ?
thx for this Video. I have a quetion: how can i send data of SHT31 Sensor in Transceiver CC1101 and then to another CC1101 ?
I recommend that you read the datasheet. It has the SPI mode, so you can use SPI for the communication. But all the register related information, you will get from the datasheet itself
Which IDE you are using for this programming.
This one was SW4STM. Although i don't use it anymore. Use cubeide
Hey, can I implement it on STM32F103C8 bluepill board?
Yes
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?
leave the nss alone. I personally don't use it since I am always using the master mode. Make sure you have selected a pin for CS (Chip Select)
why did we enable multi byte in write operation?
Please mention the time where you have the doubt.
@ControllersTech 6.08 looks like write function is kind of general(for both single and multi byte write)
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..
Do not run the project. Create a new project for your board, then just follow the video.
Nice job , how can I get LCD i2c header and source files for stm32 ?
Download the code from the link in the description
@@ControllersTech Done , Thank you :)
common man how could you put music for kids as a background sound?
LOL The Farmer and the Dell?
Beautiful music
great, tahank you so much
You're my idol