Replies: 13 comments 27 replies
-
Beta Was this translation helpful? Give feedback.
-
Sorry, I didn't list them in order, but they are connected as such: ESP32 -> RPi5 |
Beta Was this translation helpful? Give feedback.
-
Check again RPi5 diagram because I think it should be GPIO 8 ...I use only my old photos and the same connector when I need to connect it again so I don't remember exactly. |
Beta Was this translation helpful? Give feedback.
-
This is the pinout I was referencing:
![image](https://github.com/awawa-dev/HyperSPI/assets/70398752/214eaaaa-a36b-4828-ba0a-9cc8820d51fc)
Should I be using CE1 (GPIO8)?
|
Beta Was this translation helpful? Give feedback.
-
I think this diagram is wrong |
Beta Was this translation helpful? Give feedback.
-
Maybe I am looking at it wrong, but the close up pictures appear to be using the same pins that I am using? |
Beta Was this translation helpful? Give feedback.
-
CE0 is GPIO8 not GPIO7 as the diagram states. For the rest as I mentioned you can compare your connection to mine and also you can post pictures of your setup. Also I dont think default SPI speed is 20000000 but 25000000 in HyperHDR, not sure it is related. But enabling "invert" in the HyperHDR SPI driver properties could be related: disable it. |
Beta Was this translation helpful? Give feedback.
-
I messed with the speed and inverting the signal as desperate hopes to get any kind of output. I can switch them back and provide the logs if that would help? Here's my current wiring setup: |
Beta Was this translation helpful? Give feedback.
-
The connection looks OK. HyperSPI wont work with "invert" option, but non-standard speed should not cause problems for esp32-s2. Try: 25 000 000, 10 000 000 and 1 000 000. |
Beta Was this translation helpful? Give feedback.
-
BTW, are you using custom firmware with multi-segment enabled? justinj57@75a00ac But in HyperHDR you have an different (and odd) number of LEDs configured, which can lead to unpredictable behavior (worst case scenario: communication works, but esp32-s2 crashes after receiving the first one from the out-of-scenario frame and restarts, therefore the statistics are empty). DSECOND_SEGMENT_START_INDEX is not something that can be set as you like. For testing use the regular released firmware. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'll check the eeprom tonight. I did not try other speeds with the loopback but I'll do that as well. Hopefully I can get to the bottom of this |
Beta Was this translation helpful? Give feedback.
-
First off - thanks for all the work you've put into HyperHDR and all the supporting projects. Fully acknowledge that I'm likely doing something wrong here, but I am pulling my hair out and would be extremely thankful with any help I could get....
Hardware/Software Config
HyperHDR v19
HyperSPI
MS2130 USB Capture Card
3.3V to 5V level shifter
Raspberry Pi 5 (SPI Enabled)
ESP32 S2 Lolin Mini
SK6812 RGBCW
60A 5V Mean Well PSU
I have pins 7, 11, and 12 connected to the corresponding CE0, MOSI, and CLK pins + ground on the Raspberry Pi 5, with ~ 10cm cable. The ESP32 is powered by USB connection with the RPi5. I have double and triple checked all connections, made multiple harnesses, etc. I have also tried multiple ESP32 S2 boards.
I have not been able to get output on GPIO 2. When I try to run the performance check as outlined in the HyperSPI readme, I get 0 FPS.
HyperHDR frames: 0 (FPS), receiv.: 0, good: 0, incompl.: 0, mem1: 0, mem2: 0, heap: 193000
RGBW => Gain: 255/255, red: 160, green: 160, blue: 160
I think this means there's no communicated between the RPi and ESP32, but I am out of ideas on what to check. Here are the logs from start up to +3 min post start up. Please let me know if there's other info I could provide that may be helpful in troubleshooting.
Log: https://pastebin.com/Ksx81edA
Beta Was this translation helpful? Give feedback.
All reactions