Hello
I was testing a PCB I had designed to work with the Teensy 4.1 and at the time I was testing functionality for CAN bus. I uploaded the code listed below, using arduino and teensy flasher program, and tried to run it but it never was able to run.
The example is very simple and the message is nothing important; just something to see if the system was able to produce a CAN message that I could read using a PCAN. The hardware designed to allow for CAN bus communication is shown below. The circuit was copied from a design that was used with an STM chip and it's been working well. The CAN Tx and Rx are directly connected to pins 23 and 22 and CAN H and L are connected to and output connector and connected to ESD protection (even though that is now apparent to me to be redundant due to the ESD protection of the SN65HVD231QDRQ1 chip). The only difference is that R26 was added. The rest of the PCB seems to be working fine in testing before and other parts of the board were working fine; I would love to share the whole PCB but it's NDA and such
I've done a bit of troubleshooting. I've attempted to restore the LED blinking program and after holding for ~14 seconds it will blink briefly but nothing more. The voltage on the 3V3 rail is 3V3, the voltage on the program pin is 3V3 then 0V when the button is pressed. The Teensy 4.1 was bought and has not been under a reflow, chip U2 looks fine to me. The computer does not recognize the Teensy 4.1 anymore and Arduino can't program it.
My assumption is that somehow a component died and the entire board can be considered dead; this is fine, I mean it's not fine but I can accept it, but I have no idea why it happened. I know that it could have been ESD that killed it but there are some ESD protection components on-board (NUP4114UCW1T2G, SMAJ8.0CA-E3/61). I could replace the Teensy 4.1 for another one but I would prefer to not potentially maybe killed another one.
Any thoughts and comments are appreciated
I was testing a PCB I had designed to work with the Teensy 4.1 and at the time I was testing functionality for CAN bus. I uploaded the code listed below, using arduino and teensy flasher program, and tried to run it but it never was able to run.
Code:
#include <FlexCAN_T4.h>
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> cb;
CAN_message_t msg;
void setup() {
// put your setup code here, to run once:
cb.begin();
cb.setBaudRate(1000000);
cb.setMBFilter(REJECT_ALL);
msg.id = 0xA5;
for ( uint8_t i = 0; i < 8; i++ ) { msg.buf[i] = i + 1; }
}
void loop() {
// put your main code here, to run repeatedly:
delay(200);
cb.write(msg);
}
The example is very simple and the message is nothing important; just something to see if the system was able to produce a CAN message that I could read using a PCAN. The hardware designed to allow for CAN bus communication is shown below. The circuit was copied from a design that was used with an STM chip and it's been working well. The CAN Tx and Rx are directly connected to pins 23 and 22 and CAN H and L are connected to and output connector and connected to ESD protection (even though that is now apparent to me to be redundant due to the ESD protection of the SN65HVD231QDRQ1 chip). The only difference is that R26 was added. The rest of the PCB seems to be working fine in testing before and other parts of the board were working fine; I would love to share the whole PCB but it's NDA and such
I've done a bit of troubleshooting. I've attempted to restore the LED blinking program and after holding for ~14 seconds it will blink briefly but nothing more. The voltage on the 3V3 rail is 3V3, the voltage on the program pin is 3V3 then 0V when the button is pressed. The Teensy 4.1 was bought and has not been under a reflow, chip U2 looks fine to me. The computer does not recognize the Teensy 4.1 anymore and Arduino can't program it.
My assumption is that somehow a component died and the entire board can be considered dead; this is fine, I mean it's not fine but I can accept it, but I have no idea why it happened. I know that it could have been ESD that killed it but there are some ESD protection components on-board (NUP4114UCW1T2G, SMAJ8.0CA-E3/61). I could replace the Teensy 4.1 for another one but I would prefer to not potentially maybe killed another one.
Any thoughts and comments are appreciated