At this point, i don't know why are you getting those errors.
My first guess is that core is not properly installed or selected.
Try to compile blink sketch from File->>examples->basics->blink
Search found 144 matches
- Tue Dec 13, 2022 7:50 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1918
- Tue Dec 13, 2022 3:43 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1918
Re: STM32 TVOUT
I tried TNTSC libray with MisakiFontOut.ino and stm32_DemoNTSC.ino from TTVout library and it compiled without errors on my PC.
Arduino IDE 1.8.19 and Generic STM32F103C board...
Are you using Arduino 2.0 IDE ?
Arduino IDE 1.8.19 and Generic STM32F103C board...
Are you using Arduino 2.0 IDE ?
- Sat Dec 10, 2022 5:01 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1918
Re: STM32 TVOUT
Place TNTSC library in library folder, so full path will be: C:\Users\15183\Documents\Arduino\libraries\TNTSC
NOT in core library folder ( C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC )
NOT in core library folder ( C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC )
- Mon Nov 21, 2022 9:12 pm
- Forum: General discussion
- Topic: possible to direct access RNG registers of 32F411 via arduino-ide?
- Replies: 11
- Views: 1948
Re: possible to direct access RNG registers of 32F411 via arduino-ide?
I don't think F411 have that feature.
Quick search for "RNG" in CMSIS:
19 out of 24 do have it, but F411 is not one of them.
Either use noise from analog input, as ag123 suggested, or implement some LFSR in timer interrupt.
Quick search for "RNG" in CMSIS:
19 out of 24 do have it, but F411 is not one of them.
Either use noise from analog input, as ag123 suggested, or implement some LFSR in timer interrupt.
- Mon Nov 21, 2022 4:05 pm
- Forum: General discussion
- Topic: possible to direct access RNG registers of 32F411 via arduino-ide?
- Replies: 11
- Views: 1948
Re: possible to direct access RNG registers of 32F411 via arduino-ide?
CMSIS definition from https://github.com/stm32duino/Arduino_Core_STM32/blob/main/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h I think this should be enough: // Write to register RNG -> CR = 0; RNG -> CR = (RNG -> CR ) | RNG_CR_RNGEN; // enable bit RNG -> CR |= RNG_CR_RNGEN; // enab...
- Thu Oct 06, 2022 7:01 pm
- Forum: General discussion
- Topic: Real quicky, Which timer is safe to use?
- Replies: 7
- Views: 5100
Re: Real quicky, Which timer is safe to use?
Almoust as bluepill. Your board just don't have Timer4 compared to bluepill. But RM0008 apply to your board too.
I am not familiar wirh Roger's core DMA syntax, but i'm pritty sure there must some command to set lenght of DMA transfers ( for CNDTR register).
I am not familiar wirh Roger's core DMA syntax, but i'm pritty sure there must some command to set lenght of DMA transfers ( for CNDTR register).
- Thu Oct 06, 2022 6:28 pm
- Forum: General discussion
- Topic: Real quicky, Which timer is safe to use?
- Replies: 7
- Views: 5100
Re: Real quicky, Which timer is safe to use?
I was experiment with DMA to ODR, but with official core, and directly with registers. From what i understand, on bluepill, you can only use DMA1 to send either PortA or PortB, not both. In your example, dma_setup_transfer(DMA1, DMA_CH0, &GPIOA->regs->ODR, DMA_SIZE_16BITS, &dataA[step], DMA_...
- Fri Sep 02, 2022 7:12 pm
- Forum: General discussion
- Topic: STM32L0 - how to check available RAM memory
- Replies: 3
- Views: 1972
Re: STM32L0 - how to check available RAM memory
I once found same thing in SdFat library, called "FreeStack.h" From that, simple sketch should work (at least at STM32F1/4): // from SDfat library extern "C" char* sbrk(int incr); // free RAM (actually, free stack inline uint32_t FreeBytes() { char top = 't'; return &top - re...
- Sun May 15, 2022 10:02 am
- Forum: Projects
- Topic: How do I adapt this 8 bit ladder DAC for STM32F401 Black Pill?
- Replies: 7
- Views: 4005
Re: How do I adapt this 8 bit ladder DAC for STM32F401 Black Pill?
just 2 cents, if you are changing all the bits in one go, you may as well use ODR. for BSRR, to do the same, it may be 2 transactions, first reset all bits, then set the bits again separately. the alternate would be to do things like GPIOA->BSRR = value | (~ value << 16); I agree. In this case (R2R...