Skip navigation
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The third part reviews the KiCAD PCB layout.   Two Layer PCB  I could have used a single layer PCB but there's no price difference with two layer boards. The bottom side is dedicated to the power rail and ground. The top for the digital and analog signals.   Let's start with the bottom layer. Because the 3V3 isn't used a lot but crosses the whole board, I decid ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The second part describes schematic and custom KiCAD parts.   Schematic  I've used two sources for my schematic. The datasheet of the TCAN332D and an article on the TI e2e forum. These are the things I've taken over from the advice: TXD input pin: If an open-drain host processor is used to drive the TXD pin of the device, an external pullup resistor between 1 kΩ ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The first part checks the design rules from the datasheet.     Real CAN driver  In the previous post I was using a makeshift CAN bus. But CAN buses that comply with the standard require a differential bus driver. I bought 2 TCAN332D driver ICs. I've selected those because they are simple and require only a few additional components (in fact, if you don't care ab ...
I'm trying out basic CAN communication on a Hercules microcontroller. This second test is sending data between two controllers. I'm using interrupts for reading and writing this time. It's not yet a complete CAN implementation. The physical CAN BUS components are missing.       Simplified CAN driver  CAN communication requires line drivers. The microcontrollers that I'm using have CAN peripherals but their pins are generic IO that operate on the logic 3.3V level. I'm u ...
The element14 roadtests are a great way to learn new things. Whenever I see a test that interests me, I enroll. Success is not guaranteed. I've been selected for some, not for others. In this series I'll explain how I decide to enroll or not. I'll also show how I build my case, including some examples from my applications.   This is the technical part of my application for the Microchip CAN Bus Analyser Tool . All technical content is here. The self promotion bit I've culled because I' ...