Troubleshooting
Why the PCAN-PCI/104-Express FD has no driver on Windows 10 IoT Core
Short answer
The card's manufacturer offers no driver for the PCAN-PCI/104-Express FD on Windows 10 IoT Core, so no install step or application-side change will produce a CAN channel. Confirm the card enumerates as an unknown PCI device, then either move the CPU board to Windows 10 IoT Enterprise or Linux, or take CAN off the PCIe bus with a bridge or a co-processor. Changing the image is the default because it keeps the whole stack and the PCAN-Basic code.

On this page
There is no driver to install: the manufacturer of the PCAN-PCI/104-Express FD offers none for Windows 10 IoT Core, and nothing at the application layer changes that. Without a kernel-mode function driver bound to the card, the PCIe endpoint can still appear in a device list, but no CAN channel exists and no PCAN-Basic call reaches the controller. So the job is not an install procedure but a decision. Confirm that the card enumerates as an unknown PCI device on your stack, then either move the CPU board to an image with vendor driver support (Windows 10 IoT Enterprise or Linux) or take CAN off the PCIe bus with a bridge or a co-processor. For a stack whose application is heading toward PCAN-Basic, changing the image is the default.
Why there is no install path #
The card is a PCIe endpoint on the PC/104-Express connector of the stack. A working channel needs two pieces built for the exact OS image and CPU architecture: a kernel-mode function driver that binds to the device, and the PCAN-Basic library above it. On this image the driver piece does not exist, and everything downstream fails from that one absence: the CAN controller is never initialized, so there is no channel handle and nothing for the application to open.
- A desktop-Windows driver package sideloaded onto the image fails twice over: packages built for desktop editions are not validated for IoT Core, and for this image there is no binary to install at all.
- No install trick changes that. Signature checking is not the blocker; with no driver binary for this OS and architecture there is nothing to sign, sideload or wrap.
- A UWP wrapper cannot stand in for the driver. IoT Core centers its application model on UWP with limited classic Win32 support, so even with a driver present, a conventional Win32 PCAN-Basic host would not be a supported target on that image.
Confirming the diagnosis on the stack #
Three checks settle it before you change anything:
- Firmware enumeration. In the platform firmware setup screen or the board's PCIe enumeration log, confirm the link to the PC/104-Express connector is enabled and the card is detected as a PCI device. A card invisible here has a stack, seating or power fault, not a driver fault, so start with the hardware checks at the end.
- Device query. In the running IoT Core image, look the card up in the device list. An unknown-device entry carrying a valid PCI vendor ID and device ID means enumeration works and the missing driver is confirmed.
- Initialization attempt. Call the PCAN-Basic initialization entry point. A library that will not load, or a hardware or handle error on a channel that should exist, confirms there is no driver-backed channel to open.
The four ways forward #
| Option | What changes | Trade-off |
|---|---|---|
| A. Move the CPU board to Windows 10 IoT Enterprise | OS image only; CPU board, PSU board and CAN card stay | Larger footprint, different licensing and servicing; the vendor's PCIe driver and the Win32 PCAN-Basic API apply directly |
| B. Move to Linux with SocketCAN | OS and application layer; hardware stack stays | The application is rewritten against SocketCAN or the vendor's Linux API; confirm Linux driver support for this exact card and for CAN FD first |
| C. Keep IoT Core, move CAN off the PCIe bus | The CAN interface becomes a CAN-to-serial or CAN-to-Ethernet bridge | You write the protocol layer yourself; added latency and one more failure point |
| D. Keep IoT Core, add a co-processor | A small MCU or single-board computer owns the bus and exposes a simple message API | Most work; CAN timing leaves the Windows scheduler, which is often the right design for hard timing anyway |
Commit to Option A unless something external forbids it: it preserves the entire board stack and the PCAN-Basic code you are about to write. Choose B, C or D only when the IoT Core image is mandated by a customer requirement, an update-servicing policy or a licensing decision you cannot reverse. On IoT Enterprise, drivers install the normal way, and when a different card's package still refuses to load, the diagnosis is the one in X550 driver install fails on Windows 10 IoT Enterprise.
Before committing, confirm two lists that move with product revisions: the CPU board vendor's support for a desktop-class Windows image on that board (chipset, storage controller and watchdog drivers), and the CAN vendor's currently released drivers for the PCI/104-Express FD variant on your OS and architecture.
Working an 8-byte frame at 500 kbit/s on the classic-CAN channel #
Inputs. The channel bit rate is 500 kbit/s, the classic-CAN rate the PCAN_BAUD_500K constant selects in the startup code below; take your own segment's value from its network specification. The payload is 8 bytes, the largest classic-CAN data field, so the worst case for bus occupancy. The overhead is the CAN 2.0A standard data frame, which requires 1 start bit, 12 arbitration bits (an 11-bit identifier plus the RTR bit), 6 control bits, 16 CRC-field bits, 2 ACK-field bits, 7 end-of-frame bits and 3 intermission bits before the next frame may start.
Rule. The bit time is the reciprocal of the bit rate, and a frame occupies the bus for its bit count times the bit time. Stuff bits only add, so the unstuffed count is a floor, and back-to-back frames at that occupancy set the ceiling on frames per second.
The arithmetic:
- Bit time = 1 / 500 000 bit/s = 2 µs.
- Frame length = 1 + 12 + 6 + 64 + 16 + 2 + 7 + 3 = 111 bits.
- Bus occupancy = 111 x 2 µs = 222 µs per frame.
- Frame-rate ceiling = 1 s / 222 µs, about 4500 eight-byte frames per second before stuffing.
Result. One eight-byte frame holds the bus for at least 222 µs, and the segment can deliver at most roughly 4500 of them per second at this rate.
Decision. Budget the receive path for that ceiling: take frames through the receive event, never through a fixed sleep that can fall behind the queue. If a control task must react inside one frame time, under 222 µs at this rate, no Windows image guarantees that scheduling, and the requirement selects Option D. With CAN FD the data field runs at the data-phase rate and the occupancy shrinks, so rerun this arithmetic with the data-phase value from your network specification.
First steps in PCAN-Basic once a driver is present #
- Resolve the channel handle. Channels on a PCIe board are addressed through the
PCAN_PCIBUS1handle family, numbered upward from the first channel; a dual-channel card presents two consecutive handles. - Initialize. For classic CAN,
CAN_Initializetakes a baud-rate constant such asPCAN_BAUD_500K. For CAN FD, use the FD entry point and pass a bit-rate string that sets both the nominal and the data-phase timing, not a single enumerated constant. - Do not switch FD on just because the card supports it. Every node on the segment must tolerate FD frames: a classic-only controller on the same wire raises error frames when an FD frame appears and can take the whole segment bus-off. Set both rates to the values in the network specification.
- Check every return. A non-zero status is a bit field; decode it with the API's status-to-text helper rather than comparing against one expected value.
- Receive through the receive event, then read; release the channel with the uninitialize call at shutdown so the driver frees the handle cleanly.
- Match the library to the process. A 32-bit executable loads the 32-bit PCAN-Basic DLL even on a 64-bit OS.
A minimal classic-CAN loop on the first channel, with the illustrative variables declared:
/* Illustrative variables are mine, not vendor identifiers:
status : unsigned int, starts at 0, holds each call's return code
msg : frame record with ID, DATA and LEN members, zeroed before the first read
timestamp : unsigned int, starts at 0, overwritten by every read
running : int, starts at 1, cleared by the shutdown path
decode_and_abort, decode_and_report, wait_on_receive_event and dispatch
are my helper names. The names below are the documented PCAN-Basic call set. */
status = CAN_Initialize(PCAN_PCIBUS1, PCAN_BAUD_500K);
if (status != PCAN_ERROR_OK) { decode_and_abort(status); } /* the test that proves initialization */
while (running) {
status = CAN_Read(PCAN_PCIBUS1, &msg, ×tamp);
if (status == PCAN_ERROR_QRCVEMPTY) { wait_on_receive_event(); continue; }
if (status != PCAN_ERROR_OK) { decode_and_report(status); continue; }
dispatch(msg.ID, msg.DATA, msg.LEN);
}
CAN_Uninitialize(PCAN_PCIBUS1);
Checks that rule out look-alike faults #
Run these on whichever option you choose, because each one fails the same way a missing driver does:
- Stack power and sequencing: the PSU board must supply every rail the CPU and CAN boards require, in the power-up order their board documentation specifies.
- Segment wiring: termination at both physical ends of the bus and a common ground reference, as the network design defines them.
- A known-good second node: with the segment otherwise quiet, transmit from the other node. A frame that is never acknowledged points at wiring or termination, and from the application it looks exactly like a dead channel.
Questions asked
Does Windows 10 IoT Enterprise LTSC 2021 run 32-bit drivers and code?
Yes, in its x86 edition: a 32-bit image loads 32-bit kernel-mode drivers and runs 32-bit application code natively, while a 64-bit image loads only 64-bit kernel-mode drivers and runs 32-bit application code through its compatibility layer. Pick the edition that matches the drivers and application build you already have.
What changes if the CPU board is ARM-based?
Everything: an x86 or x64 driver package and an x86 or x64 PCAN-Basic library cannot load on an ARM image at all, and such a board may not route PCIe to the PC/104-Express connector, so the card might never appear as a PCI device. Check the CPU board's architecture before planning anything; only the bridge and co-processor options survive that combination.
Does PCAN-Basic code move to the vendor's other CAN interfaces?
On supported Windows images, yes. The same call set serves the vendor's USB, PCI, PCIe and PC/104 interfaces, so code written against the PCIe board later runs unchanged against a USB CAN adapter or another board form factor. That portability is one more reason the image change beats a bus redesign.
How much code survives a move to Linux?
Almost none of the interface layer: SocketCAN exposes CAN through the ordinary socket API, opening a raw socket on the CAN address family and reading frames as messages, so the PCAN-Basic call sequence does not carry over even though the frames on the wire are identical. Rewrite the transmit and receive path, then rerun the timing arithmetic for your new host.

