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

  Рет қаралды 22,685

ControllersTech

ControllersTech

6 жыл бұрын

Purchase the Products shown in this video from :: controllerstech.store
________________________________________________________________________________________
To download the code, goto:- controllerstech.com/how-to-us...
Intercae ADXL in I2C mode:- • ADXL345 with STM32 || ...
Check out more VIDEOS on SPI with STM32 • STM32 SPI
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/controllertech
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controllerstechdiscuss
Follow me on Instagram / controllerstech
For more info, visit www.controllerstech.com

Пікірлер: 25
@marcoesposito2915
@marcoesposito2915 4 жыл бұрын
Thank you for the video, it was very helpful and it flowed very nicely :)
@pusatberk4193
@pusatberk4193 6 жыл бұрын
great, tahank you so much
@peterlucamalinverni3349
@peterlucamalinverni3349 4 жыл бұрын
Beautiful music
@bennguyen1313
@bennguyen1313 4 жыл бұрын
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.
@elenaextasy8729
@elenaextasy8729 9 ай бұрын
You're my idol
@fatihe.1338
@fatihe.1338 3 жыл бұрын
Can you explain how you can send dummy data and get garbage data via "Hal Function " ?
@woldecosgrove
@woldecosgrove 6 ай бұрын
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?
@samiratalebi7803
@samiratalebi7803 5 жыл бұрын
thx for this Video. I have a quetion: how can i send data of SHT31 Sensor in Transceiver CC1101 and then to another CC1101 ?
@ControllersTech
@ControllersTech 5 жыл бұрын
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
@ankitchanda8878
@ankitchanda8878 3 жыл бұрын
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?
@ControllersTech
@ControllersTech 3 жыл бұрын
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)
@gunasekaranmuthusamy8677
@gunasekaranmuthusamy8677 4 жыл бұрын
Which IDE you are using for this programming.
@ControllersTech
@ControllersTech 4 жыл бұрын
This one was SW4STM. Although i don't use it anymore. Use cubeide
@saikrishnakaruturi2958
@saikrishnakaruturi2958 Жыл бұрын
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..
@ControllersTech
@ControllersTech Жыл бұрын
Do not run the project. Create a new project for your board, then just follow the video.
@harsheshshah404
@harsheshshah404 Жыл бұрын
Hey, can I implement it on STM32F103C8 bluepill board?
@ControllersTech
@ControllersTech Жыл бұрын
Yes
@eng.shh80
@eng.shh80 3 жыл бұрын
Nice job , how can I get LCD i2c header and source files for stm32 ?
@ControllersTech
@ControllersTech 3 жыл бұрын
Download the code from the link in the description
@eng.shh80
@eng.shh80 3 жыл бұрын
@@ControllersTech Done , Thank you :)
@barisunsal-vf7gn
@barisunsal-vf7gn 3 ай бұрын
why did we enable multi byte in write operation?
@ControllersTech
@ControllersTech 3 ай бұрын
Please mention the time where you have the doubt.
@barisunsal4686
@barisunsal4686 3 ай бұрын
​@ControllersTech 6.08 looks like write function is kind of general(for both single and multi byte write)
@Theo005-k5e
@Theo005-k5e Жыл бұрын
common man how could you put music for kids as a background sound?
@mrdouble
@mrdouble 11 ай бұрын
LOL The Farmer and the Dell?
Receive data using UART in STM32 || Poll || Interrupt || DMA
14:07
ControllersTech
Рет қаралды 122 М.
STOP MODE in STM32 || CubeIDE || Low Power Mode
19:25
ControllersTech
Рет қаралды 23 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 47 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 55 МЛН
SSD1306 OLED and STM32 || 128x64 || SW4STM || CubeMX
14:22
ControllersTech
Рет қаралды 51 М.
How to Interface  The ILI9341 TFT display with STM32 using SPI Communication
5:44
ADXL345 with STM32 || I2C || OLED || CubeMx || Keil || HAL library
18:14
SPI: The serial peripheral interface
33:00
Ben Eater
Рет қаралды 671 М.
Blue-pill STM32 Programming Using ST-LINK V2 Dongle
7:53
0033mer
Рет қаралды 234 М.
SPI peripheral with STM32 and PCM1792 audio DAC | VIDEO27
47:46
Matej Blagšič
Рет қаралды 11 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 5 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00