Search found 10 matches

by mkengineering
Wed Sep 30, 2020 9:10 pm
Forum: General discussion
Topic: Default STM32F303 ADC Parameters
Replies: 0
Views: 134

Default STM32F303 ADC Parameters

Hello Everyone,

I'm working on a project with the Robotdyn STM32F303 Blackpill and I was wondering what the default parameters are set to for the ADC (i.e. Clock Frequency, Sample Time, Resolution). I can't seem to locate this information in the wiki.
by mkengineering
Tue Sep 08, 2020 12:50 am
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

Thanks for the help on this guys!
Here's the final version of my ILI9486 library for STM32duino.
https://github.com/mkengineering/STM32_ILI9486_8_bit
I also ported over some popular examples for the Adafruit TFTs.
by mkengineering
Mon Aug 24, 2020 3:40 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

I did not check all the code anyway did you enabled all the required GPIO clock ? Ahh! That makes much more sense now. I didn't enable the GPIOA / GPIOB clocks in the APB2ENR register anywhere in my code, causing the display not to init properly. When Serial is enabled, it must init APB2 (also used...
by mkengineering
Fri Aug 21, 2020 10:50 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

Have you tried SLOW_WRITE with 1? I modified write8 for the SLOW_WRITE option using digitalWrite, same issue. So then it isn't the GPIO access method? Revised header file: // Graphics library by ladyada/adafruit with init code from Rossum // MIT license #ifndef _ADAFRUIT_TFTLCD_8BIT_STM32_H_ #defin...
by mkengineering
Fri Aug 21, 2020 5:03 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

I'm still just kind of dumbfounded at how it works perfectly fine as long as U(S)ART is enabled and there's a Serial.begin() in the sketch. Is there anything else setup / changed when that peripheral is enabled?
by mkengineering
Fri Aug 21, 2020 4:43 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

I went ahead and revised the gpio access method a little to match some of the HAL based STM32 projects I've seen in the past. Header: // Graphics library by ladyada/adafruit with init code from Rossum // MIT license #ifndef _ADAFRUIT_TFTLCD_8BIT_STM32_H_ #define _ADAFRUIT_TFTLCD_8BIT_STM32_H_ #inclu...
by mkengineering
Fri Aug 21, 2020 4:03 am
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

I went through the entire library and I was only able to find some commented out Serial.print() from earlier debugging, which I decided to delete. Here are the two main files: CPP: // Graphics library by ladyada/adafruit with init code from Rossum // MIT license #include "Adafruit_TFTLCD_8bit_STM32....
by mkengineering
Wed Aug 19, 2020 6:22 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

Re: 8 Bit TFT Library Issue

Update: I went ahead and swapped the display out with another 3.5" ILI9486 display I had lying around, same issue. I also swapped out the blue pill I was using, same issue. I then tried updating my version of the STM32duino Core, same issue. I also spent some time messing with other upload options a...
by mkengineering
Tue Aug 18, 2020 3:09 pm
Forum: Libraries & Hardware
Topic: 8 Bit TFT Library Issue
Replies: 15
Views: 2142

8 Bit TFT Library Issue

Hello All, I recently ported Steve's 8 Bit Parallel TFT library to the new ST core here . The library seems to work well (I'm currently using it for a 320x480 4" ILI9486 display, using the ILI9341 init) but, for some reason, in order for the display to properly initialize it requires me to enable US...
by mkengineering
Thu Apr 30, 2020 8:58 pm
Forum: General discussion
Topic: "error: 'GPIOA' does not name a type"
Replies: 1
Views: 461

"error: 'GPIOA' does not name a type"

Hello, I'm currently working on porting the Adafruit 8 bit parallel tft library to stm32duino but I'm running into some issues when compiling. Here is the full error: In file included from C:\Users\Mike\Documents\Arduino\libraries\TFTLCD-Library-master\Adafruit_TFTLCD.cpp:8:0: C:\Users\Mike\Document...

Go to advanced search