3559 views|6 replies

5303

Posts

454

Resources
The OP
 

[Lazy self-care fish tank control system] Control GPIO pins in RTE mode of KEIL environment [Copy link]

 

[Lazy self-care fish tank control system] APP control pin in KEIL environment RTE mode

1. Development Environment Description

1. IDE: Install KEIL and PACK of SDK

2. Project: ble_peripheral_server_bond

2. Configure RTE

Open Manage Run-Time Environment

GPIO is used here, so enable the GPIO component and select the library according to the resources you need.

Open the RTE_Device.h file

3. Configure peripheral resources

This file has 1: code editing mode: and 2: select configuration mode

Here I choose 2, so that the configuration is more intuitive! The code editing method is too long!

Configuration wizard Select GPIO Configuration

1: Enable GPIO first

2: GPIO drive strength, there are 4 types

3: Low-pass filtering

4: No pull-up, pull-up, pull-down, strong pull-up

5: Here, GPIO0 is configured as output with a value of 0. Of course, you can choose different functions according to your needs.

4. Editing Code

1. Add header files and related global variables

2. Initialize GPIO data

3. Control GPIO output

It is very convenient to configure the GPIO of RSL10 through RTE. It is the first time to use it, so it is inevitable that there are some shortcomings! Learn while using!

Latest reply

Is there any RTE configuration in On Semiconductor IDE? Open the file in the IDE and it is full of code   Details Published on 2021-5-5 22:08
 
 

1662

Posts

0

Resources
2
 

The code to configure peripheral resources is not very long.

Comments

I feel that reading more than 3K lines in RTE_Device.h is too tiring for the eyes  Details Published on 2021-4-23 10:46
 
 
 

5303

Posts

454

Resources
3
 
Hot Ximi Show published on 2021-4-23 10:34 The code editing for configuring peripheral resources is not very long

I feel that reading more than 3K lines in RTE_Device.h is too tiring for the eyes

 
 
 

33

Posts

1

Resources
4
 

Comments

Learn by doing, learn together  Details Published on 2021-4-27 16:32
 
 
 

5303

Posts

454

Resources
5
 

Learn by doing, learn together

 
 
 

33

Posts

1

Resources
6
 

Is there any RTE configuration in On Semiconductor IDE?

Open the file in the IDE and it is full of code

Comments

I didn't find any graphical configuration, only code editing configuration  Details Published on 2021-5-5 22:26
 
 
 

5303

Posts

454

Resources
7
 
Blkhumor posted on 2021-5-5 22:08 Is there any RTE configuration in On Semiconductor IDE? When I open the file in IDE, it is all code

I didn't find any graphical configuration.

Only code editing mode configuration

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list