Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Guilt

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    39

    Glitchy SCK Output when using DMA and SPI

    20386
    In the image above you can see the SCK output of my Teensy 3.6 represented by the yellow line, slave data from another device in blue, and the chip select output of my Teensy 3.6 in purple....
  2. Replies
    7
    Views
    408

    I'm not exactly sure what you mean. To be clear,...

    I'm not exactly sure what you mean. To be clear, this thread and the thread you linked are both not about SD card reading. After you showed me the trick to use analogWriteFrequency() and get the SPI...
  3. Replies
    0
    Views
    185

    Reading From the SPI FIFO Registers

    I've designed the following code for a Teensy 3.6 so that I can familiarize myself with the MCU's hardware:

    #include "Arduino.h"

    void dumpTXFIFOSRs() {
    for (uint8_t i = 0; i < 4; i ++) { ...
  4. I've made note about Greimann's SD library -...

    I've made note about Greimann's SD library - thank you again.
    I'm reading the SPI chapter and running into some difficulties; it feels like there's a glossary that I'm missing? The document seems to...
  5. Learning Materials for DMA, SPI, and General Hardware Manipulation on Teensy 3.6

    The bottom line here is that I'm in over my head and I have too many questions to just drop this all into a stackoverflow question and hope for an answer. Where do I find the definition and function...
  6. Replies
    7
    Views
    408

    Thank you for the suggestions. It looks like the...

    Thank you for the suggestions. It looks like the fastest that tone() will get me is close to 40kHz, so that's right out. analogWriteFrequency() has got me to 8.62MHz which is close enough for rock...
  7. Replies
    7
    Views
    408

    Precise Serial Data Output Clock Speed?

    For a project I'm working on I'll need to output data at almost exactly 4.3MHz and 8.6MHz from one digital pin. Right now I'm using DMA transfers to the SPI peripheral, but I've noticed that no...
  8. Sorry, I should explain; I'm referring to Arduino...

    Sorry, I should explain; I'm referring to Arduino Pin 8, or the pin that digitalWrite(8,HIGH) would effect. If it's worth mentioning, I'm doing fast writes using PORTD and such (which I know a lot of...
  9. Teensy 3.6's pin 4 has slightly different electrical characteristics?

    I'm building a device which will allow a teensy 3.6 to control a dot-matrix LED sign that I scavenged from a public transportation bus.

    Here's a rough schematic I made to illustrate the way that...
Results 1 to 9 of 9