Search found 25 matches
- 14 Dec 2021 20:19
- Forum: mikroC PRO for ARM General
- Topic: Internal RTC STM32F030R8T6
- Replies: 5
- Views: 1522
Re: Internal RTC STM32F030R8T6
Hi Darko, After a long time I managed to boot, configure and read. Thanks for the help and I'm submitting my code below to maybe help other users. void initInternalRTC(void){ /* Update LSE configuration in Backup Domain control register */ /* Requires to enable write access to Backup Domain of neces...
- 07 Dec 2021 18:23
- Forum: mikroC PRO for ARM General
- Topic: Internal RTC STM32F030R8T6
- Replies: 5
- Views: 1522
Re: Internal RTC STM32F030R8T6
Thank you for your return Darko, But I will just use the LSE (external crystal 32.768) for greater accuracy of the RTC. Using LSI I managed to configure the RTC registers successfully and got a 1Hz update, but changing the clock to LSE was not successful. I believe that the hardware is not the probl...
- 01 Dec 2021 21:00
- Forum: mikroC PRO for ARM General
- Topic: Internal RTC STM32F030R8T6
- Replies: 5
- Views: 1522
Internal RTC STM32F030R8T6
Hello everyone! I am having difficulty starting the internal RTC of the STM32F030R8T6. I'm submitting the initialization code and the reading code below. I am grateful if anyone has any suggestions. = D void initInternalRTC(void){ /* (1) Write access for RTC registers */ /* (2) Enable init phase */...
- 15 Sep 2020 12:45
- Forum: mikroC PRO for PIC General
- Topic: OLED example compiling/redefinition error
- Replies: 4
- Views: 2072
Re: OLED example compiling/redefinition error
I ported it to the STM32F0 and it worked very well also on the OLED SSD1306 128x64 display.
It should be made available at Libstock.
Thank You!
It should be made available at Libstock.
Thank You!
- 14 Sep 2020 11:50
- Forum: mikroC PRO for ARM General
- Topic: Work with 128x64 Oled Display.
- Replies: 1
- Views: 720
Re: Work with 128x64 Oled Display.
I managed to use the entire Display using the code for this site: https://simple-circuit.com/ssd1306-oled-mikroc-library/
- 09 Sep 2020 21:13
- Forum: mikroC PRO for ARM General
- Topic: Work with 128x64 Oled Display.
- Replies: 1
- Views: 720
Work with 128x64 Oled Display.
Hello I am currently running the example "Oled W Click" on a 128x64 display. Everything is working, just because I can't use the display completely, because the library is for a display with 96 x 39 resolution. How can I do to adjust the library for the 128x64 display. I appreciate any help you can ...
- 21 Mar 2019 17:31
- Forum: mikroC PRO for ARM General
- Topic: how to enter stm32f030 sleep mode
- Replies: 5
- Views: 2661
Re: how to enter stm32f030 sleep mode
Hi Filip,
I want to operate the microcontroller in low power mode, and wake it up when there is an external interrupt.
But I'm not having success.
I want to operate the microcontroller in low power mode, and wake it up when there is an external interrupt.
But I'm not having success.
- 18 Mar 2019 13:59
- Forum: mikroC PRO for ARM General
- Topic: how to enter stm32f030 sleep mode
- Replies: 5
- Views: 2661
Re: how to enter stm32f030 sleep mode
I also want to operate the microcontroller in sleep mode.
I tried to make my implementation but I did not succeed.
If you can provide a simple example would be a great help.
I tried to make my implementation but I did not succeed.
If you can provide a simple example would be a great help.
- 13 Feb 2019 13:32
- Forum: mikroC PRO for ARM Wish List
- Topic: Support the new STM32G0 family
- Replies: 1
- Views: 1740
Support the new STM32G0 family
Do you have any information to update Mikroc to support the new STM32G0 family?
Thank you!
Thank you!
- 21 Aug 2018 20:28
- Forum: mikroC PRO for ARM General
- Topic: I2C locking after reading.
- Replies: 2
- Views: 3225
Re: I2C locking after reading.
You're correct, I'm using STM32VLDISCOVERY. I was able to perform the communication via I2C by software, but I would like to use the library because this sensor has a complex configuration and reading. unsigned short take; char system_init(void){ Soft_I2C_Init(); Soft_I2C_Start(); Soft_I2C_Write(0x7...
- 20 Aug 2018 20:33
- Forum: mikroC PRO for ARM General
- Topic: I2C locking after reading.
- Replies: 2
- Views: 3225
I2C locking after reading.
Hello everyone, I am using the STM32F100RB to communicate with the "IR Gesture" module that has the APDS-9960. The problem that is occurring is when I use the I2C1_Read function in the APDS, after reading the STM32 hangs and does not return from the function. I am sending the code below and the imag...
- 22 Mar 2017 12:28
- Forum: mikroC PRO for ARM General
- Topic: Access files within FAT32 directories.
- Replies: 2
- Views: 3777
Re: Access files within FAT32 directories.
After a search time, I understood that the FT32_ChangeDir function is responsible for this.
Case solved.
Case solved.
- 21 Mar 2017 21:42
- Forum: mikroC PRO for ARM General
- Topic: Access files within FAT32 directories.
- Replies: 2
- Views: 3777
Access files within FAT32 directories.
Hello everyone I'm using the FAT32 routines with MIKROC for ARM, all of the routines are working properly and writing to SD card files and directories, I just want to know how I can record and store a file inside a directory. Because I tried with the FAT32_open routine and it did not work. Exemple: ...
- 24 Feb 2017 19:36
- Forum: mikroC PRO for ARM General
- Topic: Changing the connection mode automatically (STM32F1 problem)
- Replies: 5
- Views: 7496
Re: Changing the connection mode automatically (STM32F1 prob
Hello,
The debugger mode was not working, because in the "Edit Project" the "Build Type" option was in "Release", changing to the "Debug" option worked correctly.
Thank you for your attention.
The debugger mode was not working, because in the "Edit Project" the "Build Type" option was in "Release", changing to the "Debug" option worked correctly.
Thank you for your attention.
- 24 Feb 2017 12:33
- Forum: mikroC PRO for ARM General
- Topic: Changing the connection mode automatically (STM32F1 problem)
- Replies: 5
- Views: 7496
Re: Changing the connection mode automatically (STM32F1 prob
Danilo,
And about not working in debugger mode, would you have any suggestions I might try to make to run the debugger?
And about not working in debugger mode, would you have any suggestions I might try to make to run the debugger?