Search found 15 matches

by vambwodonk
Thu Jan 05, 2017 4:16 am
Forum: ChibiOS/HAL
Topic: Request UART Driver Receive/Transmit Only.
Replies: 4
Views: 4123

Re: Request UART Driver Receive/Transmit Only.

Thanks for reply,

If your CPU uses the UART2 driver, I use a modified version which gives the option of using only interrupts for the UART transfers - well tested in some specific configurations.
Not quite what you're asking, but might solve the problem in a slightly different way.

Unfortunately ...
by vambwodonk
Wed Jan 04, 2017 8:33 am
Forum: ChibiOS/HAL
Topic: Request UART Driver Receive/Transmit Only.
Replies: 4
Views: 4123

Request UART Driver Receive/Transmit Only.

Any chance UART driver will be split into Receive or Transmit only? Because this will save DMA to another purpose if our project is very complex.
Receive only mcuconf.h will be like this,


#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 5)
#define STM32_UART_USART1_TX_DMA_STREAM OFF ...
by vambwodonk
Tue Jan 19, 2016 10:21 am
Forum: STM32 Support
Topic: Calling stm32 internal bootloader from application
Replies: 9
Views: 13457

Re: Calling stm32 internal bootloader from application

Hi, Geoffroy

Maybe you need more than ChSysDisable(). You need to stop entire OS like this
http://wiki.chibios.org/dokuwiki/doku.php?id=chibios:howtos:stop_os

Tell us if you successful with this project, :D
by vambwodonk
Tue Jan 19, 2016 10:12 am
Forum: ChibiOS/RT
Topic: Demo with static compilation
Replies: 4
Views: 4241

Re: Demo with static compilation

Hi,

Those symbols are part of the startup files so it is a guess, probably it is related to linker garbage collector and/or LTO


after tried Giovanni suggestion, i build successfully but still error if build with -flto option. I compiled main.c with crt1.c, crt0_v7m.S and vectors.c.

Thanks, 8-)
by vambwodonk
Fri Dec 11, 2015 8:00 am
Forum: STM32 Support
Topic: problem with buffer for DAC DUAL
Replies: 7
Views: 5035

Re: problem with buffer for DAC DUAL

Nice update !! :D
by vambwodonk
Wed Nov 25, 2015 8:38 am
Forum: STM32 Support
Topic: problem with buffer for DAC DUAL
Replies: 7
Views: 5035

Re: problem with buffer for DAC DUAL

May i can help you with my oscilloscope?,
if your Oscilloscope not ready yet.

Arif,
by vambwodonk
Fri Nov 13, 2015 12:13 pm
Forum: STM32 Support
Topic: problem with buffer for DAC DUAL
Replies: 7
Views: 5035

problem with buffer for DAC DUAL

Hi,

I'm trying DUAL DAC from TESTHAL but cannot get sine wave output.
I'm using STM32-F4 Discovery. Looks like this,
example.png

then after i see this note:
The buffer is organized as a matrix of M*N elements where M is the
* channels number configured into the conversion group and N is the ...
by vambwodonk
Mon May 04, 2015 9:37 am
Forum: STM32 Support
Topic: UART DMA receive or transmit only
Replies: 4
Views: 3278

Re: UART DMA receive or transmit only

Another solution is to not use UART and SPI at the same time, you can start/stop drivers, DMAs are allocated/freed in start/stop.


i'll try this first, thanks Giovanni.
Arif
by vambwodonk
Mon May 04, 2015 9:14 am
Forum: STM32 Support
Topic: UART DMA receive or transmit only
Replies: 4
Views: 3278

Re: UART DMA receive or transmit only

Hi Giovanni,

You could use the "serial" driver instead of the UART driver, it does not use DMAs

but i need DMA for UART4 receive and SPI2,

Any another solution?

Arif,
by vambwodonk
Mon May 04, 2015 9:08 am
Forum: STM32 Support
Topic: UART DMA receive or transmit only
Replies: 4
Views: 3278

UART DMA receive or transmit only

Hi,

My name is Arif,
I build a project and design PCB with STM32F407 using 4 Serial and 2 SPI. I forgot to open datasheet about DMA mapping,
I confusing about using SPI2 that DMA stream same location with UART3 and UART4. UART3 i used serial driver and not using DMA.
But, for UART4 i used uart ...