Search found 7 matches

by laksonobudi
Thu Aug 15, 2019 5:10 am
Forum: User Projects
Topic: how to use SPI IRQ Handler?
Replies: 7
Views: 1716

Re: how to use SPI IRQ Handler?

I've used LTC2328, LTC2326 and AD7616 (single channel only). There are minor differences, but mostly I use the same code. Mike ok, thanks for ur information , now i can aquire data 1 chanel ADC external using SPI DMA interrupt max in 40Ksps because i use 32 bit SPI communication, but now i have pro...
by laksonobudi
Wed Aug 14, 2019 7:58 am
Forum: STM32 Support
Topic: DMA interrupt problem in ugfx
Replies: 2
Views: 399

Re: DMA interrupt problem in ugfx

Giovanni wrote:Do you enable DMA clocks? anyway, this is not a support forum, moving topic.

Giovanni


yes, using this code in dma config function

// enable clock dma1
RCC->AHB1ENR |= RCC_AHB1ENR_DMA1EN;
by laksonobudi
Wed Aug 14, 2019 5:49 am
Forum: STM32 Support
Topic: DMA interrupt problem in ugfx
Replies: 2
Views: 399

DMA interrupt problem in ugfx

before it, i have done use dma interrupt to aquire data using spi but when i use dma interrupt in ugfx, interrupt not show up... what is indication that make it problem? this is my code ---------------------------------------------------------------------------------------------------- //DMA1 stream...
by laksonobudi
Wed Aug 14, 2019 3:51 am
Forum: User Projects
Topic: how to use SPI IRQ Handler?
Replies: 7
Views: 1716

Re: how to use SPI IRQ Handler?

I use STM32 in master mode, with pwm to generate CONVST to an SPI attached ADC. This gives a regular trigger to the ADC. I am then using either the trigger off BUSY or the callback from the pwm (with a tight wait loop until BUSY is off) to resume a thread. The reason for the pwm & wait loop is ...
by laksonobudi
Mon Jul 29, 2019 2:26 am
Forum: User Projects
Topic: how to use SPI IRQ Handler?
Replies: 7
Views: 1716

Re: how to use SPI IRQ Handler?

Hi, ChibiOS SPI driver does not support slave mode, so cannot comment on your changes. One possible problem is chprintf() used in an ISR, depending on what you use as output stream you cannot do that. Giovanni why it doesn't suport? i try directly read spi interface in register level code, not use ...
by laksonobudi
Fri Jul 26, 2019 12:01 pm
Forum: User Projects
Topic: how to use SPI IRQ Handler?
Replies: 7
Views: 1716

Re: how to use SPI IRQ Handler?

anyone could help will apreciate...
by laksonobudi
Fri Jul 26, 2019 4:07 am
Forum: User Projects
Topic: how to use SPI IRQ Handler?
Replies: 7
Views: 1716

how to use SPI IRQ Handler?

hi...i use SPI mode slave in STM32F746. i want to use SPI IRQ Handler to detect interrupt in RXNE flag, how to do that? in my case there is hang when run nvicenablevector function... my SPI setting ================================================================ /* SPI setup and enable.*/ spip->spi-...

Go to advanced search