STM32 Nucleo - Keil 5 IDE with CubeMX: Tutorial 6 - SPI Interface

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 32

  • @rwbazillion
    @rwbazillion 6 лет назад +1

    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.

  • @johnfrancis923
    @johnfrancis923 7 месяцев назад

    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?

  • @seanstander9302
    @seanstander9302 6 лет назад +4

    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?

  • @paulg.3067
    @paulg.3067 4 года назад +2

    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

  • @dajianghe
    @dajianghe 3 года назад

    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.

  • @manofmesopotamia7602
    @manofmesopotamia7602 3 года назад +1

    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

  • @uncommonsensor
    @uncommonsensor Год назад

    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?

  • @gauravdjgm
    @gauravdjgm 6 лет назад

    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.

  • @TjFL0
    @TjFL0 6 лет назад

    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 ?

    • @mutexembedded2206
      @mutexembedded2206  6 лет назад

      Florin Pascaru
      I will make a video showing how to output a sinusoid with the STM32 soon.

  • @mansigharpende1527
    @mansigharpende1527 4 месяца назад

    hello , i want to transmit the data and recieve it on the same stm32 board using spi ,can you guide me with it

  • @emreiris114
    @emreiris114 5 лет назад +1

    I have a question , can I send 24 bit data at once via SPI? or should I separate it into 3 parts?

  • @jaguarpaw1638
    @jaguarpaw1638 6 лет назад

    Nice work these are amazing nice video structure

  • @ozgurkorkmaz933
    @ozgurkorkmaz933 3 года назад

    When I doing simulation on Watch1 screen,
    I can't get value in [1]. Do you now Why?

  • @kedargoranale2633
    @kedargoranale2633 5 лет назад

    Hi,
    I want to configure controller as SPI Slave transmit only.
    Do you have a guideline related to it?
    Please share it.

  • @stevenlee1726
    @stevenlee1726 6 лет назад

    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.

    • @mutexembedded2206
      @mutexembedded2206  6 лет назад

      Hi Steven,
      Can you tell me more information, what SPI slave device you used, have you implemented Chip Select correctly.

    • @stevenlee1726
      @stevenlee1726 6 лет назад +3

      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!

    • @mutexembedded2206
      @mutexembedded2206  6 лет назад

      Steven Lee
      Nice

  • @askarali920
    @askarali920 2 года назад +1

    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.

  • @shivanipatil9214
    @shivanipatil9214 6 лет назад +1

    Can we communicate STm32F091 nucleo board with arduino using SPI

  • @gaaloulwalid6627
    @gaaloulwalid6627 6 лет назад

    hi how can i programing stm with raspberrypi on canbus

  • @gaaloulwalid6627
    @gaaloulwalid6627 6 лет назад +1

    thanks