Search found 25 matches

by Spider
Sun Jul 08, 2018 3:05 pm
Forum: STM32 Support
Topic: Can't WakeUp from StandBy by RTC on STM32F103xB
Replies: 3
Views: 2129

Re: Can't WakeUp from StandBy by RTC on STM32F103xB

Thx, but STM32F1xx haven't periodic RTC configuration. As I understand MCU can wake up from standby mode my Alarm from RTC. But I my case don't. I rebuild code to wake-up (reset) by IWDG after calling wfi, but this is bad suggestions. Why RTC alarm not work? May be I must addition LSI configuration ...
by Spider
Sun Jul 08, 2018 10:20 am
Forum: STM32 Support
Topic: Can't WakeUp from StandBy by RTC on STM32F103xB
Replies: 3
Views: 2129

Can't WakeUp from StandBy by RTC on STM32F103xB

Hello, all! I'm trying to build battery device with periodic wakeup by internal RTC or By Button press. Most of all time device in StandBy mode. And I need to wake up every 2 seconds do to some thing and return to StandBy. But Device don't waking up every two seconds, only by Button (rissing edge on...
by Spider
Sat Jun 09, 2018 5:45 am
Forum: Bug Reports
Topic: error: 'USART_CR1_OVER8' undeclared Topic is solved
Replies: 1
Views: 1821

error: 'USART_CR1_OVER8' undeclared Topic is solved

Hello! Today I'am hase added ChibiOS as submodule to my project git. Aftre trying to rebuild from "clean" state i received error: error: 'USART_CR1_OVER8' undeclared Compiling board.c ../ChibiOS/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c: In function 'usart_init': ../ChibiOS/o...
by Spider
Fri May 11, 2018 5:17 pm
Forum: ChibiOS/HAL
Topic: Can't enable PWM on STM32F103
Replies: 6
Views: 3531

Re: Can't enable PWM on STM32F103

FXCoder wrote:The configuration is set for channel 2.
The code is enabling channel 3?

Why? :o
by Spider
Wed May 09, 2018 1:07 pm
Forum: ChibiOS/HAL
Topic: Can't enable PWM on STM32F103
Replies: 6
Views: 3531

Re: Can't enable PWM on STM32F103

What about in function?
palSetPadMode(GPIOA, GPIOA_BEEP, PAL_MODE_STM32_ALTERNATE_PUSHPULL);
by Spider
Wed May 09, 2018 1:01 pm
Forum: ChibiOS/HAL
Topic: Can't enable PWM on STM32F103
Replies: 6
Views: 3531

Can't enable PWM on STM32F103

Hello! I'm trying to enable PWM on TIM2_CH3, but can't. Yes, I know that ChibiOS use TIM2 for systemticks, but I'm writing FW for already completed board. What I have: ⋅ STM32F103RBT6 based board ⋅ No external OSCILATORS, only HSI ⋅ Buzzer on PA2 /* * HAL driver system ...
by Spider
Sun Sep 17, 2017 6:00 pm
Forum: ChibiOS/HAL
Topic: STM32F105CB as USB Device not detected
Replies: 1
Views: 1803

STM32F105CB as USB Device not detected

Hello. How to force host to enumerate my device? I use my custom board where only D+ and D- connected to USB, no VBUS lines. D+ pulled up to VCC via 1,5kOm. Now I has configured and build USB_CDC_F107 for by board, but when I connecting my device to host nothing happened. btw code generated by STM32...
by Spider
Sun Sep 13, 2015 7:01 am
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 13367

Re: USB Audio Device - Stm32f4Discovery

Hello, Giovanni!

Any change re: isochronous endpoint support, or USB Audio Device class support?
I'm trying to make USB Microphone on STM32F103, but my device don't Configured my USB bus. Seem like usbInitEndpointI(usbp, AUDIO_STREAM_EPNUM, &epAudioconfig); have no effect.
by Spider
Wed Sep 09, 2015 3:34 pm
Forum: General Support
Topic: i2c "not ready" What I do wrong?
Replies: 7
Views: 3525

Re: i2c "not ready" What I do wrong?

Change code to: static msg_t touchWrite(I2CDriver *i2cd, uint8_t addr, uint8_t data) { uint8_t buffer[2] = {addr & 0x3F, data}; msg_t status = MSG_OK; i2cAcquireBus(i2cd); while ((status = i2cMasterTransmitTimeout(i2cd, sxaddress >> 1, buffer, 2, NULL, 0, MS2ST(10)))==MSG_TIMEOUT) { i2cd->state ...
by Spider
Wed Sep 09, 2015 2:56 pm
Forum: General Support
Topic: i2c "not ready" What I do wrong?
Replies: 7
Views: 3525

Re: i2c "not ready" What I do wrong?

Thx.

1. Now state LOCKED with TIMEOUT result but I sure that sometimes state was UNINIT.... Strange...

Go to advanced search