Access to IRAM on NRF24LE1

Discussion about wireless devices

Access to IRAM on NRF24LE1

Postby zdakun » Mon Jul 22, 2013 3:55 pm

I think this is a very simple programming question.
On thedatasheet of NRF24LE1 on "Memory and IO organization"(page 62), there is "data space", and "code space", either of these have address ranging from 0x0000 to 0xffff. And there is a third graph on the side illustrating SFR and IRAM. Currently I want to write/read a byte in IRAM, so I can keep the data during memory retention mode. How can I do that in C?
zdakun
 
Posts: 2
Joined: Mon Jul 22, 2013 3:48 pm

Re: Access to IRAM on NRF24LE1

Postby brennen » Mon Jul 22, 2013 5:54 pm

Assuming you're using SDCC as your compiler, see section 3.4.1 of the user manual.
brennen
Site Admin
 
Posts: 395
Joined: Sun Aug 17, 2008 2:15 pm

Re: Access to IRAM on NRF24LE1

Postby zdakun » Tue Jul 23, 2013 1:12 am

THank you, that really helps!
zdakun
 
Posts: 2
Joined: Mon Jul 22, 2013 3:48 pm


Return to Wireless

Who is online

Users browsing this forum: No registered users and 2 guests

cron