Skip to main content
0 votes
1 answer
41 views

Below is code for an STM32H747 to implement a SPI5 driver that uses DMA. The flow is that initialize is called, then startconveyor, starts SPI and prepares for a series of "bursts" (...
Chris's user avatar
  • 691
Best practices
0 votes
0 replies
43 views

I am writing a system for esp32 with esp-idf that must communicate with an ADC and an SD card over the same SPI bus. Ideally, the ADC reads would be consistently timed, so that if the SD card stalls ...
bbqribs's user avatar
  • 51
1 vote
0 answers
75 views

So i am learning the stm32f103c8t6 board, and after having used the hal, i am trying to create my own peripheral driver, but i can't seem to get the spi working, I am trying to communicate with an spi ...
Ogieleguea Hillary's user avatar
2 votes
0 answers
81 views

I am trying to use a DS3234 with a STM32. (on STM32CubeIDE) Is answer me with some value but for some reason, Every value is divided by 2 except for the month. Second are updated every two (real)...
Thomas BRUDER's user avatar
0 votes
1 answer
85 views

I’m currently working on SPI communication between two microcontrollers. The MOSI frames are working as expected; however, I’m facing an issue on the MISO line. It appears that the end of the frame is ...
Aravinth's user avatar
0 votes
0 answers
77 views

I am trying to write data to an SD card on an ESP32-WROOM. My function for file creation is: bool create_file(const char *file_path, const char *data) { if (!file_path || !data) { printf(&...
mauli02k's user avatar
0 votes
0 answers
149 views

I am currently facing a problem that I run out of idea. I have a waveshare ESP32-S3-Touch-LCD-2 (https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-2) that features a display, SD cardslot and camera. ...
bennnil's user avatar
  • 35
0 votes
0 answers
180 views

I have recently tried to connect a bno085 to my raspberryPi 3 B+ through SPI connection but it doesn't work as expected: For the majority of the sensor running the INT pin is pulled high which means ...
No0bYebY's user avatar
  • 111
1 vote
1 answer
124 views

TL;DR: Is there a way, using only SPI commands, to tell if the SD card is in SD mode vs. SPI mode? Edited TL;DR: Yes. If the SD card doesn't respond at all to your SPI commands, you know it's either ...
Dana S's user avatar
  • 21
0 votes
1 answer
131 views

I am trying to create a SPI class that contains a member function (transfer) that does an SPI slave transfer in SPI MODE 0. My setup is based on a UMFT4222EV-D USB board using the libft4222.a library ...
Sir Jo Black's user avatar
  • 2,116
1 vote
1 answer
90 views

I have a STM32F103C8T6 Blue Pill board and NRF24L01+ RF module with 5V to 3.3V NRF24 adapter. I wore a code for reading and writing NRF24 register via SPI serial communication. In order to read any ...
Clyde Xander's user avatar
1 vote
1 answer
53 views

I'm trying to debug the connection between my STM32F756ZG and W5500 shield. In order to do so I wrote this function called read_version that is based off of SPI_TransmitReceive function that is like ...
batteryTH1928's user avatar
1 vote
1 answer
185 views

I have an STM32F103C8T6 microcontroller and NRF24l01+ RF module. I have written driver code for the NRF24 and it fails miserably. There are functions for writing register and reading register. #...
Clyde Xander's user avatar
0 votes
1 answer
97 views

I have two interrupts SPI and ADC. In the nvic table the ADC has higher priority to SPI and I want to change that. SPI interrupt to have the highest priority. In this case how can I modify the nvic ...
Hari Kumari's user avatar
2 votes
2 answers
112 views

Version 1: I am using a Raspberry Pi Pico as SPI master and an ATtiny841 as SPI slave. Master code: #include "pico/stdlib.h" #include "hardware/spi.h" #include <stdio.h> #...
Jippe's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
98