Arduino MEGA328P

Started by tha, September 10, 2017, 10:04:41 AM

Previous topic - Next topic

tha

ใครอยากได้ของแท้ ก็มีครับ ที่ไหนมีอีก
http://www.thaieasyelec.com/

tha


Description(การพรรณา)
   The Atmel AVR® core ได้รวมเอาชุดคำสั่งที่เข้มข้น( a rich instruction set) เข้ากับ 32 general purpose working registers. registers ทั้งหมด 32 ตัวต่อโดยตรงถึง the Arithmetic Logic Unit ยอมให้ registers 2 ตัวที่เป็นอิสระถูกเข้าถึงในหนึ่งคำสั่งปฏิบัติงานใน clock cycle เดียว ผลที่ได้ของ architecture นี้คือประสิทธิภาพของ code มีมากขึ้น ขณะที่ปริมาณงานที่ได้เพิ่มขึ้นเป็น 10 เท่าที่เร็วกว่า CISC microcontrollers ทั่วไป

tha

  The ATmega328/P จัดให้มีลักษณะคุณสมบัติดังต่อไปนี้: 32Kbytes of In-System Programmable Flash with Read-While-Write capabilities, 1Kbytes EEPROM, 2Kbytes SRAM, 23 general purpose I/O lines, 32 general purpose working registers, Real Time Counter (RTC), three flexible Timer/Counters with compare modes and PWM, 1 serial programmable USARTs , 1 byte-oriented 2-wire Serial Interface (I2C), a 6-channel 10-bit ADC (8 channels in TQFP and QFN/MLF packages) , a programmable Watchdog Timer with internal Oscillator, an SPI serial port, และ 6  power saving modes ที่เลือกได้ทางซอฟแวร์. The Idle mode หยุด the CPU ในขณะที่ยอมให้ the SRAM, Timer/Counters, SPI port, and interrupt system ทำงานตามหน้าที่ต่อไป The Power-down mode จะเซฟข้อมูลที่อยู่ใน register แต่จะแช่แข็ง  the Oscillator, ปิดการใช้งานหน่วยหน้าที่อื่นๆของ chip ทั้งหมด จนกระทั่ง  interrupt ถัดไป หรือ hardware reset. ใน Power-save mode, the asynchronous timer ยังรันต่อไป, ยอมให้ผู้ใช้คง a timer base อยู่ไว้ ในขณะที่ส่วนที่ของอุปกรณ์นอนพัก(sleeping). The ADC Noise Reduction mode หยุด the CPU and all I/O modules ยกเว้น asynchronous timer และ ADC เพื่อทำให้ switching noise น้อยลง ในระหว่างการแปลง ADC conversions. ใน Standby mode, the crystal/resonator oscillator รันอยู่ ในขณะที่ส่วนที่เหลือของ mcu นอนพัก นี้ยอมให้การ start-up เร็วมากรวมกับการกินพลังงานที่ต่ำ ใน Extended Standby mode, ทั้ง the main oscillator และ the asynchronous timer รันอยู่ต่อไป


tha

Atmel เสนอให้มี the QTouch® library for embedding capacitive touch buttons, sliders and wheels functionality เข้าไปใน AVR microcontrollers. The patented charge-transfer signal acquisition เสนอให้มี robust sensing และรวมทั้ง fully debounced reporting ของ touch keys and includes Adjacent Key Suppression® (AKS™) technology สำหรับการตรวจจับที่คลุมเคลือของเหตการณ์ของ key(key events). The easy-to-use QTouch Suite toolchain ยอมให้คุณสำรวจ, พัฒนาและตรวจหาแก้จุดบกพร่องการใช้งาน touch applications ของคุณเอง

วันนี้ฝนตก เย็นไปได้มากหน่อย 8)

software

มีข้อดีแต่ก็มีข้อเสียนะครับ มีแต่ mul แต่ไม่มี div ไม่มี decimal adjust ด้วยทำให้เขียนการบวกลบเลขฐานสิบต้องเขียนโปรแกรมแปลง r0-r15 มีข้อจำกัดในการใช้งานเยอะ แต่ชอบ r16-r31 มากๆทำให้รู้สึกเหมือนมี MCS51 16ตัวอยู่ใน chip เดียวตอนนี้รักเลยครับ

tha

ขอบคุณที่แนะนำครับ หยุดไปสองปีกว่าลืมหมดเลย โน๊ตบุ๊ตที่มีเรื่องราว ARM Cortex-M ก็ขายไปแล้ว คล้ายๆจะลืมไปแล้ว แต่พอได้อ่านก็จำสัมนวณเก่าๆได้ ความทรงจำเริ่มกลับคืนมา แต่ก็ต้องร่ายกันต่อไป ถึงจะรู้เรื่อง ช่วงนี้ยุ่งๆจัดอาศม ติดมุ้งลวด เลยไม่ได้แปล  :)

tha

The device ถูกผลิตโดยใช้ Atmel's high density non-volatile memory technology. The On-chip ISP Flash ยอมให้ the program memory ถูกโปรแกรมซ้ำใหม่ In-System ทาง an SPI serial interface, โดย a conventional nonvolatile memory programmer, หรือโดย an On-chip Boot program ที่รันใน the AVR core. The Boot program สามารถใช้ interface จำนวนหนึ่งเพื่อ download the application program ไปใน the Application Flash memory. Software ใน the Boot Flash section จะรันต่อไปในขณะที่ the Application Flash section ถูกอัฟเดต, จัดให้มี Read-While-Write operation ที่ถูกต้อง. โดยการรวม an 8-bit RISC CPU ด้วย In-System Self-Programmable Flash บน a monolithic chip, the Atmel ATmega328/P จึงเป็น a powerful microcontroller ที่มีความหยืดหยุ่นสูงและแก้ปัญหาด้านราคาอย่างมีประสิทธิภาพให้ embedded control applications จำนวนมาก

The ATmega328/P ถูกสนับสนุนด้วย a full suite of program และ system development tools รวมทั้ง: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Circuit Emulators, and Evaluation kits.

tha