IP Library Granted Patent US 10,503,686
Granted Patent B2
US 10,503,686 · App. 15/373,219 · Granted Dec 10, 2019

SPI interface with automatic slave select generation

Inventors: Kevin Kilzer (Chandler, AZ); Shyamsunder Ramanathan (Tucson, AZ); Sai Karthik Rajaraman (Chandler, AZ); Justin Milks (Tempe, AZ)
Assignee: MICROCHIP TECHNOLOGY INCORPORATED
G06F13/4282G06F1/10G06F13/4291
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,503,686
App. No.
15/373,219
Granted
Dec 10, 2019
Kind
B2
Abstract

A serial peripheral interface (SPI) module, comprising a transceiver, the transceiver including a clock line, a data line and at least one slave select line. The SPI also comprises an interface circuit configured to operate in an automatic slave select mode, wherein the interface circuit is configured to automatically assert the slave select line at least one clock before a first clock edge is generated.

Claims (39)

1. A serial peripheral interface (SPI) module, comprising:

a transceiver comprising a clock line, a data line and at least one slave select line and being configurable to perform data transmission according to the SPI protocol; and

an interface circuit configured to operate in a first operating mode and in a second operating mode, wherein in the first operating mode, the slave select line must be controlled manually and in the second operating mode upon a request to transfer data to a slave device, the interface circuit is configured to automatically assert the slave select line at least one clock before a first clock edge is generated and maintained asserted for a plurality of clock cycles while data is transferred.

2. The module of claim 1 , wherein, in the second operating mode, the interface circuit is further configured to maintain the slave select line as asserted until a transfer count reaches zero.

3. The module of claim 1 , wherein, in the second operating mode, the interface circuit is further configured to de-assert the slave select line a predetermined time after a final clock edge.

4. The module of claim 1 , wherein, in the second operating mode, the interface circuit is further configured to de-assert the slave select line one-half baud clock after a final clock edge.

5. The module of claim 1 , wherein the interface circuit is further configured to operate in a programmable size byte transfer mode and in a programmable packet transfer mode.

6. The module of claim 1 , wherein the interface circuit is further configured to operate in a programmable size byte transfer mode, wherein each byte comprises a programmable number of bits.

7. The module of claim 1 , wherein the interface circuit is further configured to operate in a programmable packet transfer mode, wherein:

a total number of bits to be transferred is programmable;

a first parameter defines the number of 8-bit bytes to be transferred for a packet; and

a second parameter defines the number of bits of a last transfer for the packet.

8. The module of claim 1 , wherein, in the second operating mode, the interface circuit is further configured to assert the slave select line based upon a transfer count including a nonzero value.

9. The module of claim 1 , wherein the interface circuit is further configured to assert the slave select line upon determination of an override of the automatic slave select mode.

10. The module of claim 1 , wherein the interface circuit is further configured to:

assert the slave select line upon determination of an override of the automatic slave select mode; and

after removal of the override of the automatic slave select mode, evaluate a transfer count to determine whether to de-assert the slave select line.

11. A microcontroller comprising a module according to claim 1 .

12. A method of serial protocol interface data transfer according to the SPI protocol, comprising:

communicating from a master element to a slave element using a clock line, a data line and at least one slave select line; and

programming the master to operate in an automatic slave select mode;

when operating in the automatic slave select mode, upon a request to transfer data to a slave device including automatically asserting the slave select line at least one clock before a first clock edge is generated and maintained asserted for a plurality of clock cycles while data is transferred.

13. The method of claim 12 , further comprising maintaining the slave select line as asserted until a transfer count reaches zero.

14. The method of claim 12 , further comprising de-asserting the slave select line a predetermined time after a final clock edge.

15. The method of claim 12 , further comprising de-asserting the slave select line one-half baud clock after a final clock edge.

16. The method of claim 12 , further comprising operating in a programmable size byte transfer mode and in a programmable packet transfer mode.

17. The method of claim 12 further comprising operating in a programmable size byte transfer mode, wherein each byte comprises a programmable number of bits.

18. The method of claim 12 , further comprising operating in a programmable packet transfer mode, wherein:

a total number of bits to be transferred is programmable;

a first parameter defines the number of 8-bit bytes to be transferred for a packet; and

a second parameter defines the number of bits of a last transfer for the packet.

19. The method of claim 12 , further comprising asserting the slave select line based upon a transfer count including a nonzero value.

20. The method of claim 12 , further comprising asserting the slave select line upon determination of an override of the automatic slave select mode.

21. The method of claim 12 , further comprising:

asserting the slave select line upon determination of an override of the automatic slave select mode; and

after removal of the override of the automatic slave select mode, evaluating a transfer count to determine whether to de-assert the slave select line.

22. A microcontroller comprising a serial peripheral interface (SPI) module, wherein the SPI module comprises:

a transceiver comprising a clock line, a data line and at least one slave select line and being configurable to perform data transmission according to the SPI protocol; and

an interface circuit configured to operate in in an automatic slave select operating mode, in which upon a request to transfer data to a slave device issued by the microcontroller to the SPI module, the interface circuit is configured to automatically assert the slave select line at least one clock before a first clock edge and associated data is generated without requiring additional software to assert the slave select line and maintained asserted for a plurality of clock cycles while data is transferred.

Assignments (13)
RELEASE OF SECURITY INTEREST Recorded Mar 14, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 060894/0437 →
RELEASE OF SECURITY INTEREST Recorded Mar 11, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059363/0001 →
RELEASE OF SECURITY INTEREST Recorded Mar 10, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059863/0400 →
RELEASE OF SECURITY INTEREST Recorded Mar 9, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059358/0001 →
RELEASE OF SECURITY INTEREST Recorded Feb 25, 2022
From: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059333/0222 →
SECURITY INTEREST Recorded Jun 4, 2021
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 057935/0474 →
SECURITY INTEREST Recorded Dec 24, 2020
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 055671/0612 →
SECURITY INTEREST Recorded Jun 5, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 053468/0705 →
RELEASE OF SECURITY INTEREST Recorded May 30, 2020
From: JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 053466/0011 →
SECURITY INTEREST Recorded Apr 24, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 053311/0305 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2018
From: KILZER, KEVIN; RAMANATHAN, SHYAMSUNDER; RAJARAMAN, SAI KARTHIK; MILKS, JUSTIN
To: MICROCHIP TECHNOLOGY INCORPORATED
Reel/Frame 047826/0519 →
SECURITY INTEREST Recorded Sep 18, 2018
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 047103/0206 →
SECURITY INTEREST Recorded Jun 25, 2018
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 046426/0001 →
Continuity (2)
Provisional Application 62265395 · Dec 9, 2015
Related Publication 20170168980A1 · Jun 15, 2017