Skip to content

Releases: radioshack16/rx220_sample

4th_samle_OLED_disp_controlled_via_I2C

29 Aug 13:06
Compare
Choose a tag to compare
Pre-release

OLED, LCD char-display controlled via I2C.

v1.2.0

16 May 07:42
Compare
Choose a tag to compare

rx220_sample

Small sample C program as a HEW project for Akizuki AE-RX220 development board

3rd sample

DFT/FFT functions added.

On power up, DFT and FFT functions are tested and processing time is shown via serial port.

  • FFT function spec:
    • Input: real only
    • Output: 0 to Nuquist frequency
    • Precision: double(8 or 4byte)
      (Renesas tool HEW can handle double type as either 8 or 4 byte.)
    • Number of input data supported: N=4(2^p)(3^q)(5^r)(7^s)
      (4<=N<=128 and p, q, r and s is an integer >= 0)
    • Desimation type: decimation-in-time
    • Radix: mixed radix
      • intermediate stage: 8, 7, 5, 4, 3, 2
      • terminal stage: 16, 8, 5, 4, 3, 2
    • Implementation: recursively implemented:
      a core function calls one of radix-specific functions depending on its input data count parameter M, and the called radix-specific function calls the core function
      to perform sub-M FFT.
    • performance summary
      FFT(real) performance summary
      For further details, see the 20160514_FFT_performance_on_RX621_RX220.pdf file.

Other functions: (the same as the 2nd sample)

  • MTU2 generates 1ms signal and interrupt
  • ADC converts 12 ch of analog input in scan mode
  • ADC generates an interrupt on the end of scan
  • Interupt handler send a char of hex for MSB 4bit of the AD value(Ch. 0)
    every 2ms
  • LED1/2 on/off with 1s period
  • Slide switch controls LED2

License: MIT License

  • See the LICENSE.txt file for details.

Blog : http://solar-club.jp/member/radioshack16/

2nd sample: ADC test code added

06 Sep 13:57
Compare
Choose a tag to compare

rx220_sample

Small sample C program as a HEW project for Akizuki AE-RX220 development board

<2nd sample>

  • MTU2 generates 1ms signal and interrupt
  • ADC converts 12 ch of analog input in scan mode
  • ADC generates an interrupt on the end of scan
  • Interupt handler send a char of hex for MSB 4bit of the AD value(Ch. 0)
    every 2ms
  • LED1/2 on/off with 1s period
  • Slide switch controls LED2

Blog : http://solar-club.jp/member/radioshack16/

1st sample

17 Aug 14:03
Compare
Choose a tag to compare

A small sample program for Akizuki AE-RX220 board:

  • LED1/2 on/off with 1s period
  • Slide switch controls LED2
  • MTU2 generates 1ms signal and interrupt
  • SCI1 send a character 'A' every 2ms from the interrupt handler