Hi,
We are trying to read the register value from TCAN1145 transceiver. But we are getting 0xF0 for all registers. We are configured the clock for 2MHz, and Mode 0 is selected.
Please guide us to resolve this.
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.
Hi,
We are trying to read the register value from TCAN1145 transceiver. But we are getting 0xF0 for all registers. We are configured the clock for 2MHz, and Mode 0 is selected.
Please guide us to resolve this.
Basil,
Thanks for bringing this to E2E. From your description it sounds like your SPI is configured correctly, but can you share waveforms of all 4 SPI lines while a transaction is taking place? There may be some timing issues happening with the SCLK and/or nCS pin.
Regards,
Eric Hackett
Hi Eric,
Thank you for your support. The SPI read is success now. It was an issue with the SPI configuration in MC side.
Actual Address | Given Address | Global Interrupt Value | Register Value |
0x00 | 0x00 | 0xF0 | 0x54 |
0x01 | 0x02 | 0xF0 | 0x43 |
0x02 | 0x04 | 0xF0 | 0x41 |
0x03 | 0x06 | 0xF0 | 0x4E |
0x04 | 0x08 | 0xF0 | 0x31 |
0x05 | 0x0A | 0xF0 | 0x31 |
0x06 | 0x0C | 0xF0 | 0x34 |
0x07 | 0x0E | 0xF0 | 0x35 |
But we have one doubt, when we are reading MODE_CNTRL Register, we are getting MODE_SEL as sleep mode. Is this expected? As per datasheet, the mode after power on is standby.
Actual Address | Given Address | Global Interrupt Value | Register Value |
0x10 | 0x20 | 0xF0 | 0x01 |
Hi Basil,
The TCAN1145 does indeed start up into standby mode after initial power up on Vsup. When this happens, the internal SWE timer also starts. If this ~4 minute timer expires then the device will automatically move into Sleep mode to save system power. Is it possible that the the timeframe of your testing is long enough for this to occur?
Regards,
Eric Schott
Hi Eric,
Thank you for the response. We are in the initial stage, and we just tried to test the communication only. As you suggested, if we read the mode control register with in 4 minutes from boot, it returns standby only. Thank you so much.