try this... uartfd is a file descriptor as returned by the OpenSerial function. int readFD(int uartfd) { int value = -1; char theChar = 0; if (uartfd >= 0) { ...
I was just wondering if the example of the FLEXCAN module for the MOD5282 would work for the MOD5213. If it does is it possible to get a copy of the example. ...
Sorry it doesn't work there the code fist i init the serialport in a the main port_nummer=OpenSerial(1,9600,1,7,eParityEven); second i have a PIT. It count the...
Using MOD5270 and the Development Board: I have two NTP Examples here, NTPClient.dev from the standard Examples and one for setting an RTC via I2C. Neither...
Hello, I am porting the QSPI software, version for the 5272 in the Files folder of this group to the MOD5270. I have come across the following bug...it must be...
Hello, Is it possible that you are trying to use serial functions during a interupt generated by the PIT timer. No blocking functions will work inside an...
That did it! Thanks for your help! That must have been what my coworker did without realizing it. He is still not sure what he did. Aloha, -mkr _____ From:...
Hello, Recently I tried to increase number of inputs of my Netburner MOD5272 module by connecting simple external decoder (3 to 8 line type SN74LVC138) and two...
... Steve, A quick observation: This line will cause pU3 to point *two* WORDs beyond BASEADDRESS because of operator precedence and the way C handles pointer...
... Steve, You're welcome. A few more observations: 1. You should declare variables for the external hardware as volatile (e.g., "volatile unsigned short int...
Where can I find the information for programming the 25 I/Os. I know about the read, write file descriptor commands but am not sure how to use them. I have...
But i doesn't call any IO function in the interrupt. I count only the variable Timer in the PIT. What can i do? I need a function to read from the serial port...
I'm not sure what to do. I followed the instructions on seting up an IP address ect. My micro isn't showing up in the select a unit box. Please help Matt...
Matt, Go to Netburner.com, then Support, then Application notes You will find for example: Mod5270 Module and Development Board GPIO Programming Application...
Reading the literature didn't really help me with the actual C programming of the GPIOs. Some example code would really help specifically for digital I/O...
Matt, for us to point you in the best direction, we need to know which NetBurner board you are using. The specifics of programming, and the specifics of which...
Matt, Some example code for the MOD5270 .... sim.gpio.podr_datah &= ~(0xFF); // Set Data Outputs low (High Byte) sim.gpio.podr_datal &= ~(0xFF); // Set Data...
Matt, take a look in the files section. The LCD example has GPIO stuff for the mod5282, if that's your board. a quick look is: // Chip Select Define Address ...
I have the MOD5272 model. My goal is to use 8 of the I/Os to initalize a 2x16 character display and use it. My problem is that I can't find the addresses...
Hi Matt, Thanks for the additional information - that helps a great deal. As I thought might happen, two other people replied with solutions that were for...
I am using the 5282 Currently I am writing a program to use the QSPI lines as GPIO lines. I have set the following sim.gpio.pqspar = 0;//QSPI configure as GPIO...
Hi Everyone, I cant seem to get my inputs to function or read back correctly, using a MOD5270. On the Data bus low, D15-D0, configured for GPIO, I have D15-D4 ...
Hi All, The 5213 and multi-tty are working fine until I get to 'fgets()' in my application. To terminate a line of input with Multi-TTY I have to use...
... Got the answer from Netburner ""The register you may want to use to read the inputs is the Port Pin Data Set Data Register (PPDSDR); this register reflects...
Hi, I had a similar problem reading the DATAL GPIO inputs - the solution was to read the associated ppdsdr register. I notice that there is a ppdsdr for the...
Hi all, I'm looking for some information as to how to use a timer on a MOD5270. According to the specs it should have eight timers but when I try to modify the...