How to Write Basic Library for NRF24L01 PART 1 || Common configuration || STM32 SPI

  Рет қаралды 32,375

ControllersTech

ControllersTech

Күн бұрын

Пікірлер: 41
@noahpage4839
@noahpage4839 2 жыл бұрын
Thank you so much. I was in the middle of writing my own library for the NRF24L01+ to be used on an SAMV71Q21 when I stumbled upon this. Super useful, served as a great sanity check to make sure what I was doing made sense.
@Andrei424M
@Andrei424M 3 жыл бұрын
Excelent Video! One word of warning regarding the HAL_SPI functions. I have made a project with a STM32L432KC device, in HAL Library, and after a deeper analysis I found out that the SPI functions are simply... not optimized AT ALL. I was supposed to transfer larged amounts of data in a shorter time. If you ever experience bottlenecks on a SPI bus, this may be due to the long code that the functions execute. In case this happens, do a simple experiment: Make a continuous SPI transmission and put an Oscilloscope (Or logic analyzer) on the bus. If you notice abnormal spaces between the data bursts, there is the issue. It may happen on lower end SMT32's, so I thought it may be a useful info.
@Xinurval
@Xinurval 2 жыл бұрын
Thanks!
@edvinass3804
@edvinass3804 Жыл бұрын
Thank you!
@HighfireX
@HighfireX 2 жыл бұрын
I want to thank you for explaining how to write a library instead of getting it to work with existing libraries. Reading the data specs by myself is confusing but your instructions are helping.
@lamle4390
@lamle4390 Жыл бұрын
Thank you so much. This tutorial is very very useful. Hope you make video about zigbee and lora module
@FCUK284
@FCUK284 2 жыл бұрын
Marvellous. First of its kind. Thank you so much.
@BlackXeno
@BlackXeno 3 жыл бұрын
I am still not sure, is the voice made with some software, or is he speaking so well and regular like that? :D
@mustafaozcelik7561
@mustafaozcelik7561 3 жыл бұрын
he also may be an english teacher:)
@韦皓然
@韦皓然 10 ай бұрын
Thanks a lot,where can I see shockbrust mode of NRF2401?
@manisrinivas_hyd
@manisrinivas_hyd 3 жыл бұрын
Good video, very informative and useful. Thank you brother
@fisikamodern5209
@fisikamodern5209 Жыл бұрын
so that the nrf24l01 transmit code works well, do you have to assemble the code and the nrf24l01 receive circuit first?
@toorikul
@toorikul 2 ай бұрын
thank you sir
@chetan10jr
@chetan10jr 10 ай бұрын
can you please make video with enhance shock burst in NRF24l01 and along with auto acknowledgement with stm32 ?
@eduardodelarosaferrer2205
@eduardodelarosaferrer2205 3 жыл бұрын
Very useful as usual
@shivamnarula1601
@shivamnarula1601 10 ай бұрын
can anybody explain why fifth bit is 1 in buf regester 11:40
@韦皓然
@韦皓然 10 ай бұрын
from the datasheet,we can see that all the command has 1 in fifth bit except the first command.
@MANNEPALLIPOOJITHE
@MANNEPALLIPOOJITHE Жыл бұрын
Can this procedure used to write for nucleoG4 board
@ControllersTech
@ControllersTech Жыл бұрын
It can be used in any controller which have the SPI peripheral.
@MANNEPALLIPOOJITHE
@MANNEPALLIPOOJITHE Жыл бұрын
@@ControllersTech but you used hal to transmit and receive the data and the peripherals and registers are different
@ControllersTech
@ControllersTech Жыл бұрын
All ST boards can use HAL in the similar way. Things changes if you are trying to program using registers.
@MANNEPALLIPOOJITHE
@MANNEPALLIPOOJITHE Жыл бұрын
@@ControllersTech thank you very much
@MANNEPALLIPOOJITHE
@MANNEPALLIPOOJITHE Жыл бұрын
Can any one help me i am writing my own hal library for spi
@eXtremeElectronics
@eXtremeElectronics Жыл бұрын
Super!
@gsuresh2u
@gsuresh2u 3 жыл бұрын
Hi, good information, is this library supports Black pill? STM32F411CE or STM32F401CC? Please suggest some suitable library
@ControllersTech
@ControllersTech 3 жыл бұрын
By asking this question you are defying the entire purpose of this video. The video is supposed to show "how to write a library"
@eto38581
@eto38581 2 жыл бұрын
@@ControllersTech Ignore him, we love your videos, thank you!
@szymongrzelak1658
@szymongrzelak1658 Жыл бұрын
You skipped the begining, didn't you?
@hasanhuseyingok4037
@hasanhuseyingok4037 3 жыл бұрын
This code is it support f0 or f1 series?
@excite236
@excite236 3 жыл бұрын
Yes it's in C language.
@MakerGarageYT
@MakerGarageYT 3 жыл бұрын
How do to remap spi pins?
@ControllersTech
@ControllersTech 3 жыл бұрын
hold control key, click on the pin you want to remap, and it will show another option. just drag it over there.
@ahmadkarimi-xq9gq
@ahmadkarimi-xq9gq Жыл бұрын
thanks. I just did this project. my TX is working but I can't receive that. can anyone help me?
@askinc102
@askinc102 Жыл бұрын
I cant receive either. Did you figure it out?
@mihailucian409
@mihailucian409 9 ай бұрын
​@@askinc102useless video as I said
@faramirchevlonski6152
@faramirchevlonski6152 2 жыл бұрын
Does this work for arduino too?
@szymongrzelak1658
@szymongrzelak1658 Жыл бұрын
You shouldn't really use it, Arduino implements SPI in a specific way different to IDE used in the video.
@mihailucian409
@mihailucian409 9 ай бұрын
No, it does not . First of all the init function does not write the proper values in order to make it work
@villafanahernandezvictorfr7770
@villafanahernandezvictorfr7770 7 ай бұрын
No lo manejas en español? xd ah vea
@szymongrzelak1658
@szymongrzelak1658 Жыл бұрын
Finally something other that Mysterious_Library.h tutorial.
#8. SPI in STM32 using Registers  || Tx and Rx  || Full-duplex mode
32:19
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
NRF24 Frustration - Radio module doesn't work?
12:46
Electronoobs
Рет қаралды 98 М.
All About nRF24L01 Modules
11:21
Crazy Couple DIY
Рет қаралды 39 М.
ST7735 1.8" TFT Display and STM32 || HAL
8:38
ControllersTech
Рет қаралды 42 М.
Easy Way to Create an nRF24L01 Wireless Sensor Network
18:13
ForceTronics
Рет қаралды 19 М.
Arduino 10 Channels Wireless Transmitter Receiver | nrf24l01+| DIY 🔥
15:13
hash include electronics
Рет қаралды 88 М.
NRF24L01 Tips and Tricks - Cheap and Easy Wirless
8:37
Robert Cowan
Рет қаралды 17 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН