Other Parts Discussed in Thread: ISOW1044, TCAN4550
I am trying to get the TCAN4550 on my board working with an external transceiver (ISOW1044).
To do this I believe I want to configure the TCAN4550 as shown in Figure 8-11 of the data sheet:
The code I am using to implement this is as follows:
Init_CAN();
TCAN4x5x_MCAN_EnableProtectedRegisters();
TCAN4x5x_Device_EnableTestMode(TCAN4x5x_DEVICE_TEST_MODE_CONTROLLER);
TCAN4x5x_Device_Test_Mode_Enum TestValue = TCAN4x5x_Device_ReadTestMode();
TCAN4x5x_MCAN_DisableProtectedRegisters();
with:
void Init_CAN(void)
{
// Intialize all control registers
TCAN4550_SetConfiguration();
TCAN4550_Start();
}
The code was taken from the TCAN4550 demo code.
TCAN4x5x_DEVICE_TEST_MODE_CONTROLLER has a value of 2, and I've confirmed that the test mode is being set to TCAN4x5x_DEVICE_TEST_MODE_CONTROLLER
When using the TCAN4550 in normal mode with the internal transceiver (via a soldered-on test connector), leaving out the TCAN4x5x.. lines of code I've confirmed proper configuration and operation.
When I execute the TCAN4x5x lines of code with the ISOW1044 I get no CAN operation.
Is my firmware as given above correct, or am I missing something?
Thanks in advance for any insight.