Search found 78 matches

by turboscrew
Fri Dec 29, 2017 3:36 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Thanks!
It seems that RadioHead is no more just a virtual wire it (mostly) used to be!
Have to take a better look...
by turboscrew
Fri Dec 29, 2017 8:30 am
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

I understand. But I have not seen any of the forum members post to this thread with a clean lib for the RFM69HW device. Unless someone points us to a tested library, it appears that you will either need to port your own or select a different uC architecture. Yes. I've been thinking about the two ot...
by turboscrew
Thu Dec 28, 2017 6:08 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

I'm using two 1.5V batteries (AA) - this is blue pill. And yes, both blue pill and the RFM-module should run fine (I recall 3.6V - 2.8V). Regardless of the one run with a couple of rounds, it usually starts or not. Either it jams at about the first "sending" or it'll keep going. It just looks like t...
by turboscrew
Thu Dec 28, 2017 9:15 am
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Reverting all NSS-changes and using PA4 as NSS I got it to run once a couple of rounds before it got stuck. The other times I tried, it didn't seem to work at all. [edit] It did start to run all the way all of a sudden. Doesn't seem to be very stable program... But the SPI didn't seem to work. Regis...
by turboscrew
Thu Dec 28, 2017 7:24 am
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Mrburnette, you were referring to this?
viewtopic.php?f=14&t=300
So the NSS is PA4 and it now should be controlled by SW?
by turboscrew
Wed Dec 27, 2017 7:17 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Well, in my own projects I've been using SW NSS and some other GPIO and I haven't had any problems. And with SW NSS I can put more than one chip on the same SPI "bus". Just separate NSS-pin for each... :) Maybe that NSS-changing hasn't worked. I think I'll remove the NSS-pin mappings and try with th...
by turboscrew
Wed Dec 27, 2017 5:42 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

OK. That's probably the fix to situations where the HW NSS doesn't seem to do anything, but in my chips the NSS seems to go low just as expected, but it doesn't go high - at least in any reasonable time. I just checked. I had left a comment to myself in my code that turning SSOE to zero didn't help....
by turboscrew
Wed Dec 27, 2017 5:08 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

I don't think new SW repo can fix HW-bugs. I know that STM32-SPI NSS should work such that when the first byte is written to data register, the clock starts ticking and the NSS goes low. So far so good. When the last bit is clocked out and new data in not written in, the clock stops, but the NSS sta...
by turboscrew
Wed Dec 27, 2017 2:15 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Is the NSS handled by SW? (I couldn't find it in the core code.)
In my blue pill chips the HW NSS doesn't seem to work, and I've seen problems like that reported elsewhere too.
by turboscrew
Tue Dec 26, 2017 2:29 pm
Forum: General discussion
Topic: RFM69HW demo application for blue pill?
Replies: 31
Views: 702

Re: RFM69HW demo application for blue pill?

Hmm, this doesn't seem to work: https://github.com/brainelectronics/RFM69-STM32 It hangs at the first sending. I don't think I'm willing to debug that code, especially when that means adding another full development environment to this machine (StinkBad T400 / Linux Mint). I already have another mac...