Search found 18 matches

by halba
Sat Jun 13, 2015 1:40 pm
Forum: General Support
Topic: chTimeNow() in 3.0.0
Replies: 1
Views: 2017

chTimeNow() in 3.0.0

Hi Giovanni,

What is equivalent of chTiemNow() function in v 3.0.0?

Thanks,
halba
by halba
Mon Jun 01, 2015 6:13 pm
Forum: STM32 Support
Topic: 2 ICU on one timer STM32F072C8
Replies: 1
Views: 1703

2 ICU on one timer STM32F072C8

Hello Giovanni,

Is it possible to have two independent ICU from channel 1 and 2 on one timer? If I run ICU on one channel, it is working properly, but I am not able to run ICU on two channels on one timer. I thought that this implementation will not work, but just for illustration to be clear what ...
by halba
Sun May 31, 2015 5:20 pm
Forum: STM32 Support
Topic: STM32_ST_TIM
Replies: 1
Views: 1746

STM32_ST_TIM

Hello Giovanni,

I need to use different timer than timer 2 for STM32_ST_TIM on the STM32F072C8 and there is no other 32-bit timer. Can I use 16-bit timer? What is the limitation? Can I eventually use the RTC?

Thanks,
halba
by halba
Fri May 29, 2015 3:45 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

Problem solved, I rewrote the USBEndpointConfig when I was experimenting with HID class, anyway thank you for your help. I appreciate it a lot.

Thanks,
halba
by halba
Fri May 29, 2015 3:39 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

system went to the unhandled exception from _usb_isr_invoke_out_cb
by halba
Fri May 29, 2015 3:19 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

Another observation, I was trying to send some data from PC to embedded side, the data (5 chars) are received to the iqueue and ib, but the system is stuck on the unhandled exception. Can I somehow figure out what is the reason? It seems that some interrupts aren't properly assigned.
by halba
Fri May 29, 2015 2:38 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

I didn't try the original demo, will check it later, what is the fastest way to run it in the IAR? Or should I install ChibiStudio? After enabling the system checks I there is no error related to USB, I just fixed some error related to CAN filters. Thank you for your help.
by halba
Fri May 29, 2015 1:40 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

It doesn't matter if there is opened terminal (RealTerm) or not, I was trying also only with some USB sniffer (USBlyzer) and even without sniffer and the behavior is always same.
by halba
Fri May 29, 2015 12:44 pm
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

CDC_oqueue.png

I do nothing special after chprintf is called, there is only periodically updated display through SPI, scanned buttons and that is all. Shoul I call something after chprintf? Here is whole main, it is little bit mess, I am just verifying peripherals:
/*
ChibiOS - Copyright (C ...
by halba
Fri May 29, 2015 11:41 am
Forum: STM32 Support
Topic: STM32F072C8 USB CDC
Replies: 12
Views: 9619

Re: STM32F072C8 USB CDC

Yes, I can see it like the STMicroelectronics Virtual COM Port (COM3). The ST stsw-stm32102_commPortDriver v1.4.0 driver is installed.
CDC_ob.png
CDC_ob.png (25.17 KiB) Viewed 7775 times
The rest of the ob are 0.