As always, great work. I really appreciate your "registers" series :)
@piotrjaga6929
29 күн бұрын
the only channel i see stm32 configuration with CMSIS
@yonip9456
2 жыл бұрын
The best stm32 expert master! thanks so much for the knowledge and the way you explain things
@ShrKhAan
Жыл бұрын
This is big cojones programmming, straight to registers !
@parthasarathihebbar7344
11 ай бұрын
in this video what are the components used and is the code same for stm32f407vgtx
@LuisSantiago-rp1gs
Жыл бұрын
Nice explanation of SPI. By the way, someone know why there is an extra clock transition when the SPI is enabled (can see @23:48) ? At the same time there are also some strange transitions in MOSI. This extra clock makes the logic analyser software crazy and unable to decode the frame. Continue this nice work ... Regards.
@hogo750
3 жыл бұрын
a good work. thank you 🙏
@johnorourke2905
2 жыл бұрын
Thanks for you videos. They are great. Do you have an recomendation for a $500 logic analyzer?
@hamzahansari6900
6 ай бұрын
anyone knows where i can find the datasheet shown in this vid?
@tl7742
2 жыл бұрын
This is really a nice lecture. By the way, why do you need to check if TXE is set before a transmission? Isn't it normal to do the check after the transmission? Is something assumed here?
@ControllersTech
2 жыл бұрын
It's like if the TXE bit is set, means the transmit buffer is empty, only then we will load the data. You can do after loading the data too. In that case the processor will wait until the transmit buffer shifts the data to shift register
@tl7742
2 жыл бұрын
25:44 I guess the code " SPIx->DR = 0; " writes 2 bytes instead of 1 byte. If the user wants to send a dummy byte, then the code would have to be *(volatile uint8_t *)&SPIx->DR) = 0;
@kevinkipkorir3132
2 жыл бұрын
Thank you, I founf the error I hade made thanks
@ivanfernandolesmesroldan4502
2 жыл бұрын
Good video bro, Where are you living? Greeting from Colombia 👍
@ilkeraykut7064
3 жыл бұрын
Thank you for great tutorial.Could you make a video about I2C Interrupt with registers?
@ControllersTech
3 жыл бұрын
Yeah next one... Now the basic peripherals are done, i will move to interrupt and dma
@RixtronixLAB
Жыл бұрын
Nice video, thanks :)
@Crazy-vk5sl
3 жыл бұрын
Great work thanks.
@woldecosgrove
7 ай бұрын
Hi i have been following your video, i am coding SPI tx and rx using DMA do you happen to have any video on this?
@ControllersTech
7 ай бұрын
This video covers SPI Tx and Rx. There is another video which cover DMA alone. Just combine them
@woldecosgrove
7 ай бұрын
@@ControllersTech programming using register is too difficult for me, do you have anything using HAL and .ioc ? please help..
@woldecosgrove
7 ай бұрын
hello.... r u there ?
@ControllersTech
7 ай бұрын
No not for SPI DMA. But you can simply use it. It shouldn't be that hard.
@CiroRippa
7 ай бұрын
does it work for the gyroscope or I have to use I2C?
@ControllersTech
6 ай бұрын
SPI works fine.
@ilkeraykut7064
2 жыл бұрын
In SPI_Receive func. ,There is code SPI->DR=0;//dummy .in which part of reference Manual does it say?
@ControllersTech
2 жыл бұрын
It's general working of SPI. You send dummy and you receive data.
@prashantwaiba2290
3 жыл бұрын
Does SPI is faster than USB mode in stm32?
@ControllersTech
3 жыл бұрын
Faster than usb FS ? Yes. But not faster than USB HS
@prashantwaiba2290
3 жыл бұрын
@@ControllersTech sir is there any tuitorial related to USB HS, you have made?
@ControllersTech
3 жыл бұрын
Nope not yet..
@dajianghe
Жыл бұрын
Hi, do you have Tx/Rx example for SPI DMA using registers?
@ControllersTech
Жыл бұрын
There is already a video on how to use dma. Just combine both videos.. Its useless to make separate videos covering the same topic for each peripheral.
@vinothkannan1570
3 жыл бұрын
great
@PrasannaRoutray97
2 жыл бұрын
I have one doubt. Do I need to use the write function before I read? In a case where I'm only interested in reading sensor data what is the method, I need to follow? I can Initialize and then read or I must write something before reading?
@ControllersTech
2 жыл бұрын
You need to tell sensor what you want to read..
@PrasannaRoutray97
2 жыл бұрын
@@ControllersTech I have a pressure sensor BMP280. how to get the sensor values?
@ControllersTech
2 жыл бұрын
There is a video on BMP180 on the channel. See if you can take any hints from it.
@PrasannaRoutray97
2 жыл бұрын
@@ControllersTech yeah. That one is i2c. I'm looking for SPI
@ControllersTech
2 жыл бұрын
The concept remains the same. Instead of I2C, you use SPI
@malleswaritippireddy1081
3 жыл бұрын
I would like to ask u for Lora interface with stm32
@ControllersTech
3 жыл бұрын
Yeah soon.. I am trying to get the modules.. they are not available here
@venkat2830
3 жыл бұрын
when i am trying to write into SPI1->DR data register the value is set to 0XFF,but i am trying to write some other value.
@ControllersTech
3 жыл бұрын
Where is this value set to ? And how are u checking it ?
@venkat2830
3 жыл бұрын
@@ControllersTech we are passing the data[3] to SPI_Transmit(). There when I am writing into SPI1->DR register it is set to 0xFF.I am checking in the debugger SPI peripheral which is present in Keil for debugging purpose.
@ControllersTech
3 жыл бұрын
The data you write will not show in the debugger.. It only shows the last received data.. I myself got confused few times 😃
@venkat2830
3 жыл бұрын
@@ControllersTech If I write only one time i.e., SPI1->DR = 0XAA,Then what is shows in debugger.If Debugger will show.Then how to debug with the help of software tools without Logic Analyzer.Thanks for your Reply.
@ControllersTech
3 жыл бұрын
Just put bp before writing to the DR. Whatever is the data upto that statement, the same will be written. Also, as soon as you write the data, the data register shifts the data to the tx shift buffer. That's why it doesn't hold it.
@brianblasius
2 жыл бұрын
Can this work with the internal clock only or should I put an external oscillator?
@ControllersTech
2 жыл бұрын
it can work with either. But you need to start at the first video of this series
@brianblasius
2 жыл бұрын
@@ControllersTech I have a problem. The clock signal is not showing up when I check on the logic analyser. I'm using 1 line bidirectional mode.
@ControllersTech
2 жыл бұрын
Like I said, start with the first video. First make the clock work... Then move to I2C
@brianblasius
2 жыл бұрын
@@ControllersTech I2C is working. But let me just check the first video. Is it register based? I only want to use register manipulation or CMSIS
Пікірлер: 55