Search found 606 matches

by SeeCwriter
Mon Sep 15, 2014 11:32 am
Forum: NetBurner Software
Topic: EEPROM on I2C Bus
Replies: 7
Views: 4117

EEPROM on I2C Bus

I'm writing a function to write data to a serial EEPROM via i2c on a NANO54415. I see how to write the data with NB library functions. After a write the EEPROM goes into a write-cycle for up to 5ms, during which time it cannot be accessed. Rather than spin for 5ms, I want to use the ACK feature of t...
by SeeCwriter
Fri Sep 12, 2014 9:40 am
Forum: NetBurner Software
Topic: RTC on the NANO
Replies: 1
Views: 1381

RTC on the NANO

The NANO54415 has both rtc.h/cpp and mcf5441x_rtc.h/cpp files. Why are there two, and which pair should be used for RTC?

Steve
by SeeCwriter
Wed Sep 10, 2014 11:41 am
Forum: NetBurner Software
Topic: SPI Chip-Selects
Replies: 5
Views: 3053

Re: SPI Chip-Selects

DOH! That was it. I assumed the CS2 chip-select was an input to the SD card, so it didn't matter.

Any thoughts on whether I need to call DSPIInit() every time I want to change the spi chip-selects?

Thanks.
by SeeCwriter
Tue Sep 09, 2014 8:52 am
Forum: NetBurner Software
Topic: SPI Chip-Selects
Replies: 5
Views: 3053

SPI Chip-Selects

Using a NANO54415. I have multiple devices on the SPI port. The only place I've found to set the chip-selects is through the DSPIInit() function. Do I need to call DSPIInit() before every transfer when all I need to change is the chip-select, or can I just set Command_Mask accordingly before each tr...
by SeeCwriter
Fri Sep 05, 2014 6:06 pm
Forum: NetBurner Software
Topic: SD/MMC Interface Control Pins for Nano54415
Replies: 3
Views: 2643

Re: SD/MMC Interface Control Pins for Nano54415

The examples work fine. But when we move to our hardware I was hoping we could add an SD card carrier to the nano board and use a different SPI port for the card than SPI1 because the docs say that the SD card can't share the SPI bus with any other devices. And we have other SPI devices to connect t...
by SeeCwriter
Fri Sep 05, 2014 11:22 am
Forum: NetBurner Software
Topic: SD/MMC Interface Control Pins for Nano54415
Replies: 3
Views: 2643

SD/MMC Interface Control Pins for Nano54415

The Hardware and Software Guide says the EFFS requires exclusive use of the QSPI interface. Looking through the source code, mmc_mcf.cpp, I see there are two sets of defines for the SPI port to use for EFFS, SPI0 and SPI1, with SPI0 commented out. Since I don't have a schematic of the NANO board, I ...
by SeeCwriter
Fri Jul 25, 2014 2:52 pm
Forum: NetBurner Software
Topic: Sample program EFFS-BASIC
Replies: 4
Views: 2661

Re: Sample program EFFS-BASIC

So, the first time through the program, it works. When I move the start of the while loop in usermain() from just spinning on a 1-second delay to the just before DisplayEffsSpaceStats(), so that it repeatedly runs through the SD card test once a second, it fails. Is that because I have to call f_ent...
by SeeCwriter
Fri Jul 25, 2014 2:31 pm
Forum: NetBurner Software
Topic: Sample program EFFS-BASIC
Replies: 4
Views: 2661

Sample program EFFS-BASIC

I trying to run the EFFS-BASIC sample program on a NANO54415. I'm using v2.6.7 of NBEclipse. I have a 1Gb microSD chip plugged into the microSD socket.

The first library call fails:

rv = f_getfreespace( EXT_FLASH_DRV_NUM, &space );

with error F_ERR_TASKNOTFOUND.

I have no idea what that means.
by SeeCwriter
Thu Jul 24, 2014 8:08 am
Forum: NetBurner Software
Topic: microSD Sample program for Nano
Replies: 2
Views: 1973

Re: microSD Sample program for Nano

I did not see those examples. That looks like what I was looking for. Thank you.

Steve
by SeeCwriter
Mon Jul 21, 2014 2:27 pm
Forum: NetBurner Software
Topic: microSD Sample program for Nano
Replies: 2
Views: 1973

microSD Sample program for Nano

I have a NANO54415 Dev Kit, and the carrier board comes with a microSD card slot. Is there a sample program for using the microSD card? There doesn't appear to be one in the installed samples directory.

Steve