Search found 7 matches
- Tue Apr 20, 2021 2:53 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
The fact that it ever thought it was sending successfully was due to some wiring errors causing multiple devices to use pins that share a line, in reality it hangs permanently trying to switch to transmit mode and never successfully sends. Going to give libmaple a try tonight.
- Mon Apr 19, 2021 4:31 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
Edit: After all my changes still nothing! :( The exact same issue. I think I will give libmaple a try next thanks. But I will definitely do some more in depth debugging to see exactly where it hangs. I tried every SPI clock speed from 1 to 8mhz.
Edit2: I did some debugging and found the exact line ...
Edit2: I did some debugging and found the exact line ...
- Sun Apr 18, 2021 5:59 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
Thanks again for the suggestions, I tried adjusting just the SPI speed but no dice... I think the boards I bought off Amazon are just bunk. I soldered up 2 identical boards and each one has a different weird issue and the 3rd board that came in the pack simply cannot be uploaded to... going to look ...
- Sat Apr 17, 2021 8:31 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
So now I fixed what was a ground cable I had accidentally broke off and the board gets power properly, the RFM69 still initializes successfully but now it hangs permanently on RFM_69::send() without ever succeeding... at least it's more predictable behaviour. Any suggestions now? :D
Edit: Nevermind ...
Edit: Nevermind ...
- Sat Apr 17, 2021 5:06 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
Im not printing anything, I will definitely give the priority thing a try thanks.
ill try skipping the Serial.begin call all together given its not needed.
Edit: I guess my Serial.begin idea was silly because I already tested on an empty project haha. Unfortunately neither seemed to work for me ...
ill try skipping the Serial.begin call all together given its not needed.
Edit: I guess my Serial.begin idea was silly because I already tested on an empty project haha. Unfortunately neither seemed to work for me ...
- Sat Apr 17, 2021 1:59 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Re: Weird hangs RFM69 + WeAct Blackpill V2
I appreciate the suggestion, I will give it a go later today.
Edit: Unfortunately it did not help, I tried lowering the CPU clock to 20mhz and it actually made it so it sends less often.
This really feels like an interrupt problem, however I'm new at this and I don't really know what my next step is ...
Edit: Unfortunately it did not help, I tried lowering the CPU clock to 20mhz and it actually made it so it sends less often.
This really feels like an interrupt problem, however I'm new at this and I don't really know what my next step is ...
- Fri Apr 16, 2021 9:02 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Weird hangs RFM69 + WeAct Blackpill V2
- Replies: 12
- Views: 10796
Weird hangs RFM69 + WeAct Blackpill V2
I have been working on a project that uses a WeAct Blackpill V2 with a STM32F411CEU6 microcontroller and an Adafruit RFM69HCW breakout board. I had been working on the project on an Arduino Nano but now I've decided I want a faster processor and more memory so I've upgraded to the blackpill ...