Search results

  1. F

    Teensy 4.1/4.0 with external ADC using SPI

    I can give this a try, thanks for the lead Jonr - I tried looking up AD7490 but apparently I need to google better.
  2. F

    Teensy 4.1/4.0 with external ADC using SPI

    Thanks Kurt, I was reading the arduino SPI stuff and looking at the barometer example, did not come across the SPI Transfer explanation. Definitely helps!
  3. F

    Teensy 4.1/4.0 with external ADC using SPI

    Well no bites. Let me rephrase my question. How does one extract the data from the MISO pin should there be data available? My thought was that SPI.transfer(somedata) is being used only to transmit data from Master to Slave? Did I miss something?
  4. F

    Teensy 4.1/4.0 with external ADC using SPI

    Hi Everyone, I'm hoping someone can help who has far more coding experience than me. I'm trying to communicate to an AD7490 ADC (https://www.analog.com/media/en/technical-documentation/data-sheets/AD7490.pdf) over SPI. As I understand it, the way SPI works is that data is communicated at the...
  5. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    Was able to get it work, thanks for all the help (and the patience!) you too msadie
  6. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    I have some more dumb questions for you, I read the readme at the beginning. Actually pretty helpful so sorry I was negligent in reading that. I think I was a bit overwhelmed by what was going on. I am able to successfully transmit messages from the Teensy to the ecu that I am using...
  7. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    Well that's what I get for copying and pasting code without fully understanding it. At least the serial monitor part of it is figured out, thanks for the help so far guys!
  8. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    It did a thing! I'm not sure why it doesn't continue to update, and I also lost the ability to select the baud rate. Do you think because Serial.begin() is in the setup() and not loop() would cause this?
  9. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    Still no dice, I changed per msadie's suggestion: #include "Arduino.h" #include "FlexCAN_T4.h" FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> can1; FlexCAN_T4<CAN2, RX_SIZE_256, TX_SIZE_16> can2; void canSniff(const CAN_message_t &msg); void setup() { Serial.begin(9600); can1.begin()...
  10. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    I'm not sure what you mean by looping. The transceivers are both terminated, I didn't remove them since I know the bus has to be terminated on both ends.. here is a picture of the setup
  11. F

    FlexCAN_T4 - FlexCAN for Teensy 4

    I saw pgchui attempt to do this and was having some issues with cansniff. I'm just trying to verify if my transceivers work. I'm using a teensy 4.1 using can1 and can 2 with SN65HVD230 to make sure they work since SN65HVD230 seem to have issues sometimes. I'm not seeing anything printing on...
  12. F

    Teensy 4.0 Snaffu

    Hi Everyone, I made the unfortunate mistake of shorting my breadboard powersupply, which then gave the Teensy 12V on the 5V pin. As you can guess it doesn't work, but I was wondering if there is a way to fix it or just throw it in the graveyard and move on? Regards, Mohammed
  13. F

    Teensy 3.6/4.0 and 2" TFT ST7789

    Looks like I'll be spending this weekend debugging. :eek:
  14. F

    Teensy 3.6/4.0 and 2" TFT ST7789

    I apologize for the crappy picture, I need to get a new phone. Below is my code. /*************************************************** This is a library for several Adafruit displays based on ST77* drivers. Works with the Adafruit 1.8" TFT Breakout w/SD card ---->...
  15. F

    Teensy 3.6/4.0 and 2" TFT ST7789

    Will do when I get home :)
  16. F

    Teensy 3.6/4.0 and 2" TFT ST7789

    Hi Kurt! Yes I bought it through digikey - it is the adafruit one. Currently it's just a black screen. I need to double check when I get home but I'm confident it's the latest version of Teensyduino.
  17. F

    Teensy 3.6/4.0 and 2" TFT ST7789

    Hi Everyone, I was wondering if anyone has used this combination of Teensy + LCD? I just keep getting a black screen and I've tried searching and haven't found any leads. I also tried other libraries in hopes of getting something to work. Currently at work so I figured I'd post here before...
  18. F

    Teensy 4.0 CAN Development

    Thanks for the reply, I guess I'll be cool and design a PCB to break out the pins I need.
  19. F

    Teensy 4.0 CAN Development

    Hi everyone, I have a rather newbie question - I know there are a 3 different sets of CAN pins on the 4.0, how do you select between FD and CAN 2.0B. Are there any CAN Transceivers in development or is this something I should develop on my own? I saw there are breakout boards available though...
  20. F

    Teensy 4.0 Release

    Just wondering since I didn't see it anywhere in the information - Does the Teensy 4.0 accept 5.0V on ADC pins or just 3.3V?
Back
Top