Search found 1673 matches

by ag123
Tue Feb 27, 2024 8:01 am
Forum: General discussion
Topic: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?
Replies: 2
Views: 1305

Re: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?

officially u'd need to get a stm32f103c{b,B}t6, that one has 128 k per specs, c8 is 64k per specs. So if you think you literally have 128k memory, you can try a variant for 128k e.g. maple mini. The details are actually in the ld script, check in there in the variant. Alternatively, get something li...
by ag123
Mon Feb 26, 2024 3:56 am
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 1874

Re: STM32 hangs when >100khz signal applied to input

try something like a stm32 f4xx (e.g. stm32f401 / f411 ) board, those has the FPU, but that it is for floats only.

other things to try are to move the computation codes into loop() and only use the ISR callback to simply count cycles, e.g. increment a global variable.
by ag123
Wed Feb 21, 2024 1:19 pm
Forum: General discussion
Topic: How to use PC14/PC15 as GPIO on STM32F407VGT6
Replies: 5
Views: 791

Re: How to use PC14/PC15 as GPIO on STM32F407VGT6

PC14 OSC32_IN PC15 OSC32_OUT is normally used for a 32 khz crystal for the RTC. it is probably not a good idea to use them as gpio ports. e.g. there is likely a 'not gate' connecting PC14 to PC15 with some extra stuff. that 'not gate' is literally used as an amplifier, given sufficient conditions e,...
by ag123
Tue Feb 20, 2024 2:00 pm
Forum: General discussion
Topic: Support for 32-bit Windows?
Replies: 3
Views: 865

Re: Support for 32-bit Windows?

The trouble with operating in 32 bits is you need a gcc-none-eabi compiler built for 32 bits. Fortunately, they are there https://developer.arm.com/downloads/-/gnu-rm and not least, you need the full suite of glibs and libs that gcc runs on, along with any libs that the rest of the tools depends on....
by ag123
Tue Feb 20, 2024 1:42 pm
Forum: General discussion
Topic: How to access low level registers or How to set TIM1 to 128Mhz
Replies: 10
Views: 3155

Re: How to access low level registers or How to set TIM1 to 128Mhz

dannyf I think the op kind of mentions that stm32g071 timers can do 128 Mhz. it is something quite interesting to explore, that is practically VHF, FM radio frequencies if you noted. in a sense if that is possible, even for that matter use it as an oscillator, mix it with FM radio waves from an ant...
by ag123
Sun Feb 18, 2024 8:48 pm
Forum: General discussion
Topic: Properly handling timer overflow ?
Replies: 6
Views: 750

Re: Properly handling timer overflow ?

assuming that you are using stm32f103. I think in stm32f103 the timers are 16 bits. but that it has a prescaler which is 16 bits I've not reviewed the codes really. But that keep rm0008 handy as it tells you what is ultimately available in the hardware. https://www.st.com/resource/en/reference_manua...
by ag123
Thu Feb 15, 2024 5:57 am
Forum: General discussion
Topic: How to access low level registers or How to set TIM1 to 128Mhz
Replies: 10
Views: 3155

Re: How to access low level registers or How to set TIM1 to 128Mhz

128 Mhz is probably above the cpu clock frequency e.g. for stm32f103c8 72 Mhz, you can probably at best get like 72 Mhz or more commonly half or less like 36 Mhz. for the 'official' STM core, the wiki is here https://github.com/stm32duino/Arduino_Core_STM32/wiki hardware timer API is documented here...
by ag123
Tue Jan 16, 2024 5:20 am
Forum: General discussion
Topic: Seek assist-Arduino GIGA R1 (STM32H7) RTC usage
Replies: 7
Views: 1533

Re: Seek assist-Arduino GIGA R1 (STM32H7) RTC usage

for this board/chip, note that you would need the 'official' STM core https://github.com/stm32duino/Arduino_Core_STM32 https://github.com/stm32duino/Arduino_Core_STM32/wiki in part has it has the full STM32 HAL stack in tow, a fat footprint, but that is the reason the 'support' is bundled. and you c...
by ag123
Tue Jan 09, 2024 2:23 pm
Forum: General discussion
Topic: Happy new year 2k24
Replies: 5
Views: 1532

Re: Happy new year 2k24

happy new year :)
by ag123
Wed Dec 06, 2023 11:38 am
Forum: General discussion
Topic: #ifdef not working
Replies: 3
Views: 10174

Re: #ifdef not working

it may work if you #include "todayLib.c" instead ( of "todayLib.h" )

Go to advanced search