Search found 10 matches

by sueng66
Thu Jun 27, 2013 7:18 am
Forum: STM32 Support
Topic: Assigning Port to EXTI on 2.6.0
Replies: 2
Views: 2554

Re: Assigning Port to EXTI on 2.6.0

Just found it, embed it to mode using OR
by sueng66
Thu Jun 27, 2013 7:09 am
Forum: STM32 Support
Topic: Assigning Port to EXTI on 2.6.0
Replies: 2
Views: 2554

Re: Assigning Port to EXTI on 2.6.0

forgot something , I am using STM32F4
by sueng66
Thu Jun 27, 2013 7:08 am
Forum: STM32 Support
Topic: Assigning Port to EXTI on 2.6.0
Replies: 2
Views: 2554

Assigning Port to EXTI on 2.6.0

Hi all,

I could not find how to assign port to EXTI channel on 2.6.0, should I do it manually ? On 2.4.3 there is exti member on EXTConfig but it's missing on 2.6.0

Thanks

Regards
by sueng66
Thu Jun 20, 2013 9:11 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

sorry , thanks to remind me
by sueng66
Thu Jun 20, 2013 9:10 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

sorry I can not attach diff file and rare posting into forum I will do it in the future thanks for remind me
by sueng66
Thu Jun 20, 2013 8:18 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

This is my work on SPI driver :

diff -ru SPIv1ori/spi_lld.c SPIv1/spi_lld.c
--- SPIv1ori/spi_lld.c 2013-06-20 11:58:46.005216869 +0700
+++ SPIv1/spi_lld.c 2013-06-20 14:08:59.785602257 +0700
@@ -80,6 +80,8 @@

static uint16_t dummytx;
static uint16_t dummyrx;
+static uint8_t adummyrx[16 ...
by sueng66
Thu Jun 20, 2013 8:16 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

yes that's another way, if there is a condition that both device have to work in parallel providing another alternative other than DMA maybe good point, like what I did before.
by sueng66
Thu Jun 20, 2013 7:53 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

you are right when the device has alternate DMA Channel in case SPI2 and USART3 both does not have another alternative DMA Channel
by sueng66
Thu Jun 20, 2013 7:47 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

Re: SPI on STM32F4

Sorry to bother you all, after browsing the forum I realized that SPI2 and USART3 share common DMA channel , after disabling USART3 the SPI2 working normally using DMA.

Thanks
by sueng66
Thu Jun 20, 2013 7:26 am
Forum: STM32 Support
Topic: SPI on STM32F4
Replies: 12
Views: 11150

SPI on STM32F4

Hi all,

I have experiencing never success using SPI Driver on STM32F4 ( I am using Olimex STM32 E407 ). The SPI it self is working in manual mode and interrupt mode. The driver is working when I patched the driver to use interrupt instead of DMA transfer. It's look like the DMA logic never move ...