Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Rena's Avatar
    11-24-2017, 02:40 AM
    Alright, I put that circuit together on a breadboard and it seems to do the job. Is there an IC that combines several of those circuits?
    5 replies | 419 view(s)
  • Rena's Avatar
    11-23-2017, 07:04 PM
    As I understand, the analog inputs on Teensy 3.2 are rated for 3.3V maximum and can't handle a 5V input. In my project I want to defend against accidentally connecting a 5V source. I've found this circuit, but the...
    5 replies | 419 view(s)
  • Rena's Avatar
    11-21-2017, 12:15 AM
    Ahh, that explains a lot. I did manage to improve performance quite a bit though with a few tweaks. I found that using GPIOx_PTOR instead of the bit-band version is much faster, and unrolling loops also sped things...
    9 replies | 647 view(s)
  • Rena's Avatar
    11-20-2017, 11:46 PM
    I did some benchmarking and I'm not getting anywhere near that. At 72mHz, using the display in landscape mode (480x320 resolution, 16 bits per pixel): Clearing to a solid colour, where both bytes are the same (no...
    9 replies | 647 view(s)
  • Rena's Avatar
    11-20-2017, 07:15 PM
    I'm actually using a library I made from scratch. It does also optimize digitalWrite to a single memory write.
    9 replies | 647 view(s)
  • Rena's Avatar
    11-20-2017, 06:03 PM
    Unfortunately all 8 data bits are needed to send commands during initialization. Maybe I could physically switch the wires around afterward... I was looking at using DMA, but I'm not sure how I'd achieve the "set...
    9 replies | 647 view(s)
  • Rena's Avatar
    11-19-2017, 08:39 PM
    I'm using Teensy 3.2 to drive an ILI9481 TFT LCD on a breakout board. The protocol for transferring image data (after initialization) is pretty simple: you send X, Y, width, height, and pixel data over the 8 data lines,...
    9 replies | 647 view(s)
No More Results
About Rena

Basic Information

About Rena
Location:
Cambridge, Ontario, Canadia

Statistics


Total Posts
Total Posts
24
Posts Per Day
0.02
Last Post
Protecting analog inputs from overvoltage 11-24-2017 02:40 AM
General Information
Last Activity
11-24-2017 09:34 PM
Join Date
10-04-2014