This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCAN4550-Q1: TCAN4550-Q1 Initialize setting question while disable the clkout.

Part Number: TCAN4550-Q1
Other Parts Discussed in Thread: TCAN4550,

HI team,

Customer feedback that with below code they got the readData = 0xC3000048, is there any change on the TCAN4550 silicon or driver, which one will be correct?

And these bit 24:26 is reserve in TCAN4550-Q1 datasheet. 

The code is copy from radar BU's TIDA02004 reference code 

TIDA-020004

void TCan4550_Initialize(void)
{

...

uint32_t opMode = 0xC7000048;

/* disable CLKOUT in 1p0 silicon, enabled by default and causes noise issues on SPI bus */
do
{
AHB_WRITE_B_FL_32(DEV_MODE_PINS, opMode);
readData = AHB_READ_B_FL_32(DEV_MODE_PINS);
System_printf("readData = %x\n", readData);
} while (readData != 0xC7000048);

...

}

Thanks,

Wesley

  • Hi Wesley,

    Is the customer using sample device for evaluation here? The behavior and register set of pre-release devices may be different from production silicon. Please ensure the customer is using the released version of this device for their evaluation. The TCAN4550 demo software available on the device's store page contains the most up-to-date drivers for the device. 

    • Please confirm that the "DEV_MODE_PINS" definition refer to the Device Configuration Register h0800?
    • The code here compares the register value to a a value that would expect reserved bits to be set. What is the purpose of this compare? If this is legacy code from where this bit field was not reserved, please update the firmware to reflect the released device's datasheet. 
      "while (readData != 0xC7000048)"

    Regards,
    Eric Schott

  • Hi Eric,

    Let me check with customer first, then provide more details to you.

    This code is a very old code from Radar BU. So I didnot know which silicon version they are using for the test. So this compare is no need is the latest silicon, right?

    Regards.

    Wesley

  • Hi Wesley,

    The register map for the released version of this device appears to be different from some of the very old demo code. The values here suggest that the silicon version is also very old. The customer should use production devices for us to be able to support demo drivers and device support. 

    Let me know what feedback and other questions the customer has. 

    Regards,
    Eric Schott