Will it be possible to connect an ethernet PHY to the MicroMod board ?
Looking at the schematic for T4.1 the DP83826 uses B1_04 to B0_15 but that doesn't seems to be connected the the M.2 edge...
Type: Posts; User: skpang
Will it be possible to connect an ethernet PHY to the MicroMod board ?
Looking at the schematic for T4.1 the DP83826 uses B1_04 to B0_15 but that doesn't seems to be connected the the M.2 edge...
I can only see one CAN transceiver board. You need one transceiver for each CAN node.
You can't connect CAN_H and CAN_L to the Teensy like that. It need to go via a CAN transceiver.
I've written a CAN-bus ECU simulator:
https://github.com/skpang/teensy_ecu_simulator
You can make your own board or buy a ready made board with Teensy 3.2 installed:...
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;
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.
Wiring looks ok.
Post the code for both Teensy.
You need to post the schematic. Can't see a Vref pin on the TJA1051T/3.
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.
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.
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:
...
There is a spreadsheet of the pinout but Teensy is not on there:
https://docs.google.com/spreadsheets/d/1Y1rSo8eR6aVXJpc8Yw2x1O7Ea9YH3B0ZWHGSv71AJ8k/edit#gid=0
Looks like everybody is using the M.2 connector.
22178
22179
Wow, interesting..
The MicroMod M.2 connector has 75 pins. That means more IO pins from the Teensy can be brought out.
Yes, the default for extended frame is disabled. So you have to manually enable it.
I'm using this Teensy 3.2 board:...
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); //...
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() {
Is there a terminator on the transceiver board ?
Try and change:
if (Can0.available()) {
Can0.read(msg);
To
if(Can0.read(msg))
{
You need to connect the CAN Tx pin is well even if you only want to receive.
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.
How are you connecting it to your car ?
Are you sure the baud rate is 1000000 on your car ?
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...
Do you have the schematic we can have a look at ?
Do you have any surge protection supply ?
You could use a SPI FRAM:
https://www.adafruit.com/product/1897
Best to have a 100nF close to pin 20 of the shifter.
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...
My tools for SMD work:
Fine tip soldering iron
x7 magnifier, use for inspection
0.3mm lead free solder
Tweezers
20490
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...
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.
Got an email from Sparkfun. Teensy 4.1 should be available from today !!
https://www.sparkfun.com/products/16771
Oh its pre-order.
Nice project.
I like the combination of electronics and wood.
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...
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...
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
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...
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...
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...
Thank you KurtE for the pinout spreadsheet.
How comes there is MISO1 on D1 and another MISO1 on D39 ?
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 =...
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()...
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...
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
...
Boris is in intensive care now. Hope he pulls through.
Is there somewhere I can download an example code for use with the Teensy 4 and ILI9341 ?
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.
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...
Wow, that is smooth.
Would it be possible for you to share the code ?
@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...
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...
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....