Hello,
I am new with Halcogen and Hercules TMS570LC43x.
I would like to configure the Hercules TMS570LC43x as an SPI master to access TDC7200.
A basic transaction are:
- Read configuration (Write 8 bit command and Read 8 bit data)
- Write configuration (Write 8 bit command and Write 8 bit data)
- Read timer/ counter (Write 8 bit command and Read 24 bit data)
The maximum speed of SPI is 20MHz for TDC7200.
My questions are:
- Is there any sample code or tutorial to configure a standard SPI for TMS570LC43x?
- Assume that TDC7200 can generate an interrupt pin to notice the data ready (data is always ready). Is this possible to fully utilize the bandwidth between two devices while TMS570LC43x can do another work?
Thank you.
--Truong