I did your example using a NUCLEO-F302R8 board and of course, modifying based upon the different board, but also using a logic analyzer and "no nRF24L01" and observed that the read operation still get 0x67. This is because in your code you do not clear the spiData array, and without a device, it looks like read doesn't read. When I cleared the array before the read I got 0x05. and 0x00 using no device which is expected. I ordered a nRF24L01 device and will try it when it comes in. I expect the reader to work at that point and get 0x05, 0x67. BTW this was an excellent video tutorial and I like in your other playlist how you do with and without the CubeMx software.
Hi, Nice work. Could you create some videos demonstrating low-power modes, especially stop mode and standby mode, and how to analyze them using a power analyzer such as OTII?
In this video, you do Chip Select manually, calling HAL_GPIO_writePin() to set CS pin low to start SPI transmission. I wonder whether there is automatic way, meaning let HAL_SPI_Transmit() handle it.
Basically, I appreciate your efforts for highlighting the outlines, but practically we done nothing. If you applied this information to controll motor wirelessly or sending sensor data to another mcu, we would have a full knowledge on ho to use SPI on practical examples, and on the end of the day thanks to you, I would have my AHT10 working wirelessly
my value at spiData[1] is reading 255 'ÿ', which I suppose means all of the bits are flipped on rather than just the bit in the 2 position? Any idea why this might be?
Hi, I wonder why my SPI communication is not working? The receive data is either return me 0x00 or 0xFF. I have followed your code exactly but just cant get it to work.
Thank you for replying. Cant believe it is not working because I did not supply my STM32F103C8T6 with 5V. It has not enough power thats why SPI is not working. Once stm32 is supply with 5V it is working now! Yeahu!
whatif is my address is32 bit 0x80C00000. can i send the address in 8 bits? spiData[0] = 0x80; spiData[1] = 0xC0; spiData[2] = 0x00; spiData[3] = 0x00; Do you think this is correct? kindly clarify.
I did your example using a NUCLEO-F302R8 board and of course, modifying based upon the different board, but also using a logic analyzer and "no nRF24L01" and observed that the read operation still get 0x67. This is because in your code you do not clear the spiData array, and without a device, it looks like read doesn't read. When I cleared the array before the read I got 0x05. and 0x00 using no device which is expected. I ordered a nRF24L01 device and will try it when it comes in. I expect the reader to work at that point and get 0x05, 0x67. BTW this was an excellent video tutorial and I like in your other playlist how you do with and without the CubeMx software.
Hi, Nice work. Could you create some videos demonstrating low-power modes, especially stop mode and standby mode, and how to analyze them using a power analyzer such as OTII?
Hello thanks for the help. but do you maybe have a video where you show the whole setup and operation of the stm32 with nRF24L01?
I think you could have initially set your CS pin default level as "high" so you dont need to set it high before you start your spi operation
In this video, you do Chip Select manually, calling HAL_GPIO_writePin() to set CS pin low to start SPI transmission. I wonder whether there is automatic way, meaning let HAL_SPI_Transmit() handle it.
Basically, I appreciate your efforts for highlighting the outlines, but practically we done nothing. If you applied this information to controll motor wirelessly or sending sensor data to another mcu, we would have a full knowledge on ho to use SPI on practical examples, and on the end of the day thanks to you, I would have my AHT10 working wirelessly
my value at spiData[1] is reading 255 'ÿ', which I suppose means all of the bits are flipped on rather than just the bit in the 2 position? Any idea why this might be?
Hi Yaqoob. I am thankful for the videos. I had one question, how do we get to program RFID using SPI in STM32? I will be grateful if you help me.
Hey, so far your tutorial helped me in some ways. Could you please tell me how to read a sine table with an osciloscope from the DAC ?
Florin Pascaru
I will make a video showing how to output a sinusoid with the STM32 soon.
hello , i want to transmit the data and recieve it on the same stm32 board using spi ,can you guide me with it
I have a question , can I send 24 bit data at once via SPI? or should I separate it into 3 parts?
Hi,
separate them into 3 parts
Nice work these are amazing nice video structure
When I doing simulation on Watch1 screen,
I can't get value in [1]. Do you now Why?
Hi,
I want to configure controller as SPI Slave transmit only.
Do you have a guideline related to it?
Please share it.
Hi, I wonder why my SPI communication is not working? The receive data is either return me 0x00 or 0xFF. I have followed your code exactly but just cant get it to work.
Hi Steven,
Can you tell me more information, what SPI slave device you used, have you implemented Chip Select correctly.
Thank you for replying. Cant believe it is not working because I did not supply my STM32F103C8T6 with 5V. It has not enough power thats why SPI is not working. Once stm32 is supply with 5V it is working now! Yeahu!
Steven Lee
Nice
whatif is my address is32 bit 0x80C00000. can i send the address in 8 bits?
spiData[0] = 0x80;
spiData[1] = 0xC0;
spiData[2] = 0x00;
spiData[3] = 0x00;
Do you think this is correct? kindly clarify.
Hi Yes
Can we communicate STm32F091 nucleo board with arduino using SPI
Yes
can you share me any like
link*
@@mutexembedded2206 I'm pretending communicate STM32L073 with Beaglebone black via SPI or SPIRIT 1
@@celsomaia Hi
hi how can i programing stm with raspberrypi on canbus
thanks