Search found 35 matches

by mavrik
03 Oct 2017 18:15
Forum: Visual TFT General
Topic: TFT panel AT043N24
Replies: 3
Views: 2260

Re: TFT panel AT043N24

Thanks !

I list internet and find it.

You can add LTDC driver in VisualTFT ?
by mavrik
01 Oct 2017 08:39
Forum: Visual TFT General
Topic: TFT panel AT043N24
Replies: 3
Views: 2260

TFT panel AT043N24

There is a popular low cost tft panel AT043N24 (480x272).
As it can be used in Visual TFT? Please help.
In the attachment dataset on this panel.
by mavrik
20 Feb 2015 18:58
Forum: mikroC PRO for ARM General
Topic: USB Host Library (MSC) example - STM32F407
Replies: 44
Views: 28354

Re: USB Host Library (MSC) example - STM32F407

Hi, Did you try this example with mikroElektronika HW ? Regards, Filip Hi Filip ! Thanks ! Tried to run on the STM32F4Discovery, as signaling a successful initialization fat32 and connect a flash drive configured the built-in LEDs led3-led6. Works !!! Now I understand why I doesn't work.. the wirin...
by mavrik
20 Feb 2015 13:54
Forum: mikroC PRO for ARM General
Topic: USB Host Library (MSC) example - STM32F407
Replies: 44
Views: 28354

Re: USB Host Library (MSC) example - STM32F407

Hi, With which MCU is it working ? Regards, Filip. Hi, -turn on the device -insert usb flash stick -the controller writes (Flash Connected ...) -then nothing happens and the display clean -eject usb flash stick -the controller writes (Flash Disconnected ...) ....and so all over again. I have tried ...
by mavrik
18 Feb 2015 23:24
Forum: mikroC PRO for ARM General
Topic: USB Host Library (MSC) example - STM32F407
Replies: 44
Views: 28354

Re: USB Host Library (MSC) example - STM32F407

Thanks for the example works with USB flash. I tried this example on the microcontroller STM32F407IGT6, when connecting or disconnecting the stick, the device sees a flash drive, and then nothing happens, do not understand what triggers USBHost_MSCApplication() .. the execution does not reach this p...
by mavrik
26 Mar 2014 12:08
Forum: mikroC PRO for ARM General
Topic: uart problem in stm32f103c4
Replies: 6
Views: 2851

Re: uart problem in stm32f103c4

Hi, For the baud rate of 115200, the USART1_BRR value that I get in the software simulator is 0x138 for both STM32F103C4 and STM32F103C4 with the same clock configuration as yours. I will try this on real hardware and see the results there. Regards, Filip. thanks Filip ! made more accurate measurem...
by mavrik
21 Mar 2014 19:02
Forum: mikroC PRO for ARM General
Topic: uart problem in stm32f103c4
Replies: 6
Views: 2851

Re: uart problem in stm32f103c4

Resolve the problem by writing directly to the register BRR I tried to configure at multiple speeds, everything works correctly. //Uart test on STM32F103C4T6A void main() { UART1_Init(1);Delay_ms(100); //BRR=(Fapb2/Fuart)/16 //BRR=(36000000/115200)/16=19.53125 //19 = 0x13 //0.53125*16=8.5 ~9 //BRR=0...
by mavrik
21 Mar 2014 12:05
Forum: mikroC PRO for ARM General
Topic: uart problem in stm32f103c4
Replies: 6
Views: 2851

Re: uart problem in stm32f103c4

Today I tried to do the same in the microcontroller SMT32F103RBT6, the uart is working correctly without errors at the specified speed. So I guess there's some bug in the compiler related with operation of the uart in STM32F103C4T6. _____ my compiler microC PRO for ARM v.4.2.0 (USB Key) tried replac...
by mavrik
20 Mar 2014 14:20
Forum: mikroC PRO for ARM General
Topic: uart problem in stm32f103c4
Replies: 6
Views: 2851

Re: uart problem in stm32f103c4

Send only one letter in your while(1) with 1second of delay and check the baudrate with an oscilloscope. void main() { UART1_Init(19200); Delay_ms(500); while(1) { UART1_Write_Text("A"); Delay_ms(1000); } } thanks ! ------------------- I checked the actual speed and was very surprised I send this b...
by mavrik
19 Mar 2014 21:44
Forum: mikroC PRO for ARM General
Topic: uart problem in stm32f103c4
Replies: 6
Views: 2851

uart problem in stm32f103c4

i run this code:

Code: Select all

void main() {
 UART1_Init(19200);Delay_ms(500);
 UART1_Write_Text("123456789");
 
 while(1)
 {
 }
}
and get the following bytes back to the terminal: 61 C9 32 42 52 62 72 82 92 FE

my setup in edit project
editpr.jpg
editpr.jpg (346.61 KiB) Viewed 2851 times
I don't understand what the problem is
please help !
by mavrik
26 Feb 2014 22:36
Forum: mikroC PRO for ARM General
Topic: Configure interrupt
Replies: 0
Views: 1442

Configure interrupt

Where you can read how to properly configure these registers ? RCC_APB2ENR.AFIOEN = 1; // Enable clock for alternate pin functions AFIO_EXTICR3 = 0x0300; // PD10 as External interrupt EXTI_RTSR = 0x00000400; // Set interrupt on Rising edge EXTI_IMR |= 0x00000400; // Set mask I searched the help of M...
by mavrik
21 Nov 2013 09:28
Forum: mikroC PRO for ARM General
Topic: SDIO/FAT Access
Replies: 16
Views: 9492

Re: SDIO/FAT Access

Hi !

Tried to start the timer 3 when SDIO is not initialized at the output of a normal rectangel signal.
DSO 001.jpg
DSO 001.jpg (40.13 KiB) Viewed 7867 times
When you initialize the SDIO the signal is distorted.
DSO 002.jpg
DSO 002.jpg (41.19 KiB) Viewed 7867 times
Do you think what could be wrong?
by mavrik
19 Nov 2013 18:56
Forum: mikroC PRO for ARM General
Topic: SDIO/FAT Access
Replies: 16
Views: 9492

Re: SDIO/FAT Access

too, at first did not work.
it turned out that connected the wrong sd card .. the diagram shows the microsd card and I use a standard SD card.
Made a small file pinout card and its connection to the stm.
by mavrik
15 Nov 2013 12:46
Forum: mikroC PRO for ARM General
Topic: SysTick 24 bit timer on STM
Replies: 1
Views: 2333

SysTick 24 bit timer on STM

Does anyone have an example of using the timer SysTick.
Need to load a value to and work with the interruption after resetting the counter.

Thanks,

Go to advanced search