I think I need more sleep...
I just realized I had been updating the header file without it saving to my arduino folder.
It works now! I removed the AFR configuration as well as some of the other setup as it seems to work fine without it.
Here is my revised header file:
// Graphics library by ...
Search found 12 matches
- Wed Nov 04, 2020 3:16 am
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
- Tue Nov 03, 2020 8:20 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
Re: 8 Bit TFT Library Issue
Hello Everyone,
Recently I started messing with a Robotdyn STM32F303 board for a project which I intended to use with my display library. Though, I seem to be having some issues with the macro definitions again :cry: . The STM32F303 seems to be quite different with regard to gpio access. As a ...
Recently I started messing with a Robotdyn STM32F303 board for a project which I intended to use with my display library. Though, I seem to be having some issues with the macro definitions again :cry: . The STM32F303 seems to be quite different with regard to gpio access. As a ...
- Wed Sep 30, 2020 9:10 pm
- Forum: General discussion
- Topic: Default STM32F303 ADC Parameters
- Replies: 1
- Views: 2496
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.
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.
- Tue Sep 08, 2020 12:50 am
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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.
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.
- Mon Aug 24, 2020 3:40 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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 ...
- Fri Aug 21, 2020 10:50 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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 ...
- Fri Aug 21, 2020 5:03 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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?
- Fri Aug 21, 2020 4:43 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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 ...
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 ...
- Fri Aug 21, 2020 4:03 am
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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 ...
Here are the two main files:
CPP:
// Graphics library by ladyada/adafruit with init code from Rossum
// MIT license
#include "Adafruit_TFTLCD_8bit ...
- Wed Aug 19, 2020 6:22 pm
- Forum: Libraries & Hardware
- Topic: 8 Bit TFT Library Issue
- Replies: 17
- Views: 23777
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 ...
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 ...