Spark Logic

New wiki

RogerClark Sat May 07, 2016 6:23 am

Hi Guys

I’m in the process of setting up a wiki where we can store the wealth of information that has been posted to the forum, in a more logical and easy to find way.

If anyone can spare some time to help populate the wiki, please let me know.

It will use Mediawiki, which is the same as Wikipedia uses, as its the most stable and versatile wiki system that I know of, and I have used it before.

Top of the To Do list, is to get a list of boards into the wiki, including photos and were possible schematic.

There is a load of text in the Github wiki that I can pull into this wiki, and I can probably “borrow” some information from the old leaflabs wiki.
(Note, I’ve emailed leaflabs, several days ago, to ask if its possible to mirror their wiki page(s), but I’ve not had a response )

BTW. I don’t think I can pull your existing login information into the user database for media wiki, but I may be able to batch create new accounts and use your email addresses as the initial passwords.
However as I suspect that most people will not have the time to help with this, I will probably end up creating accounts manually.

Replies

strawberrymaker Sun May 08, 2016 12:14 am

And how about a “getting started” page? Would be neat for newcommers :)

~Straw

RogerClark Sun May 08, 2016 12:33 am

strawberrymaker wrote:And how about a “getting started” page? Would be neat for newcommers :)

~Straw

WereCatf Sun May 08, 2016 1:33 am

Well, I did add some stuff to the F103-section, though I’ll have to prettify the wiki at a later date.

RogerClark Sun May 08, 2016 3:00 am

Thanks for adding those tables

I think that possibly they should be on a page of their own, but we can tidy up things later

WereCatf Sun May 08, 2016 6:59 am

One thing I’d like to see in the wiki is a something that tracks the current status of the Arduino-implementation for STM32, like e.g. which hardware-features are supported, if there are some missing things wrt. that hardware-feature, ie. if it is only partially supported, and whether there are some examples available for that feature — this would allow potential users to gauge a little how quickly they can get to speed using this or that feature and whether the implementation is a good choice for them in the first place, and it’d provide a sort of a roadmap for any developer who may want to fill in a missing spot here or there, like e.g. someone gets bored, checks the list and decides to write a few examples on how to use FSMC for which we don’t have any examples at all yet. (I don’t actually know if it’s even supported)

Filling the list would take some time, but the benefits are worth it, IMHO.

RogerClark Sun May 08, 2016 7:23 am

@wereCatf

I’m not sure if you mean core parts of the API or things like CAN bus or SDIO, or things like OneShot timer modes etc

I suspect we are missing some API functions (well possibly a lot of API functions).

Unfortunately, I don’t think there is a “test unit” sketch which attempts to call all core functions.

I noticed the other day that one of the built in examples wouldnt run because functions like isDigit were not in the core, so I figured out that we didnt have WCharacter.cpp, so I integrated it, and I also updated the string functions.

But its highly likely that other functions are also missing, but I have no way of knowing, apart from perhaps trying all example sketches, and thats slightly problematic, as the often use AVR pin names e.g A0 which we don’t have ;-(

That being said.

Please feel free to make to make a start on a page that has the information you think is useful

WereCatf Sun May 08, 2016 7:56 am

RogerClark wrote:I’m not sure if you mean core parts of the API or things like CAN bus or SDIO, or things like OneShot timer modes etc

RogerClark Sun May 08, 2016 9:17 pm

stephen,

I agree its hard to catalog these boards.

I have a F103VET and F103ZET board, but neither have any model number printed on them; they just have the manufacturer url “www.vcc-gnd.com“

I think we need the boards page to be more of a picture gallery, or perhaps have a separate page for this, which allows people to visually find their board

strawberrymaker Sun May 08, 2016 9:21 pm

Or we should just collect all boards on a page for the specific Microcontroller used on it. Like a F103V page with informations about it and a section with boards available

~Straw

RogerClark Sun May 08, 2016 9:26 pm

@strawberrymaker

We can list the boards in many different ways, but we need to add pages for the boards (with details and pictures and if possible the schematic)

Vassilis Mon May 09, 2016 6:18 pm

It is written in wiki
1) At the default CPU-speed of 72MHz the maximum speed for SPI1 is 36MHz and 18MHz for SPI2.

The STM32F103x8 pdf writes (page 19/117)

I didn’t edit the wiki because I wanted to be sure that it was written by mistake (typo) or some 103 model supports 36 Mbps speed.

racemaniac Mon May 09, 2016 6:28 pm

Vassilis wrote:It is written in wiki
1) At the default CPU-speed of 72MHz the maximum speed for SPI1 is 36MHz and 18MHz for SPI2.

The STM32F103x8 pdf writes (page 19/117)

I didn’t edit the wiki because I wanted to be sure that it was written by mistake (typo) or some 103 model supports 36 Mbps speed.

WereCatf Mon May 09, 2016 6:28 pm

Vassilis wrote:I didn’t edit the wiki because I wanted to be sure that it was written by mistake (typo) or it really supports 36 Mbps speed.

WereCatf Mon May 09, 2016 6:36 pm

I do wonder why they don’t mention that SPI1 and SPI2 run at different speeds, though. Seems kind of a silly omission. Maybe they just don’t care to update the specs anymore as the chip is getting old and they want people to move to newer ones?

Vassilis Mon May 09, 2016 6:47 pm

APB2 runs at twice the speed of APB1, and and SPI1 is on APB2, SPI2 is on APB1.
APB1 runs at maximum 36 MHz and APB2 runs at maximum 72 MHz.
On SPI1 the minimum prescaler value is 4 that gives 18 Mbps Max
On SPI2 the minimum prescaler value is 2 that gives 18 Mbps Max also

WereCatf Mon May 09, 2016 6:55 pm

Vassilis wrote:APB1 runs at maximum 36 MHz and APB2 runs at maximum 72 MHz.
On SPI1 the minimum prescaler value is 4 that gives 18 Mbps Max
On SPI2 the minimum prescaler value is 2 that gives 18 Mbps Max also

racemaniac Mon May 09, 2016 6:58 pm

WereCatf wrote:Vassilis wrote:APB1 runs at maximum 36 MHz and APB2 runs at maximum 72 MHz.
On SPI1 the minimum prescaler value is 4 that gives 18 Mbps Max
On SPI2 the minimum prescaler value is 2 that gives 18 Mbps Max also

Vassilis Mon May 09, 2016 7:02 pm

The screenshots were extracted from STM32CubeMX.

@WereCatf I don’t want to disagree with you. Perhaps, some 103 supports 36 Mbps but according to the manual and the STM32CubeMX I cannot verify that the SPI works at higher speed than 18 Mbps

Sign in to reply