Problem solved. The wire between the clicker4 and the ST-Link is only 8 cm long but gives a lot of crosstalk . Put the programmer clock to 5 kHz and it works fine.
Mikroe compiler is on my wishlist.
Search found 25 matches
- 01 Jun 2021 09:56
- Forum: mikroC PRO for ARM Wish List
- Topic: STM32CUBE integrated in the workflow ?
- Replies: 18
- Views: 18963
- 31 May 2021 10:04
- Forum: mikroC PRO for ARM Wish List
- Topic: STM32CUBE integrated in the workflow ?
- Replies: 18
- Views: 18963
Re: STM32CUBE integrated in the workflow ?
Hi, I try to program clicker 4 for STM32F767BI with STM32CubeIDE but I'm unable to program the Chip. The chip is recognised, some banks are readable but the option bits RDB are FF and must be AA, Erase the complete chip is also impossible . Default, Boot0 on the board is High but if I put it low, sa...
- 23 Mar 2018 17:21
- Forum: Development Boards
- Topic: OLED EA W162-X3LG
- Replies: 2
- Views: 1856
Re: OLED EA W162-X3LG solved
Problem solved. It took a lot of try but finally, it works. How we patch this 1 Keep your original code for LCD in mikroBasic. 2 In the main: programma add after Lcd_Init() ' Initialize Lcd Delay_ms(50) Lcd_Cmd(0x29) Delay_us(5000) Lcd_Cmd(0x08) Lcd_Cmd(0x06) Lcd_Cmd(0x17) Lcd_Cmd(0x01) Lcd_Cmd(0x02...
- 18 Mar 2018 18:06
- Forum: mikroBasic PRO for PIC General
- Topic: mikroProg Suite
- Replies: 2
- Views: 1013
Re: mikroProg Suite
I thought also in this direction but I was not sure. I have the hex file, so I import in PICkit and program this way the controller.
- 18 Mar 2018 16:12
- Forum: mikroBasic PRO for PIC General
- Topic: mikroProg Suite
- Replies: 2
- Views: 1013
mikroProg Suite
Hallo,
I use mikroBasic Pro for PIC V4.15. I can compile the program for PIC18F45K22 but this microcontroller is not in the library mikroProg Suite if I switch on EasyPIC5. When of I can see it. What can I do?
I use mikroBasic Pro for PIC V4.15. I can compile the program for PIC18F45K22 but this microcontroller is not in the library mikroProg Suite if I switch on EasyPIC5. When of I can see it. What can I do?
- 14 Mar 2018 14:54
- Forum: Development Boards
- Topic: OLED EA W162-X3LG
- Replies: 2
- Views: 1856
Re: OLED EA W162-X3LG
I Wrote the INIT for the OLED like in the datasheet from EA W162-X3LG. After programm the PIC the OLED stay dark. The reason for this is: there is no communication on PORTB (logic analyser show all PORTB output = 0) from the controller if I put LCD_INIT() in comment . Mention also in MikroBasic LCD ...
- 12 Mar 2018 22:20
- Forum: mikroBasic PRO for PIC General
- Topic: A/D conversion of 100mV signal is non linear
- Replies: 4
- Views: 1504
Re: A/D conversion of 100mV signal is non linear
This is a lot of information and I really appreciate it. My intention was to make a simple test-set but very efficient. I thought to convert directly the adjustable DC in the controller but with the problem about accuracy and also I need to average the A/D result it is not so good. I will order 18f4...
- 12 Mar 2018 09:00
- Forum: mikroBasic PRO for PIC General
- Topic: A/D conversion of 100mV signal is non linear
- Replies: 4
- Views: 1504
Re: A/D conversion of 100mV signal is non linear
Thanks for the reply. I use MikroBasic Pro and there is no such command in the library Manager. By the way I try this out in assembler and to check myself I put Vref also on a output pin, measure it and it is correct but the microcontroller mix the input channels. The same code with external Vref wo...
- 09 Mar 2018 17:29
- Forum: Development Boards
- Topic: OLED EA W162-X3LG
- Replies: 2
- Views: 1856
OLED EA W162-X3LG
Hallo, I use EasyPIC5 with mikroBasic PRO V4.15. Microcontroller PIC16F887 on 4Mc, with LCD display, the code based on the example from MIKRO works fine and very stable. The LCD is based on HD44780. If I replace the LCD with OLED EA W162-X3LG who is also based on HD44780 and pin compatible, all char...
- 06 Mar 2018 21:40
- Forum: mikroBasic PRO for PIC General
- Topic: A/D conversion of 100mV signal is non linear
- Replies: 4
- Views: 1504
A/D conversion of 100mV signal is non linear
Hallo I like to convert a signal from 0 to 100mV with PIC16F887 on 5V VCC. It's a 10 bit microcontroller so 5V/1023 is arround 4mV resolution. Is it possible to rise up the resolution to 1mV with Vref? If yes, how do I do this? If I use an external Vref from 1.6 Volt, it works fine if I also average...
- 15 Mar 2012 16:45
- Forum: mikroBasic PRO for PIC General
- Topic: Sinewave
- Replies: 2
- Views: 1585
Re: Sinewave
Thanks a lot Malcolm_M for the advice, I will try it out. The advantage to use a microcontroller is that I know where is the zerocross from the wave even on a DC level. I need this for further calculation with a second controller, so this study will be valuable.
- 14 Mar 2012 18:20
- Forum: mikroBasic PRO for PIC General
- Topic: Sinewave
- Replies: 2
- Views: 1585
Sinewave
I like to create a sinewave from 100 to 25kHz with PIC16F876A on a 16Mhz clock with R2R. The sine is nice but the max frequency is 538Hz using 256 samples to create the waveform. CONFIG :$2007 : 0x2F4A program SineWaveGenerator dim t as byte main: OPTION_REG = %11110000 TRISB = 0 PORTB = 0 loop: for...
- 01 Apr 2011 20:55
- Forum: mikroBasic PRO for PIC General
- Topic: how to handle the USBbuffer when USBcable is disconnected
- Replies: 0
- Views: 949
how to handle the USBbuffer when USBcable is disconnected
Hallo, Does anyone know how to handle the USB buffer when the USB cable is disconnected? I let RS232 and USB running at the same time, but if the cable is disconnected, the PIC18F4455 is waiting . If I plug in the cable, it's running again. I like to have the possibility to choose between RS232 and ...
- 26 Mar 2011 23:29
- Forum: mikroBasic PRO for PIC General
- Topic: Prescaler problem
- Replies: 2
- Views: 1234
Re: Prescaler problem
Dany,
You are great , I found my problem on the site from Rosseeld.be
The configurationword was wrong, my Oscillator definition was "HS:HS+PLL,USB-HS" and it must be "XT:USB-XT".
Now everything works perfect together, RS232, I2C, USB, A/D, LCD, Buttons and Flashmem.
Thanks for the link.
You are great , I found my problem on the site from Rosseeld.be
The configurationword was wrong, my Oscillator definition was "HS:HS+PLL,USB-HS" and it must be "XT:USB-XT".
Now everything works perfect together, RS232, I2C, USB, A/D, LCD, Buttons and Flashmem.
Thanks for the link.
- 26 Mar 2011 00:20
- Forum: mikroBasic PRO for PIC General
- Topic: Prescaler problem
- Replies: 2
- Views: 1234
Prescaler problem
Hi friends, I likes my program work with USB and RS232. I use PIC18F4455 with a 8MHz Xtal . -When I put in the configword "96MHz PLL Prescaler" on " Divide by 2(8MHz input) " The USB port works fine but RS232 is too fast and the data is lost on the RS232 The LCD data is lost (too fast). -When I put ...