atmel:n76e003

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
atmel:n76e003 [2019/09/28 21:23] minerva9atmel:n76e003 [2019/10/07 14:08] (current) minerva9
Line 9: Line 9:
 Had kinda hoped that somebody out there might have written up a guide on how to use this board with the BASCOM-8051 BASIC compiler but a decent 'howto' note couldn't be found. Had kinda hoped that somebody out there might have written up a guide on how to use this board with the BASCOM-8051 BASIC compiler but a decent 'howto' note couldn't be found.
  
-So, a few notes on how this might work. As things stand (Sept 2019), some parts are ordered and a bit of research is started. As and when the parts arrive and can be played with, notes will be added here. N.B. To date, I've not even been able to program the device!+So, a few notes on how this might work. As things stand (Oct 2019), some parts are ordered and a bit of research is started. As and when the parts arrive and can be played with, notes will be added here. N.B. To date, I've not even been able to program the device!
  
 The chip is a 20 pin surface mount part. Manufacturer datasheet (a 273 page .pdf) can be found [[https://datasheet.lcsc.com/szlcsc/Nuvoton-Tech-N76E003AT20_C82751.pdf|here]]. It's generally a lot easier to buy a dev board with this device already in place than to manhandle the bare part. The chip is a 20 pin surface mount part. Manufacturer datasheet (a 273 page .pdf) can be found [[https://datasheet.lcsc.com/szlcsc/Nuvoton-Tech-N76E003AT20_C82751.pdf|here]]. It's generally a lot easier to buy a dev board with this device already in place than to manhandle the bare part.
  
 +Asserted that my dev board hasn't been setup with a serial bootloader, so I'll have to await the arrival of the 'link' programmer before a lot more can be done. The programmer is a 3-wire affair.
 \\ \\
  
Line 18: Line 19:
 \\ \\
 {{:atmel:n76e003at20-internal.png?400|}} {{:atmel:n76e003at20-internal.png?400|}}
 +\\
 +\\
 +Note: Whilst the above picture is a good overview, it doesn't make it very clear that the memory can be split into 'code space' (APROM) and 'bootloader space' (LDROM).
 \\ \\
 \\ \\
Line 23: Line 27:
  
 The board that I have (as pictured above) measures about 42mm x 30mm. It's pretty small, yet space has been made for four M3 mounting holes. The board that I have (as pictured above) measures about 42mm x 30mm. It's pretty small, yet space has been made for four M3 mounting holes.
-The chip is centrally positioned. This board has a Mini-B USB connector fitted. Seems that this is just used to feed 5V to the board - the data lines on the connector don't seem to be hooked up to anything. A surface mounted LED lights up when power is applied via the Micro-B. The other LED on the board is attached (via a resistor) to port pin P15 - the Jumper 'J2' needs to be fitted if you want to drive this LED. +The chip is centrally positioned. This board has a mini-B USB connector fitted. Seems that this is just used to feed 5V to the board - the data lines on the connector don't seem to be hooked up to anything. A surface mounted LED lights up when power is applied via the mini-B. The other LED on the board is attached (via a resistor) to port pin P15 - the Jumper 'J2' needs to be fitted if you want to drive this LED. 
 \\ \\ \\ \\
 The chip can work at supply voltages between 2.4V and 5.5V. The board uses a AMS1117 3.3V regulator to drop the 5V USB fed line. Not sure why they bothered, but there we have it. I've seen a variant of this board that is fitted with a 5V/3.3V selector switch. The chip can work at supply voltages between 2.4V and 5.5V. The board uses a AMS1117 3.3V regulator to drop the 5V USB fed line. Not sure why they bothered, but there we have it. I've seen a variant of this board that is fitted with a 5V/3.3V selector switch.
Line 29: Line 33:
 \\ \\
  
-=== A few words about the device specification ===+=== A few words about the key features of this device ===
  
-From the datasheet ...+Core 
 +- 1T 8051 processor 
 +- Max frequency up to 16MHz 
 +- Wide operating voltage: 2.4V to 5.5V 
 +- Temperature range: -40℃ to 105℃ 
 +Memory 
 +- 18 KB of Flash memory 
 +- 1 KB of SRAM 
 +- Supports configurable Data Flash 
 +- Supports program update by: 
 +ISP (In-System Programming) 
 +ICP (In-Circuit Programming) 
 +IAP (In-Application Programming) 
 +PWM 
 +- Up to 6-ch PWM 
 +- Programmable dead-zone generator 
 +ADC 
 +- 12-bit 8-ch ADC 
 +- Runs up to 500 kSPS 
 +Connectivity 
 +- Two UARTs up to 115200 bps 
 +- One SPI up to 8 MHz 
 +- One I²C up to 400 kHz 
 +Clock Control 
 +- < 2% deviation 16 MHz Internal RC oscillator 
 +- 10 kHz Internal RC oscillator 
 +Part No. 
 +N76E003AT20 
 +Flash (Kbytes) 
 +18 
 +SRAM (Kbytes) 
 +1K 
 +Data Flash (Kbytes) 
 +Configurable 
 +ISP ROM (Kbytes) 
 +√ 
 +I/O 
 +up to 18 
 +Timer (16-bit) 
 +
 +Connectivity-UART 
 +
 +Connectivity-SPI 
 +
 +Connectivity-I²C 
 +
 +PWM (16-bit) 
 +
 +ADC (12-bit) 
 +
 +ICP IAP ISP 
 +√ 
 +INT 
 +
 +Special Function 
 +1T 8051, 16 MHz internal RC, KBI, on-chip debugger 
 +Operating Temp. Range (°C ) 
 +-40 ~ +85 
 +Comp. 
 +
 +Chip Package 
 +TSSOP20 (4.4x6.5) 
 +----
  
 +=== Some ideas ===
  
----- +This chip has both user program and bootloader areasIt should be possible to use the Nuvoton supplied serial bootloader to allow the board to be programmed via standard USB to serial port adaptor.
- +
-The Nuvoton 1T 8051-based microcontroller N76E003 series is function compatible with the +
-N76E616 and N76E885 series, the 8-bit high performance 1T 8051-based microcontrollerThe +
-instruction set is fully compatible with the standard 80C51 and performance enhanced. The +
-N76E003 series can bridge the gap and replace the cost equivalent to traditional 4T, 6T and 12T +
-8-bit microcontroller by 1T 8-bit high performance and rich functions. With high performance CPU +
-core and rich well-designed peripherals, the N76E003 benefits to meet general purpose, home +
-appliances, or motor control system accomplishment.+
 \\ \\
-The N76E003 series can run up to 16MHz, and operate at a wide voltage range of 2.4V ~ 5.5V 
-and temperature range of -40℃ ~ +105℃. For the N76E003 series, the embedded program flash 
-size is up to 18 Kbytes, SRAM is 256 bytes, and 768 Bytes of auxiliary RAM (XRAM). The 
-N76E003 series also offers size configurable 4K/3K/2K/1K/0K bytes flash of LDROM for the ISP, 
-which provides flexibility to user developed Boot Code. 
-The N76E003 series has many high-performance peripheral functions, such as 16MHz highspeed internal RC oscillator (trimmed to ±1% when VDD 5.0V, ±2% in all conditions), I/O port with 
-up to 18 pins, four 16-bit timers, two full-duplex UARTs ports with frame error detection and 
-automatic address recognition, one SPI interface, one I2C interface, up to five enhanced 16-bit 
-PWM output channels, 8 channels 12-bit ADC, Watchdog Timer, Self Wake-up Timer, and a 
-Brown-out Detector. The peripherals are equipped with 18 sources with 4-level-priority interrupts 
-capability. 
 \\ \\
-All these peripherals have been incorporated into the N76E003 series to reduce +ToDo:
-component count, board space and system cost.+
 \\ \\
-Additionally, the N76E003 series is equipped with ISP (In-System Programming) and ICP (InCircuit Programming) functions, which allow the user to update the program memory without +  * Need to find out if the board comes pre-supplied with a bootloader.  Done. Mine didn't
-removing the chip from the actual end productThe N76E003 series also supports In-ApplicationProgramming (IAP) function, user switches the code executing without the chip reset after the +  * A small enclosure will need to be milled to hold this part.
-embedded flash updated.+
  
- 
----- 
- 
-=== Some ideas === 
- 
-This chip has both user program and bootloader areas. It should be possible to use the Nuvotron supplied serial bootloader to allow the board to be programmed via a standard USB to serial port adaptor. 
-\\ 
-ToDo: Need to find out if the board comes pre-supplied with a bootloader.   
  
 === Some links === === Some links ===
  • atmel/n76e003.1569705813.txt.gz
  • Last modified: 2019/09/28 21:23
  • by minerva9