Search found 8 matches

by Flo89
Tue Nov 19, 2013 11:07 pm
Forum: STM32 Support
Topic: Little SPI Chip Select problem
Replies: 2
Views: 4138

Re: Little SPI Chip Select problem

Oh oh,

I just forgot to initialize the four pins... :D
Sorry for the disturbance and thanks a lot for the fast help!!
by Flo89
Tue Nov 19, 2013 10:35 pm
Forum: STM32 Support
Topic: Little SPI Chip Select problem
Replies: 2
Views: 4138

Little SPI Chip Select problem

Good evening everybody

I had a little SPI (test)program running under ChibiOs 2.6.1 on STM32F30x and now I'm trying to get it running on STM32F4xx.
Mosi and Clock lines are working good but CS remains always low level. I tried with 'Software slave management disabled' and 'enabled in the SPI_CR1 ...
by Flo89
Mon Nov 11, 2013 11:42 am
Forum: General Support
Topic: Questions about SPI and DMA
Replies: 3
Views: 3268

Re: Questions about SPI and DMA

Thank you for your explanations, this helps me a lot!

Best regards,
Florian
by Flo89
Thu Nov 07, 2013 9:21 pm
Forum: General Support
Topic: Questions about SPI and DMA
Replies: 3
Views: 3268

Questions about SPI and DMA

Hello
I wrote spi code of following structure:
spiSelect(...);
spiExchange(...);
spiUnselect(...);

Now I saw in the ARMCM3-STM32F100-DISCOVERY example code of the following structure:
spiSelectI(...);
spiStartSendI(...);
spiUnselectI(...);

Now my questions are: Are I'm using DMA automatically ...
by Flo89
Mon Nov 04, 2013 10:09 pm
Forum: General Support
Topic: Beginner: How to handle this timing requirement
Replies: 4
Views: 4403

Re: Beginner: How to handle this timing requirement

Thanks for the answers!
I now see that a systick of 1ms don't mean that the accuracy is only +-1ms. Is there any "rule" to get a good value for systick frequency depending on the fastest regular timed thread?

I have here an STM32F4Discovery and an Stm32F3Discovery board.
Is it arguable now to go ...
by Flo89
Mon Nov 04, 2013 12:42 am
Forum: General Support
Topic: Beginner: How to handle this timing requirement
Replies: 4
Views: 4403

Beginner: How to handle this timing requirement

Hello Chibios-friends,

I'm a beginner of RTOS programming and this is not a chibios specific question, but I hope someone can give me a short answer.
One aim of the application should be to do this every 5 ms:
Read out 2 sensors over SPI/I2C by DMA --> Calculate current state by a filter and new ...
by Flo89
Sat Oct 26, 2013 11:34 pm
Forum: STM32 Support
Topic: Problems STM32 Port to Crossworks Toolchain
Replies: 4
Views: 5691

Re: Problems STM32 Port to Crossworks Toolchain

Oh, I just didn't see this!

So I'm relaxing and waiting :)
by Flo89
Sat Oct 26, 2013 10:30 pm
Forum: STM32 Support
Topic: Problems STM32 Port to Crossworks Toolchain
Replies: 4
Views: 5691

Problems STM32 Port to Crossworks Toolchain

Hallo experts,

I'm currently trying to port "ARMCM4-STM32F407-DISCOVERY" project to my Crossworks (GCC) toolchain.
So I installes IAR to check how things work. I made a project with the same composition and of course used the GCC specific files.
Things now compile but I have errors with the linking ...