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

Search:

Type: Posts; User: skpang

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds; generated 37 minute(s) ago.

  1. Replies
    11
    Views
    210

    In the Transmitter and Receiver you need to...

    In the Transmitter and Receiver you need to specify the baud rate like this:

    Can1.begin(500000);

    In the receiver try this:


    void loop() {
    CAN_message_t rxmsg;
  2. Replies
    11
    Views
    210

    Your schematic on the Teensy doesn't show which...

    Your schematic on the Teensy doesn't show which pins you have used. There are two CAN ports on the 3.6.

    Show how you wired up CAN_TX and CAN_RX.
  3. Replies
    11
    Views
    210

    Wiring looks ok. Post the code for both...

    Wiring looks ok.

    Post the code for both Teensy.
  4. Replies
    11
    Views
    210

    You need to post the schematic. Can't see a Vref...

    You need to post the schematic. Can't see a Vref pin on the TJA1051T/3.
  5. Replies
    11
    Views
    362

    I would like to see photos of the anti static bag...

    I would like to see photos of the anti static bag and the printed card is well. If they are knockoffs they might not be bothered with these details.
  6. Replies
    2
    Views
    138

    Wow, with Open() it compiled. That means they...

    Wow, with Open() it compiled. That means they have not compiled their example.

    I can now move to the next stage.

    Thank you for your help.
  7. Replies
    2
    Views
    138

    Help with c++ inheritance

    I'm using Teensy 3.2 and trying to compile the example from this library:

    https://github.com/sarfata/NMEA2000_teensy

    The library uses inheritance from this library:
    ...
  8. Thread: Teensy MicroMod

    by skpang
    Replies
    26
    Views
    1,256

    There is a spreadsheet of the pinout but Teensy...

    There is a spreadsheet of the pinout but Teensy is not on there:

    https://docs.google.com/spreadsheets/d/1Y1rSo8eR6aVXJpc8Yw2x1O7Ea9YH3B0ZWHGSv71AJ8k/edit#gid=0
  9. Thread: Teensy MicroMod

    by skpang
    Replies
    26
    Views
    1,256

    Looks like everybody is using the M.2 connector....

    Looks like everybody is using the M.2 connector.

    22178
    22179
  10. Thread: Teensy MicroMod

    by skpang
    Replies
    26
    Views
    1,256

    Wow, interesting.. The MicroMod M.2 connector...

    Wow, interesting..

    The MicroMod M.2 connector has 75 pins. That means more IO pins from the Teensy can be brought out.
  11. Replies
    13
    Views
    368

    Yes, the default for extended frame is disabled....

    Yes, the default for extended frame is disabled. So you have to manually enable it.

    I'm using this Teensy 3.2 board:...
  12. Replies
    13
    Views
    368

    I know what it is now. It is the extended frame...

    I know what it is now. It is the extended frame filter.

    Change to this:

    void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
    Serial.begin(115200);
    while (!Serial);
    Can0.begin(250000); //...
  13. Replies
    13
    Views
    368

    Strange your program won't compile in my version...

    Strange your program won't compile in my version 1.8.12
    It doesn't have digitalToggle() function.

    I had to change it to:

    #include <FlexCAN.h>

    static CAN_message_t msg;

    void setup() {
  14. Replies
    13
    Views
    368

    Is there a terminator on the transceiver board ?

    Is there a terminator on the transceiver board ?
  15. Replies
    13
    Views
    368

    Try and change: if (Can0.available()) { ...

    Try and change:

    if (Can0.available()) {
    Can0.read(msg);

    To

    if(Can0.read(msg))
    {
  16. Replies
    13
    Views
    368

    You need to connect the CAN Tx pin is well even...

    You need to connect the CAN Tx pin is well even if you only want to receive.
  17. Replies
    420
    Views
    34,278

    Pin 14&15 is not CAN3. Try and use...

    Pin 14&15 is not CAN3.

    Try and use
    FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> can1;

    On pin

    CRX1 pin 23
    CTX1 pin 22.
  18. Replies
    420
    Views
    34,278

    How are you connecting it to your car ? Are...

    How are you connecting it to your car ?

    Are you sure the baud rate is 1000000 on your car ?
  19. Replies
    243
    Views
    28,919

    I like to see the T5 have the ability to drive...

    I like to see the T5 have the ability to drive larger LCDs. 800x480 or higher. SPI would be too slow, parallel RGB would take up too many IOs.
    MIPI-DSI would be a good option to go for.

    I've seen...
  20. Do you have the schematic we can have a look at ?...

    Do you have the schematic we can have a look at ?

    Do you have any surge protection supply ?
  21. Replies
    11
    Views
    433

    You could use a SPI FRAM:...

    You could use a SPI FRAM:
    https://www.adafruit.com/product/1897
  22. Best to have a 100nF close to pin 20 of the...

    Best to have a 100nF close to pin 20 of the shifter.
  23. First you need to change your display driver...

    First you need to change your display driver from:

    #include <Adafruit_SSD1306.h>

    to

    #include <RA8875.h>

    Then setup the SPI pins to your board. Might be worth trying out some RA8875...
  24. Replies
    21
    Views
    891

    My tools for SMD work: Fine tip soldering iron...

    My tools for SMD work:

    Fine tip soldering iron
    x7 magnifier, use for inspection
    0.3mm lead free solder
    Tweezers

    20490
  25. Hi MichaelMeissner, Is there any simple sketch...

    Hi MichaelMeissner,

    Is there any simple sketch to test the psram and flash after they been soldered?

    I've seen the long thread about T4.1 but would nice to have a simple sketch to see they are...
  26. Replies
    797
    Views
    48,314

    Sparkfun have them in stock now. No restriction...

    Sparkfun have them in stock now. No restriction on how many you can buy. When the Teensy 4.0 was release it was only 2 per customer.

    Just ordered some.
  27. Replies
    797
    Views
    48,314

    Got an email from Sparkfun. Teensy 4.1 should be...

    Got an email from Sparkfun. Teensy 4.1 should be available from today !!

    https://www.sparkfun.com/products/16771

    Oh its pre-order.
  28. Replies
    4
    Views
    469

    Nice project. I like the combination of...

    Nice project.

    I like the combination of electronics and wood.
  29. Replies
    10
    Views
    847

    The SPI is quite slow. The driver won't go above...

    The SPI is quite slow. The driver won't go above 22MHz.

    Check in the file RA8875UserSettings.h about line 190

    const static uint32_t MAXSPISPEED = 22000000UL;

    I'm sure the RA8875 can go...
  30. Replies
    26
    Views
    5,210

    Code is on Github: ...

    Code is on Github:

    https://github.com/skpang/Teensy40_LittlevGL_ILI9488_demo_create

    Ensure the following library are installed first:
    https://github.com/littlevgl/lv_arduino...
  31. Replies
    26
    Views
    5,210

    I've got it working with the Teensy 4.0 and a...

    I've got it working with the Teensy 4.0 and a 3.5" LCD with ILI9488_t3 driver. Managed to get the SPI running at 60MHz. Its fast.

    19973
  32. Replies
    10
    Views
    847

    The Button and Label test code are at: ...

    The Button and Label test code are at:

    https://github.com/skpang/Teensy40_LittlevGL_RA8875_button

    Ensure you have installed these library first:
    https://github.com/mjs513/RA8875/tree/RA8875_t4...
  33. Replies
    797
    Views
    48,314

    Agree, I had the SPI working at 60MHz connected...

    Agree, I had the SPI working at 60MHz connected to an ILI9488 LCD. Its really fast and I'm surprised it works at 60MHz.

    The LCD is working at 60MHz. I'm thinking do I really need to drive it in 8...
  34. Replies
    797
    Views
    48,314

    Is there any 8 GPIO pins that is mapped directly...

    Is there any 8 GPIO pins that is mapped directly to memory so it can be written in one byte on the Teensy 4.1 ? That is if I want to control 8 GPIO at once by writing one byte to memory. There is a...
  35. Replies
    797
    Views
    48,314

    Thank you KurtE for the pinout spreadsheet. ...

    Thank you KurtE for the pinout spreadsheet.

    How comes there is MISO1 on D1 and another MISO1 on D39 ?
  36. Replies
    10
    Views
    847

    SOLVED !! I've changed it to use writeRect...

    SOLVED !!

    I've changed it to use writeRect instead:

    /* Display flushing */
    void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
    {

    uint16_t width =...
  37. Replies
    10
    Views
    847

    Ok, I've deleted the original RA8875 library and...

    Ok, I've deleted the original RA8875 library and install this one:

    https://github.com/mjs513/RA8875/tree/RA8875_t4

    but still the same problem. I think something is not right with drawPixels()...
  38. Replies
    10
    Views
    847

    LittlevGL with RA8875 on Teensy 4.0

    I'm trying to use the LittlevGL library with RA8875 LCD on Teensy 4.0. The LCD is a 800x480 and the RA8875 library is from sumotoy v0.70b11p11

    There is no LittlevGL port for the Teensy 4.0 so I've...
  39. Replies
    26
    Views
    5,210

    Hi @prickle I'm try to get LittleVGL to compile...

    Hi @prickle I'm try to get LittleVGL to compile for Teensy 4.0 and looking at your example in post #1.

    The LV_VDB_SIZE_IN_BYTES is not defined. I've made it to 307200. (480x320*16)/8 = 307200
    ...
  40. Boris is in intensive care now. Hope he pulls...

    Boris is in intensive care now. Hope he pulls through.
  41. Replies
    26
    Views
    5,210

    Is there somewhere I can download an example code...

    Is there somewhere I can download an example code for use with the Teensy 4 and ILI9341 ?
  42. I wonder if the postoffice will shut. If it does...

    I wonder if the postoffice will shut. If it does then I will have to shut my online store.

    Actually it wouldn't make that much difference, sales has been right down.
  43. Replies
    3
    Views
    419

    It is not very clear from the photo but have you...

    It is not very clear from the photo but have you actually soldered some header pins on to the Teensy then plug it onto the bread board?

    Looks like the RX1 and TX1 on the Teensy is not connected to...
  44. Replies
    47
    Views
    4,520

    Wow, that is smooth. Would it be possible for...

    Wow, that is smooth.

    Would it be possible for you to share the code ?
  45. @mjs513 Using frame buffer works. No flicker on...

    @mjs513 Using frame buffer works. No flicker on screen now.

    @KurtE Using opaque fonts also works.

    Now I have choice of which one to use. I will continue with my project.

    Thanks for...
  46. Anyway to stop flickering during update on ILI9341 display ?

    I'm using a 2.8" ILI9341 LCD on Teensy 4.0
    To update a counter I first fill a rectangle with the background colour to erase the old number the print the new number.
    There is alway a small annoying...
  47. Replies
    243
    Views
    28,919

    The Pyboard D-series uses an interesting concept....

    The Pyboard D-series uses an interesting concept. Big thru holes at 0.1" pitch then smaller holes between the 0.1" hole. Making the pitch 0.05".
    You can get 0.05" pin header and sockets from Mouser....
  48. Replies
    243
    Views
    28,919

    Using high density connectors like the one on the...

    Using high density connectors like the one on the Portenta H7 is going to make prototyping an add on board quite difficult. Not only the fine pitch but spacing between the two connector is quite...
  49. Replies
    3
    Views
    959

    Yes, a preview of the layout would be nice.

    Yes, a preview of the layout would be nice.
  50. Replies
    1
    Views
    374

    Don't think anyone has written a CANopen stack...

    Don't think anyone has written a CANopen stack for Teensy.

    The nearest CANopen I've found is for the mbed module. You might be able to port that to the Teensy....
Results 1 to 50 of 146
Page 1 of 3 1 2 3