Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
SOM-1G cannot use the same program as SOM-128
2018 年 10 月 18 日
16:37:12
zerozaber
Moderator
Forum Posts: 52
Member Since:
2015 年 02 月 11 日
Offline

Hi.
I wrote a program which consists of 1 interrupt (by PWM) and UARTs.
However, I don't use Serial1 or other libraries for Arduino. I wrote my own UART library which uses polling mode instead of interrupt (polling inside pwm interrupt).
The codes works well with SOM-128. However, it doesn't work on 1G version. I have checked pwm interrupt and it still runs, however, no UART comes out of the board.

My hypothesis is that writing my own library does something with memery, and the address may not be the same for 1G version.
I tried to observe my UART library, and it seems that for TX1 & RX1, uartConfigBaseAddress is 3072 and uartBaseAddress is 1016.

Forum Timezone: Asia/Taipei

Most Users Ever Online: 66

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

smeezekitty: 8

hippy: 8

Ekkehard: 8

UIdahoCIT: 8

tomka: 8

lukeross: 8

Kato Gangstad: 7

Member Stats:

Guest Posters: 0

Members: 1473

Moderators: 14

Admins: 5

Forum Stats:

Groups: 2

Forums: 10

Topics: 234

Posts: 1073

Newest Members: Gyclewheeple, mameise, Bonbon, darch8558, qwtucqjukt, Ronalddruck, jjump, xxsergiorob, Bryanwitle, npapanikolas

Moderators: Glaux: 70, uaa: 11, guigra: 16, asian55: 22, Android_Lin: 207, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 20, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 0