Hello!
On ChibiOS/RT 20.3 (m) I'm trying to switch system timer to 64 bit mode.
If system tick frequency is 10 000 everything works. But if I change it to 1000 000 (I need 1 microsecond time precision) or even 100 000, then everything goes wrong, e.g. chThdSleep() sleeps for incorrect time (and ...
Search found 6 matches
- Fri Jan 29, 2021 11:01 pm
- Forum: ChibiOS/RT
- Topic: 64bit system timer issues
- Replies: 2
- Views: 4019
- Mon Aug 10, 2020 10:27 pm
- Forum: STM32 Support
- Topic: I2C issue on STM32F103
- Replies: 5
- Views: 5202
Re: I2C issue on STM32F103
I have the same issue on STM32F103RC. Any official solution for this?
- Sun Oct 21, 2018 8:21 pm
- Forum: ChibiOS/HAL
- Topic: Access to I2C from ISR handler in HAL without RTOS
- Replies: 2
- Views: 3362
Re: Access to I2C from ISR handler in HAL without RTOS
Thank you! Will try with events.
First I wanted to use NIL kernel, and 3 threads (GPIO, UART, I2C), but then how to go to STOP mode? As I understand I need to synchronize all threads before going to STOP. Also I make decision to STOP or not according to state of variables in all threads. To do ...
First I wanted to use NIL kernel, and 3 threads (GPIO, UART, I2C), but then how to go to STOP mode? As I understand I need to synchronize all threads before going to STOP. Also I make decision to STOP or not according to state of variables in all threads. To do ...
- Thu Oct 18, 2018 10:53 pm
- Forum: ChibiOS/HAL
- Topic: Access to I2C from ISR handler in HAL without RTOS
- Replies: 2
- Views: 3362
Access to I2C from ISR handler in HAL without RTOS
Hello!
I have device on STM32L051 (battery monitor) that uses I2C, UART and GPIO, now implemented using STM32 HAL.
Most of time CPU is in STOP mode, wakes up by EXTI 4 times per second, makes I2C transmission and sleeps again.
On STM32 HAL I work with I2C from EXTI handler with no problems.
Now I ...
I have device on STM32L051 (battery monitor) that uses I2C, UART and GPIO, now implemented using STM32 HAL.
Most of time CPU is in STOP mode, wakes up by EXTI 4 times per second, makes I2C transmission and sleeps again.
On STM32 HAL I work with I2C from EXTI handler with no problems.
Now I ...
- Mon Oct 24, 2016 9:51 pm
- Forum: Development and Feedback
- Topic: USB Mass Storage Device
- Replies: 112
- Views: 112184
Re: USB Mass Storage Device
@DeusExMachina, thanks a lot, now it works fine!
But is it possible to run HighSpeed USB on STM32F427VI? Datasheet says that it's supported: "USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI". Could you point me how to do this?
But is it possible to run HighSpeed USB on STM32F427VI? Datasheet says that it's supported: "USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI". Could you point me how to do this?
- Sat Oct 22, 2016 9:39 pm
- Forum: Development and Feedback
- Topic: USB Mass Storage Device
- Replies: 112
- Views: 112184
Re: USB Mass Storage Device
Hi all!
First of all thanks a lot for the great OS and MSD driver!
I'm trying to run code of DeusExMachina from m but on ChibiOS 3.
I had to make only two changes (uncomment usbPrepareReceive/usbPrepareTransmit) and it works fine on Windows XP.
But not on Mac OS (10.9.5), dmesg doesn't show ...
First of all thanks a lot for the great OS and MSD driver!
I'm trying to run code of DeusExMachina from m but on ChibiOS 3.
I had to make only two changes (uncomment usbPrepareReceive/usbPrepareTransmit) and it works fine on Windows XP.
But not on Mac OS (10.9.5), dmesg doesn't show ...