0

Feather M4 CAN Express Not Sending Messages
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather M4 CAN Express Not Sending Messages

by owenp on Tue May 24, 2022 10:46 am

I'm working with the Feather M4 CAN Express and FeatherWing 128x64 OLED Adafruit boards. The OLED boards are used for displaying and configuring CAN messages using the buttons on the board. In total, I've ordered 35 of these boards each (I will need this many for this specific use case) and 7 of the CAN boards are not sending CAN messages. All of the boards were soldered, code uploaded, and tested the same way which is why it's confusing these 7 don't work. For information, I'm using a IXXAT CAN interface to view the CAN messages.

I've tried uploading the example 'CANSending' code and updating the bootloader on the boards. Neither of these options have worked.

I'm beginning to think these boards are faulty but this is a very high failure rate so please let me know any other possible solutions. As mentioned before, I will need these boards to be working and don't want to order any more if they also do not work.

owenp
 
Posts: 3
Joined: Tue May 24, 2022 10:23 am

Re: Feather M4 CAN Express Not Sending Messages

by mikeysklar on Tue May 24, 2022 2:43 pm

Can you post photos top and bottom of a non-working board (one of the seven) and the same for a working board? Maybe there is a clue in a component change or PCB identifier?

mikeysklar
 
Posts: 7777
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather M4 CAN Express Not Sending Messages

by owenp on Tue May 24, 2022 5:05 pm

Update: Using another example code, a colleague found out that these boards failed the CAN initialization. What typically causes a board to fail CAN initialization?

Also here are the pictures, apologies for the bad quality, my phone would not focus at all.
Board that isn't working:
bad_back.jpg
bad_back.jpg (615.84 KiB) Viewed 70 times

bad_front.jpg
bad_front.jpg (505.71 KiB) Viewed 70 times


board that is working:
good_back.jpg
good_back.jpg (525.85 KiB) Viewed 70 times

owenp
 
Posts: 3
Joined: Tue May 24, 2022 10:23 am

Re: Feather M4 CAN Express Not Sending Messages

by mikeysklar on Wed May 25, 2022 5:51 pm

Let's make sure the software is the same on the 7 boards that have been problematic.

When you enter bootloader mode (double reset press) what do you see in the INFO_UF2.TXT on a good board versus not working?

The current bootloader is v3.14.0

https://github.com/adafruit/uf2-samdx1/ ... 3.14.0.uf2

Are you using CircuitPython? If so please make sure the same CircuitPython release and library bundle is being used.

Failing CAN initialization is a useful data point. We should probably rule out any configuration difference before getting deeper into the init fail.

mikeysklar
 
Posts: 7777
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather M4 CAN Express Not Sending Messages

by owenp on Thu May 26, 2022 11:00 am

I checked both the problematic and working boards, they all have v1.23.1-adafruit.1-336-gbcaa5b1-dirty SFHWRO as the bootloader.

I updated the problematic boards to 3.14.0 and this did not fix the issue.

I am using the Arduino IDE to upload code to these boards.

owenp
 
Posts: 3
Joined: Tue May 24, 2022 10:23 am

Re: Feather M4 CAN Express Not Sending Messages

by mikeysklar on Thu May 26, 2022 5:27 pm

Since these the working and non-working boards appear identical we should try a replacement on the fussy 7 units.

The PCB markings, bootloader and code has been the same so I don't see an issue on your side.

Please e-mail support@adafruit.com requesting a replacement for 7 units. Your invoice# and link to this forum thread will be necessary.

mikeysklar
 
Posts: 7777
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather M4 CAN Express Not Sending Messages

by adafruit2 on Sat May 28, 2022 10:09 pm

owenp - did you enable the boost converter
https://learn.adafruit.com/adafruit-fea ... ss/pinouts

adafruit2
Site Admin
 
Posts: 20953
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.