|
2 / 7 / 6
Регистрация: 13.10.2013
Сообщений: 249
|
|
МК по 15р. N76E003 (8051 nuvoton)10.05.2018, 15:54. Показов 6153. Ответов 7
Метки нет (Все метки)
N76E003
Описание: http://www.nuvoton.com/resourc... ev1.00.pdf Появились как замена подорожавшим STM8S003F3P6 (совместимы по выводам) В целом выглядят более привлекательными несмотря на то что более медленные. Мелкие устройства (амперметры, терморегуяторы, электронные нагрузки, блоки питания, таймеры) c Aliexpress интенсивно переводятся именно на эти процессоры. Быстрый старт: http://mcu.goodboard.ru/viewtopic.php?id=116 Купить можно у производителя или на Aliexpress http://www.nuvoton.com/hq/prod... _locale=en Описание из доки 1. GENERAL DESCRIPTION The N76E003 is an embedded flash type, 8-bit high performance 1T 8051-based microcontroller. The instruction set is fully compatible with the standard 80C51 and performance enhanced. The N76E003 contains a up to 18K Bytes of main Flash called APROM, in which the contents of User Code resides. The N76E003 Flash supports In-Application-Programming (IAP) function, which enables on-chip firmware updates. IAP also makes it possible to configure any block of User Code array to be used as non-volatile data storage, which is written by IAP and read by IAP or MOVC instruction. There is an additional Flash called LDROM, in which the Boot Code normally resides for carrying out In-System-Programming (ISP). The LDROM size is configurable with a maximum of 4K Bytes. To facilitate programming and verification, the Flash allows to be programmed and read electronically by parallel Writer or In-Circuit-Programming (ICP). Once the code is confirmed, user can lock the code for security. The N76E003 provides rich peripherals including 256 Bytes of SRAM, 768 Bytes of auxiliary RAM (XRAM), Up to 18 general purpose I/O, two 16-bit Timers/Counters 0/1, one 16-bit Timer2 with threechannel input capture module, one Watchdog Timer (WDT), one Self Wake-up Timer (WKT), one 16- bit auto-reload Timer3 for general purpose or baud rate generator, two UARTs with frame error detection and automatic address recognition, one SPI, one I2 C, five enhanced PWM output channels, eight-channel shared pin interrupt for all I/O, and one 12-bit ADC. The peripherals are equipped with 18 sources with 4-level-priority interrupts capability. The N76E003 is equipped with three clock sources and supports switching on-the-fly via software. The three clock sources include external clock input, 10 kHz internal oscillator, and one 16 MHz internal precise oscillator that is factory trimmed to ±1% at room temperature. The N76E003 provides additional power monitoring detection such as power-on reset and 4-level brown-out detection, which stabilizes the power-on/off sequence for a high reliability system design. The N76E003 microcontroller operation consumes a very low power with two economic power modes to reduce power consumption - Idle and Power-down mode, which are software selectable. Idle mode turns off the CPU clock but allows continuing peripheral operation. Power-down mode stops the whole system clock for minimum power consumption. The system clock of the N76E003 can also be slowed down by software clock divider, which allows for a flexibility between execution performance and power consumption. With high performance CPU core and rich well-designed peripherals, the N76E003 benefits to meet a general purpose, home appliances, or motor control system accomplishment. N76E003 Datasheet Oct 28, 2016 Page 6 of 261 Rev. 1.00 2. FEATURES CPU: – Fully static design 8-bit high performance 1T 8051-based CMOS microcontroller. – Instruction set fully compatible with MCS-51. – 4-priority-level interrupts capability. – Dual Data Pointers (DPTRs). Operating: – Wide supply voltage from 2.4V to 5.5V. – Wide operating frequency up to 16 MHz. – Industrial temperature grade: -40℃ to +105℃. Memory: – Up to 18K Bytes of APROM for User Code. – Configurable 4K/3K/2K/1K/0K Bytes of LDROM, which provides flexibility to user developed Boot Code. – Flash Memory accumulated with pages of 128 Bytes each. – Built-in In-Application-Programmable (IAP). – Code lock for security. – 256 Bytes on-chip RAM. – Additional 768 Bytes on-chip auxiliary RAM (XRAM) accessed by MOVX instruction. Clock sources: – 16 MHz high-speed internal oscillator trimmed to ±1% when VDD 5.0V, ±2% in all conditions. – 10 kHz low-speed internal oscillator. – External clock input. – On-the-fly clock source switch via software. – Programmable system clock divider up to 1/512. Peripherals: – Up to 17 general purpose I/O pins and one input-only pin. All output pins have individual 2-level slew rate control. – Standard interrupt pins ̅̅̅̅̅̅̅ and ̅̅̅̅̅̅̅. – Two 16-bit Timers/Counters 0 and 1 compatible with standard 8051. N76E003 Datasheet Oct 28, 2016 Page 7 of 261 Rev. 1.00 – One 16-bit Timer 2 with three-channel input capture module and 9 input pin can be selected. – One 16-bit auto-reload Timer 3, which can be the baud rate clock source of UARTs. – One 16-bit PWM counter interrupt for timer. – One programmable Watchdog Timer (WDT) clocked by dedicated 10 kHz internal source. – One dedicated Self Wake-up Timer (WKT) for self-timed wake-up for power reduced modes. – Two full-duplex UART ports with frame error detection and automatic address recognition. TXD and RXD pins of UART0 exchangeable via software. – One SPI port with master and slave modes, up to 8 Mbps when system clock is 16 MHz. – One I 2 C bus with master and slave modes, up to 400 kbps data rate. – Three pairs, six channels of pulse width modulator (PWM) output, 10 output pins can be selected., up to 16-bit resolution, with different modes and Fault Brake function for motor control. – Eight channels of pin interrupt, shared for all I/O ports, with variable configuration of edge/level detection. – One 12-bit ADC, up to 500 ksps converting rate, hardware triggered and conversion result compare facilitating motor control. Power management: – Two power reduced modes: Idle and Power-down mode. Power monitor: – Brown-out detection (BOD) with low power mode available, 4-level selection, interrupt or reset options. – Power-on reset (POR). Strong ESD and EFT immunity. Development Tools: – Nuvoton On-Chip-Debugger (OCD) with KEILTM development environment. – Nuvoton In-Circuit-Programmer (ICP). – Nuvoton In-System-Programming (ISP) via UART
1
|
|
| 10.05.2018, 15:54 | |
|
Ответы с готовыми решениями:
7
NUVOTON ARM9 (N3292x) Прошу помощи по nuvoton. nuc220le3an. Мультик nuvoton nct6795d-m нужно шить или нет? |
|
2 / 7 / 6
Регистрация: 13.10.2013
Сообщений: 249
|
|
| 10.05.2018, 21:25 [ТС] | |
|
здесь я написал что-то не туда.
0
|
|
|
1983 / 1276 / 131
Регистрация: 04.01.2010
Сообщений: 4,607
|
|
| 12.05.2018, 09:52 | |
|
Да, действительно (по описанию) очень даже прикольный. Чип. До STM8S/L он не дотягивает разве что NVIC'ом. Хотя, может быть приоритеты прерываний все-таки имеются, просто не обозначены в спецификации. На taobao эти чипы есть (наверное оптом) по 0,5юаня. А это ~8.3 американских цента... По цене они уделали даже озвученый STM8S003.
0
|
|
|
487 / 333 / 33
Регистрация: 15.08.2011
Сообщений: 1,078
|
|
| 13.05.2018, 12:36 | |
|
0
|
|
|
1983 / 1276 / 131
Регистрация: 04.01.2010
Сообщений: 4,607
|
||
| 13.05.2018, 13:15 | ||
. Допустим вот. на стр.87-89 есть описание, где для приоритетов прерываний используется только один бит.PS: за "наколку" для углубленного изучения спасибо.
0
|
||
|
2 / 7 / 6
Регистрация: 13.10.2013
Сообщений: 249
|
|
| 19.03.2019, 11:49 [ТС] | |
|
генератор кода
кривой (работает 1 раз) https://github.com/Jen-Chih-Liu/N76E003_CODE_GEN там найдешь exe файл Добавлено через 12 минут запускать из папки dist/dyaddtable там нужные библиотеки
0
|
|
|
487 / 333 / 33
Регистрация: 15.08.2011
Сообщений: 1,078
|
||
| 20.03.2019, 23:56 | ||
|
0
|
||
|
2 / 7 / 6
Регистрация: 13.10.2013
Сообщений: 249
|
|
| 08.01.2020, 18:06 [ТС] | |
|
кто хочет починить генератор кода ?
0
|
|
| 08.01.2020, 18:06 | |
|
Помогаю со студенческими работами здесь
8
Билет на одну поездку в метров стоит 15р, билет на 10 поездок стоит 125р, на 60 поездок 440
IAR for 8051 EDSIM 8051 Прерывания на мк 8051 Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
Новые блоги и статьи
|
|||
|
Отправка уведомления на почту при изменении наименования справочника
Maks 24.03.2026
Программная отправка письма электронной почты на примере изменения наименования типового справочника "Склады" в конфигурации БП3. Перед реализацией необходимо выполнить настройку системной учетной. . .
|
модель ЗдравоСохранения 5. Меньше увольнений- больше дохода!
anaschu 24.03.2026
Теперь система здравосохранения уменьшает количество увольнений.
9TO2GP2bpX4
a42b81fb172ffc12ca589c7898261ccb/
https:/ / rutube. ru/ video/ a42b81fb172ffc12ca589c7898261ccb/
Слева синяя линия -. . .
|
Midnight Chicago Blues
kumehtar 24.03.2026
Такой Midnight Chicago Blues, знаешь?. .
Когда вечерние улицы становятся ночными, а ты не можешь уснуть. Ты идёшь в любимый старый бар, и бармен наливает тебе виски. Ты смотришь на пролетающие. . .
|
SDL3 для Desktop (MinGW): Вывод текста со шрифтом TTF с помощью библиотеки SDL3_ttf на Си и C++
8Observer8 24.03.2026
Содержание блога
Финальные проекты на Си и на C++:
finish-text-sdl3-c. zip
finish-text-sdl3-cpp. zip
|
|
Жизнь в неопределённости
kumehtar 23.03.2026
Жизнь — это постоянное существование в неопределённости. Например, даже если у тебя есть список дел, невозможно дойти до точки, где всё окончательно завершено и больше ничего не осталось. В принципе,. . .
|
Модель здравоСохранения: работники работают быстрее после её введения.
anaschu 23.03.2026
geJalZw1fLo
Корпорация до введения программа здравоохранения имела много невыполненных работниками заданий, после введения программы количество заданий выросло.
Но на выплатах по больничным это. . .
|
Контроль уникальности заводского номера
Maks 23.03.2026
Алгоритм контроля уникальности заводского (или серийного) номера на примере нетипового документа выдачи шин для спецтехники с табличной частью, разработанного в конфигурации КА2. Данные берутся из. . .
|
Хочу заставить корпорации вкладываться в здоровье сотрудников: делаю мат модель здравосохранения
anaschu 22.03.2026
e7EYtONaj8Y
Z4Tv2zpXVVo
https:/ / github. com/ shumilovas/ med2. git
|