Spark Logic

PJON

rajdarge Mon Apr 25, 2016 11:47 pm

Trying to modify the PJON library to suit a STM32F103RB (Blue pill).
In order for the Library to compile I need to know what the name of my board is to the compiler
like ESP8266 … etc.
I have already tried.
GENERIC_STM32F103R

Replies

martinayotte Fri Apr 29, 2016 1:06 am

Wow !
105 years old !
He’ve seen lot of technologies (from Morse code Radio to Ethernet) … :)

rajdarge Fri Apr 29, 2016 2:03 am

One more quick question: regards the PJON library. I would still like to help get it up to steam for use by everybody as i think it has a lot of merit. If it can then also send Structs it would be perfect. To finish modification I need to work out how to do the pin mapping. Is there a document I can read that will shorten this process. I’ve tried reading the datasheet on the STM32F103RBt6 but much of it is gobbeldygook to me. So is there something for the non-engineering minded?

mrburnette Fri Apr 29, 2016 11:50 am

rajdarge wrote:<…>To finish modification I need to work out how to do the pin mapping. Is there a document I can read that will shorten this process. I’ve tried reading the datasheet on the STM32F103RBt6 but much of it is gobbeldygook to me. So is there something for the non-engineering minded?

WereCatf Fri Apr 29, 2016 12:48 pm

Yes, that picture does apply to the Blue Pill, too, I have tested since I own a BP myself.

rajdarge Fri Apr 29, 2016 9:23 pm

I suppose more specifically is how to address the DDR for each port?
PA PB PC …

mrburnette Fri Apr 29, 2016 10:07 pm

rajdarge wrote:I suppose more specifically is how to address the DDR for each port?
PA PB PC …

rajdarge Sat Jun 18, 2016 11:25 pm

rajdarge wrote:Ok well I can afford to put my project on hold and learn C++ the easier way. Sorry about the old man status – wear it as a badge of honour :)

fari Sun Feb 26, 2017 4:20 pm

Hello everybody!

I have migrated the library of Youen Neuoy to STM321f103 (Arduino). You have got the advantage, that the polling does not bloc your micro, since the communication is interrupt based.
Some timing constants have to be adjusted, if you change your Arduino compiler options!
I have fixed one bug, which caused a total deadlock of the onewire network. Still there are few telegram errors (app. 1%)
Unfortunately I do not own a logic analyser and could not trace the cause of this error.

I have signed into gitHUB and tried today to upload the library, but I could not. If anyone is interested to get it immediately, I could make it available via google drive or via email!

RogerClark Sun Feb 26, 2017 8:55 pm

Thanks

Let us know when its in GitHub, and post the link so people can download it

stevestrong Fri Nov 09, 2018 10:08 am

So is there any port of this lib for STM32?
Or does the original lib work out of the box for STM32F1?

stevestrong Fri Nov 09, 2018 12:40 pm

What makes you think that it works on blue pill? Have you tested?

stevestrong Sun Nov 11, 2018 7:40 am

Yep, it seems that this commit should add some support for F1.

Sign in to reply