Search found 158 matches

by Thomas.Pahl@t-online.de
02 Nov 2023 11:11
Forum: mikroPascal PRO for AVR General
Topic: var instead of const
Replies: 1
Views: 344

Re: var instead of const

use Vdelay_ms() instead
by Thomas.Pahl@t-online.de
06 Oct 2023 17:55
Forum: ARM AI Compilers
Topic: standby or deepsleep mode for stm32f103
Replies: 2
Views: 420

Re: standby or deepsleep mode for stm32f103

with stm32f407 i do the following:

Code: Select all

SLEEPDEEP_Bit = 1
asm
       wfi
end asm
if your chip has a similar mechanism i do not know.

recovery from standby is not so simple since the 407 starts with internal RC-oscillator and a call to the startup sequence is necessary.
by Thomas.Pahl@t-online.de
14 Sep 2023 18:37
Forum: mikroC PRO for PIC General
Topic: I2C detect?
Replies: 1
Views: 283

Re: I2C detect?

Perhaps there is a better way but my way is simple. I have a project where i scan the whole 127 adresses with the soft i2c library on the pins of the hardware i2c. After the scan i initiate the hardware i2c. check if there is an error writing to an adress Soft_I2C_Start() error = Soft_I2C_Write((adr...
by Thomas.Pahl@t-online.de
16 Aug 2023 12:30
Forum: mikroBasic PRO for ARM General
Topic: STM8S103F3P6 trouble
Replies: 1
Views: 418

Re: STM8S103F3P6 trouble

Last time i used microbasic for arm, it was for 32Bit Processors only.
by Thomas.Pahl@t-online.de
24 May 2023 13:01
Forum: IDE Wish List
Topic: Full language support
Replies: 3
Views: 1244

Re: Full language support

Perhaps chatgpt5 or 6 can implement basic and pascal in the near future.
ME may then close their business.
by Thomas.Pahl@t-online.de
22 May 2023 19:16
Forum: Development Boards
Topic: Is SPI setup the same on 87K22 and 45K22?
Replies: 3
Views: 566

Re: Is SPI setup the same on 87K22 and 45K22?

Hi, I do not know that chip at all - so my answer is probably totally wrong :D

My first thaught was: pin mapping

Sorry if I wasted this room.
by Thomas.Pahl@t-online.de
03 May 2023 14:29
Forum: mikroBasic PRO for ARM General
Topic: STM32F411 needs more than 100 clocks for an ISR call and return
Replies: 2
Views: 777

Re: STM32F411 needs more than 100 clocks for an ISR call and return

The 411 is made for 100MHz. I haven't tested it with 168MHz. It is possible that the startup routine tests the flash timing and adds extra waiting clocks. If you need calculating power, take the 407. I have got it running at 240MHz.
by Thomas.Pahl@t-online.de
31 Dec 2022 13:44
Forum: mikroC PRO for ARM General
Topic: Trying to make sense of mapping external interrupts to a single pin
Replies: 14
Views: 1717

Re: Trying to make sense of mapping external interrupts to a single pin

The only information needed for this is the reference manual, chapter 12 'interrupts and events' page 371.
by Thomas.Pahl@t-online.de
15 Dec 2022 15:51
Forum: mikroC PRO for PIC General
Topic: Conversion Library bytetostr ecc. not working
Replies: 4
Views: 1400

Re: Conversion Library bytetostr ecc. not working

Did you:
Screenshot.png
Screenshot.png (16.36 KiB) Viewed 1350 times
by Thomas.Pahl@t-online.de
30 Nov 2022 16:58
Forum: mikroPascal PRO for PIC32 General
Topic: PIC32 devices not listed in new instal
Replies: 2
Views: 1337

Re: PIC32 devices not listed in new instal

use micro c pro for pic32 or the new necto studio where this compiler is integrated.
by Thomas.Pahl@t-online.de
02 Oct 2022 16:37
Forum: ARM AI Compilers
Topic: ARM STM32F415RG Bootloader & Applications
Replies: 1
Views: 1057

Re: ARM STM32F415RG Bootloader & Applications

compiler uses memory adress from 0x00000000 which is the mirrored FLASH ROM space via ITCM-Interface

so org the start adress to 0x00010000
by Thomas.Pahl@t-online.de
28 Sep 2022 18:57
Forum: mikroPascal PRO for AVR Beta Testing
Topic: 7.0.1 BUG
Replies: 1
Views: 1339

Re: 7.0.1 BUG

use mikrobasic :D this "bug" isn't there.
by Thomas.Pahl@t-online.de
22 Sep 2022 18:32
Forum: mikroC PRO for AVR General
Topic: Convert HEX to CHAR?
Replies: 1
Views: 1155

Re: Convert HEX to CHAR?

0x53 is the char S ??

Code: Select all

Lcd_Chr_Cp(0x53)
(Basic Language)

prints it on LCD
by Thomas.Pahl@t-online.de
20 Sep 2022 14:43
Forum: mikroC PRO for ARM General
Topic: passing a sbit to a function
Replies: 3
Views: 892

Re: passing a sbit to a function

a bit has no adress
perhaps pass the port and the bit number

Go to advanced search