Hi
I'm having trouble setting max14830 using ti dsp 28377 spi.
Spi_Write (0x9f, 0xce); // Global command operation
Spi_Write (0x05,0xFF); // Read revision number FF is filled in digits
Spi_Write (0x9f, 0xcd); // Global command not working
I confirmed the revision ID (= 0xB4) with the above command.
Next, Uart3 is set as follows.
Spi_Write ((port << 5) | 0x1b | 0x80,0x40); // [6] set1 to disable CLK
Spi_Write ((port << 5) | 0x1e | 0x80,0x88); // no RTS PLLBypass no PLLEn Ex Clock
Spi_Write ((port << 5) | 0x1c | 0x80,0x09); // DVILSB
Spi_Write ((port << 5) | 0x1d | 0x80,0x00); // DVIMSB
Spi_Write ((port << 5) | 0x09 | 0x80,0x88); // tx mode1
Spi_Write ((port << 5) | 0x0A | 0x80,0x00); // tx mode1
Spi_Write ((port << 5) | 0x0b | 0x80,0x03); // 8bit length
Spi_Write ((port << 5) | 0x1b | 0x80,0x2c); // enable CLK, set x4 mode
Then, RX-TX is connected to the outside, and '0xAA' is input to TX and RX data is read but '0x3E' is read.
Spi_Write (0x03 << 5 | 0x80,0xAA);
Spi_Write (0x03 << 5,0x00);
How do I know if I can read RX data normally?
have you been able to fix this problem?
Hi Lee
TMS320F28377 is not NXP product but TI.
Please contact TI support for its questions. Thanks.
Have a nice day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------