Search found 25 matches

by xlh1460
Mon May 05, 2014 9:26 pm
Forum: ChibiStudio
Topic: ChibiStudio preview 6
Replies: 19
Views: 11716

Re: ChibiStudio preview 6

Giovanni wrote:Uploading, it will appear on SF in about an hour.

http://sourceforge.net/projects/chibios ... ibiStudio/

Giovanni


Thank you. :)
by xlh1460
Mon May 05, 2014 9:20 pm
Forum: ChibiStudio
Topic: ChibiStudio preview 6
Replies: 19
Views: 11716

Re: ChibiStudio preview 6

Do you mean the bleeding edge 4.8 tool chain or another?

Do you use a different IDE or command line?

Thanks for the info.
by xlh1460
Mon May 05, 2014 8:39 pm
Forum: ChibiStudio
Topic: ChibiStudio preview 6
Replies: 19
Views: 11716

Re: ChibiStudio preview 6

I don't see it. Can you provide a link?

Thanks.
by xlh1460
Sun Apr 20, 2014 8:44 pm
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

You and mculover definitely nailed down the problem and pointed me in the right direction. I didn't touch the board definition files but I changed my code slightly and now it works fine. palSetPadMode(GPIOA, 4, 0 ); palSetPadMode(GPIOA, 5, 0 ); palSetPadMode(GPIOA, 6, 0 ); palSetPadMode(GPIOA, 7, 0 ...
by xlh1460
Sun Apr 20, 2014 7:45 pm
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

On, second thought, it sounds like the problem might be with the pins that I am not using and noth with the ones that i am using.

I'll play with this some more.
by xlh1460
Sun Apr 20, 2014 5:44 pm
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

I had a peek at board.h and changing that seems a bit daunting.

Shouldn't the pin configuration applied in my code be sufficient to override what is defined in board.h?
by xlh1460
Fri Apr 18, 2014 1:13 am
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

It can be found in the boards directory of the ChibiOS distro.
by xlh1460
Tue Apr 15, 2014 2:46 am
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

Here is the demo. Compile it and connect terminal to USART3(PC10 - TX | PC11 - RX) Jumper PA6 to PA7 to loopback SPI1 MISO and MOSI. Execute the program and what is typed in the terminal should get looped back to the terminal via the SPI1 module. Then comment out the line reading: #define TEST_WORKI...
by xlh1460
Mon Apr 14, 2014 5:31 pm
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

I'll try to work up a simple demo and upload it.

Thanks.
by xlh1460
Mon Apr 14, 2014 2:46 pm
Forum: STM32 Support
Topic: Problem with SPI1 read on STM32F4
Replies: 14
Views: 8440

Re: Problem with SPI1 read on STM32F4

Yes, The CS pin is programmed as GPIO.

I suspect if that were the problem I would see different results since TX seems OK but RX is not working even though the SPI slave device is responding appropriately.

Go to advanced search