eschmo wrote: Wed Feb 03, 2021 1:41 am
First of All, i power up the circuit with two LF33ABV and these supply the cuircuit with a total of 1A.
My switching power supply shows a load between 0.33 and 0.65 A. So the totals should be okay.
Do you use these two linear regulators in parallel?
That might not be a good idea as these always have different voltages at the output.
Using them separately, a single one for the backlight and annother one for the logic might work but first there is a resistor on the display PCB that connects 3V3 with BL_VDD and this would need to be removed and without the proper tools I would not advise doing that.
But even then I would use a regulator with a higher current rating for the backlight.
Well, you have the backlight starting but it is possible that a voltage drop from switching the backlight on is crashing the BT815.
eschmo wrote: Wed Feb 03, 2021 1:41 am
I've connected
SCK -> D13
MISO -> D12
MOSI -> D11
CS -> D9
RST -> D8
In total no pull-ups or pull-downs used for the bus connections.
testing with pull downs at CS and RST didnt show any effect.
This looks okay.
Pullups or Pulldowns in the CS and PD lines are not really required but provide a defined voltage level while the attached controller is held
in reset, for example at power-up or when re-programming.
eschmo wrote: Wed Feb 03, 2021 1:41 am
Oscilloscope test at channels.
RST is allways high when 328p is on and just drops when 328p is reset.
CS ~250Hz and rect signal.
MISO ~2,3kHz
MOSI ~14.6kHz
SCK ~92kHz
RST is okay, the two functions to set/clear it are only used in EVE_init() and only called once.
But for the rest of the signals I hope that you did not measure these correctly. :-)
CS should be mostly high with very short low levels every 5ms and about 0.6ms low every 20ms.
SCK should be at 8MHz.
Hmm, now that I think about this.
The Nano is supposed to be working with 5V and you are using it with 3.3V, correct?
Technically this is out of spec for the AVR but the Seeduinos I have here have the AVR running just fine
with 3.3V and a 16MHz crystal.
eschmo wrote: Wed Feb 03, 2021 1:41 am
I'am compiling with Arduino IDE, what did you use? Maybe this is the problem?
I am using the PlatformIO plugin for VSCode.
But I just opened the src.ino in Arduino IDE 1.8.13, selected the board "Arduino Nano" and it compiled just fine without any warning.
9318 bytes FLASH, 79 bytes SRAM
To be able to open this with the Arduino IDE is the only reason for the rather strange name "src.ino", PlatformIO needs the directory to be named "src" and the Arduino IDE needs the main file to be named the same as the directory it sits in, because of reasons.