Cypress公司的PSoC®5系列具有獨特的可配置模塊陣列,是真正的系統級解決方案,能夠通過(guò)單個(gè)芯片提供 MCU、存儲器、模擬和數字外設功能, 提供了一種新型的信號采集、信號處理和控制方法,并具有高精度、高帶寬和高靈活性等特點(diǎn),廣泛應用在眾多消費、工業(yè)和醫學(xué)應用領(lǐng)域.本文介紹了PSoC®5主要特性, 簡(jiǎn)化的框圖, ARM Cortex-M3 框圖, 時(shí)鐘子系統框圖, CAN 控制器框圖以及CY8CKIT-017 CAN/LIN擴展板主要特性,框圖,電路圖,材料清單和PCB元件布局圖. PSoC®5 具有獨特的可配置模塊陣列,是真正的系統級解決方案,能夠通過(guò)單個(gè)芯片提供 MCU、存儲器、模擬和數字外設功能。CY8C54 系列提供了一種新型的信號采集、信號處理和控制方法,并具有高精度、高帶寬和高靈活性等特點(diǎn)。其模擬功能涵蓋了從熱電偶信號(接近直流電壓)到超聲波信號的廣泛信號范圍。CY8C54 系列可以處理數十個(gè)數據采集通道以及每個(gè) GPIO 引腳上的模擬輸入。CY8C54 系列還是一個(gè)高性能的可配置數字系統,具有 USB、多主控 I2C 以及 CAN 等接口。除了通信接口之外,CY8C54 系列還具有易于配置的邏輯陣列,至所有 I/O 引腳的靈活路由,以及高性能的 32 位 ARM® Cortex™-M3 微處理器內核。通過(guò)分層式電路圖設計輸入工具 PSoC® Creator™,設計人員可以使用包含眾多預建組件和布爾基元的資料庫,輕松創(chuàng )建系統級設計。使用CY8C54 系列不僅可以實(shí)現模擬和數字材料表的集成,而且只需通過(guò)簡(jiǎn)單的固件更新,即可輕松納入最新的設計變更。 PSoC®5主要特性: 32 位 ARM Cortex-M3 CPU 內核 工作頻率介于 DC 至 80 MHz 之間 閃速程序存儲器,高達 256 KB, 100,000 次寫(xiě)循環(huán), 20 年保留時(shí)間,多種安全特性 高達 64 KB 的 SRAM 存儲器 2 KB EEPROM 存儲器,1 百萬(wàn)次寫(xiě)循環(huán),20 年保留時(shí)間 24 通道 DMA,多層 AHB 總線(xiàn)訪(fǎng)問(wèn) • 可編程鏈式描述符和優(yōu)先級 • 支持高帶寬 32 位傳輸 低電壓,超低功耗 寬廣的工作電壓范圍:0.5V 到 5.5V 高效升壓調節器(輸入 0.5V,輸出 1.8V-5.0V) 6 MHz 時(shí)為 2 mA 低功耗模式包括: • 300 nA 休眠模式,RAM 保留數據和 LVD • 2 μA 睡眠模式,提供實(shí)時(shí)時(shí)鐘和低電壓復位 靈活 I/O 系統 28 至 72 個(gè) I/O (62 個(gè) GPIO、8 個(gè) SIO、2 個(gè) USBIO[1]) 可從任意 GPIO 路由至任意數字或模擬外設 任何 GPIO 都具有 LCD 直接驅動(dòng)功能,能夠驅動(dòng)多達 46x16個(gè)段 (Segment)[1] 1.2V 至 5.5V I/O 接口電壓,多達 4 個(gè)電壓域 任何引腳或端口都可設置成可接受獨立的可屏蔽 IRQ 施密特觸發(fā)器 TTL 輸入 所有 GPIO 均可配置為開(kāi)漏高電平/ 低電平、上拉/ 下拉、High-Z 或強輸出 在加電復位 (POR) 時(shí)可配置 GPIO 引腳的狀態(tài) SIO 具有 25 mA 的灌電流能力 數字外設 20 至 24 個(gè)基于 PLD 的可編程通用數字模塊 Full CAN 2.0b RX 緩沖區(16 個(gè))和 TX 緩沖區(8 個(gè))[1] 全速 (FS) USB 2.0 12 Mbps (采用內部振蕩器) [1] 4 個(gè) 16 位可配置定時(shí)器、計數器和 PWM 模塊 標準外設庫 • 8、16、24 和 32 位定時(shí)器、計數器和 PWM • SPI、UART、I2C • 目錄中列出的許多其他外設 高級外設庫 • 循環(huán)冗余校驗 (Cyclic Redundancy Check, CRC) • 偽隨機序列 (Pseudo Random Sequence, PRS) 發(fā)生器 • LIN 總線(xiàn) 2.0 • 正交解碼器 模擬外設 (1.71V ≤ Vdda ≤ 5.5V) -40°C 至 +85°C 時(shí)內部電壓參考為 1.024V±0.1% (14 ppm/°C) 兩個(gè) SAR ADC,在 1 Msps 時(shí)均支持 12 位[1] 80 MHz, 24 位定點(diǎn)數字濾波器模塊 (DFB),用于實(shí)現 FIR和 IIR 濾波器[1] 四個(gè) 8 位 8 Msps IDAC 或 1 Msps VDAC 四個(gè)響應時(shí)間為 75 ns 的電壓比較器 四個(gè)驅動(dòng)能力為 25 mA 的未賦定運算放大器 四個(gè)可配置的多功能模擬模塊。配置示例包括 PGA、TIA、合成器以及采樣和保持 編程、調試和跟蹤 JTAG (4 線(xiàn))接口,串行線(xiàn)調試 (SWD) (2 線(xiàn))接口,單線(xiàn)瀏覽器 (Single Wire Viewer, SWV),以及 TRACEPORT 接口 Cortex-M3 閃存修補和斷點(diǎn) (FPB) 模塊 Cortex-M3 Embedded Trace Macrocell™ (ETM™) 可生成指令跟蹤流。 Cortex-M3 數據觀(guān)察點(diǎn)和跟蹤 (DWT) 可生成數據跟蹤信息 Cortex-M3 Instrumentation Trace Macrocell (ITM) 可用于printf 式調試 DWT、ETM 和 ITM 模塊可通過(guò) SWV 或 TRACEPORT 與片外調試和跟蹤系統進(jìn)行通信 支持通過(guò) I2C、SPI、UART、USB 以及其他接口進(jìn)行引導加載程序編程 高精度、可編程時(shí)鐘 涵蓋整個(gè)溫度和電壓范圍的 1 至 74 MHz 內部振蕩器 4 至 33 MHz 晶振,能夠實(shí)現晶振 PPM 精度 內部 PLL 能夠生成高達 80 MHz 的時(shí)鐘 32.768 kHz 監視晶振 頻率為 1 kHz、33 kHz 和 100 kHz 的低功耗內部振蕩器 溫度和封裝 -40℃ 至 +85℃ 工業(yè)級溫度 48 引腳 SSOP、68 引腳 QFN 以及 100 引腳 TQFP 封裝可供選擇__ CY8C54 系列的超低功耗閃速可編程片上系統 (PSoC®) 器件是可伸縮 8 位 PSoC®3 和 32 位 PSoC 5 平臺不可或缺的組成部分。 CY8C54 系列圍繞 CPU 子系統提供了多個(gè)可配置的模擬、數字和互連電路模塊。通過(guò)將 CPU 同高度靈活的模擬子系統、數字子系統、路由及 I/O 相結合,可以在眾多消費、工業(yè)和醫學(xué)應用領(lǐng)域實(shí)現高度集成。 ![]() 圖1.PSoC®5簡(jiǎn)化的框圖 ![]() 圖2.PSoC®5中的ARM Cortex-M3 框圖 ![]() 圖3.PSoC®5的時(shí)鐘子系統框圖 ![]() 圖4.PSoC®5的PSoC供電系統框圖 ![]() 圖5.PSoC®5的CAN 控制器框圖 CY8CKIT-017 CAN/LIN擴展板 The CY8CKIT-017 CAN/LIN Expansion Board Kit (EBK) is an expansion board that is used with the CY8CKIT-001 PSoC® Development Kit (DVK), the CY8CKIT-030 PSoC 3 Development Kit (DVK), or the CY3280-22x45 Universal CapSense® Controller (UCC) kit. It enables you to evaluate the Controller Area Network (CAN) communication capability of PSoC 3 and PSoC 5 devices. You can design your own projects with an easy-to-use CAN component in Cypress’s PSoC Creator™ software, or by altering code examples provided with this kit. This kit also allows you to develop custom Local Interconnect Network (LIN) communication IP for any PSoC device (PSoC 1, PSoC 3, or PSoC 5). Currently no LIN user modules, components, or code examples are provided by this kit or with Cypress software. However, these LIN solutions are planned for the future. The CY8CKIT-017 CAN/LIN EBK is used with the PSoC family of devices. PSoC 3 is a programmable system-on-chip platform for 8-, 16-, and 32-bit applications. It combines precision analog and digital logic with a high-performance 8051 single cycle per instruction pipelined processor, achieving 10 times the performance of previous 8051 processors. With PSoC, you can create the exact combination of peripherals and integrated proprietary IP to meet the needs of your applications. This kit is primarily designed to add CAN and LIN capabilities to the CY8CKIT-001 PsoC Development Kit (DVK). This DVK has support for PSoC 1, PSoC 3, and PSoC 5 families. However, it may be necessary to obtain or purchase additional processor modules for the CY8CKIT-001 to develop applications for a particular PSoC device family. This kit is also compatible with the CY8CKIT-030 PSoC 3 Development Kit. See the documentation for the CY8CKIT-030 DVK to see which ports this EBK can be attached to. A CY8CKIT-030 kit can generally be substituted for a CY8CKIT-001 kit when using the CY8CKIT-017 kit. Therefore, any information regarding the CY8CKIT-001 kit in this document generally also applies to the CY8CKIT- 030 kit. CAN/LIN擴展板包括: ■ CAN/LIN Expansion Board ■ Quick Start Guide ■ Kit CD CAN/LIN EBK硬件包括以下功能塊: ■ CAN transceiver circuit (TJA1050) ■ LIN transceiver circuit in master configuration (TJA1020) ■ LIN transceiver circuit in slave configuration (TJA1020) ■ Three indicator LEDs ■ EBK identification circuit (not populated) ■ 40-pin (2 x 20) connector (Sullins Connector Solutions, S2111E-20-ND) The primary functional blocks of this EBK are the three transceiver circuits: one CAN transceiver circuit and two LIN transceiver circuits. Each of these transceiver circuits enables a digital CMOS PSoC device to interface with a physical CAN or LIN bus, respectively. Without these transceiver circuits, it is impossible for CMOS devices to communicate with other CAN or LIN nodes on a CAN or LIN bus. ![]() 圖6. CAN/LIN EBK連接到CY8CKIT-001 DVK端口A(yíng) ![]() 圖7. CAN/LIN EBK方框圖 ![]() 圖8. CAN/LIN EBK電路圖 CAN/LIN EBK材料清單: ![]() ![]() 圖9. CAN/LIN EBK PCB元件布局圖 詳情請見(jiàn): ![]() ![]() 來(lái)源:網(wǎng)絡(luò ) |