STM32-Tutorial | Getting started with the STM32 HAL development environment | Learning library

 by   mnemocron C Version: Current License: MIT

kandi X-RAY | STM32-Tutorial Summary

kandi X-RAY | STM32-Tutorial Summary

STM32-Tutorial is a C library typically used in Tutorial, Learning applications. STM32-Tutorial has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Getting started with the STM32 HAL development environment. Tutorial documents in Markdown.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              STM32-Tutorial has a low active ecosystem.
              It has 76 star(s) with 14 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              STM32-Tutorial has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of STM32-Tutorial is current.

            kandi-Quality Quality

              STM32-Tutorial has no bugs reported.

            kandi-Security Security

              STM32-Tutorial has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              STM32-Tutorial is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              STM32-Tutorial releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of STM32-Tutorial
            Get all kandi verified functions for this library.

            STM32-Tutorial Key Features

            No Key Features are available at this moment for STM32-Tutorial.

            STM32-Tutorial Examples and Code Snippets

            No Code Snippets are available at this moment for STM32-Tutorial.

            Community Discussions

            Trending Discussions on STM32-Tutorial

            QUESTION

            Cannot init NRF24L01+ registers using SPI and STM32F303
            Asked 2020-Jan-01 at 19:36

            Am trying to initialize the NRF24L01+ registers using SPI but they always return 0x00.

            According to the datasheet, Table 20 on page 51, all write commands will have a pattern of b001x xxxx, which i understood as having a 0x2x pattern.

            In my snapshot below, i send the register value, for example register 0x00 will be sent as 0x20 indicating a write command to that register and then i send the value to be written on that register.

            As you see on the MISO line, the value is 0x00 even when am trying to write a 0x08 which should be the default value according to page 57 of the datasheet.

            I still dont know why its returning 0x00 even when i independently try to read the contents of that register later on without writing to it. I still get 0x00. The same applies to all other registers that am trying to re-init. Anyone who has experienced this behaviour elsewhere or is it me that is having something wrong?

            The NRF24 am trying to program here is this type from sparkfun

            ...

            ANSWER

            Answered 2020-Jan-01 at 19:36

            You are close. The datasheet shows write register as 001A AAAA and read as 000A AAAA, where the 5 A's represent the register you want to write to. The spec states that while the command is being sent (read, write, read payload, write payload, flush, activate, and so on), the device will return the status register. In your data, the device is responding with 0x0E, which is correct; decoded is is saying no errors and no data received or pending to transmit. If you want to see if the command you send was accepted, you need to first write the data and then read the data. For example, let's say we want to write the config register to enable the device as a receiver, 2 byte CRC with Rx interrupts enabled.
            First, you would send 0b00100000 (0x20), 0b00111111 (0x3F). The device will respond with 0b00001110 (0x0e), 0b00000000 (0x00). This is what you are seeing. If you want to verify the configuration register, you need to then send 0b00000000 (0x00),which is the command to read the config register, then 0b00000000 (0x00), which is a dummy byte to clock out the data. The device will respond with 0x0e, which is the status, and then 0x3F assuming you configured as I did above. Note that there are more commands than just reading and writing the registers, there are specific commands to fill and read the pipeline data.

            Hope this helps.

            Source https://stackoverflow.com/questions/58419833

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install STM32-Tutorial

            You can download it from GitHub.

            Support

            I am always happy to hear, when a tutorial was useful to someone. If you have feedback, suggesetions or wishes, feel free to open an Issue or drop me a Telegram. Copyright (c) 2020 Simon Burkhardt / simonmartin.ch / github.com/mnemocron.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mnemocron/STM32-Tutorial.git

          • CLI

            gh repo clone mnemocron/STM32-Tutorial

          • sshUrl

            git@github.com:mnemocron/STM32-Tutorial.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link