Search found 12 matches

by BryanJS
Sun Dec 07, 2025 9:11 am
Forum: NetBurner Software
Topic: MODM7AE70 - SPI EEPROM
Replies: 5
Views: 2569

Re: MODM7AE70 - SPI EEPROM

Hi Tom,

Thank you for your reference, it was a great help and I was able to get it working.

Much appreciated
Bryan
by BryanJS
Mon Dec 01, 2025 1:35 pm
Forum: NetBurner Software
Topic: MODM7AE70 - SPI EEPROM
Replies: 5
Views: 2569

Re: MODM7AE70 - SPI EEPROM

Hi Tom,

Thanks, but the demo is I2C and I have having issues with SPI. The message format looks the same as SPI
by BryanJS
Wed Nov 26, 2025 5:39 pm
Forum: NetBurner Software
Topic: MODM7AE70 - SPI EEPROM
Replies: 5
Views: 2569

MODM7AE70 - SPI EEPROM

I am trying to read and write to an EEPROM 25LC1024. I have successfully done this on other netburner V1 products but not V3, so I am basing this off successful code.

I am not able to read or write and I am clearly doing something basic wrong. Any help advice or examples would be appreciated.

My ...
by BryanJS
Sun Nov 16, 2025 4:53 pm
Forum: NetBurner Software
Topic: MODM7AE70 - I2C AD7998
Replies: 2
Views: 1478

Re: MODM7AE70 - I2C AD7998

Okay I managed to get it working. This is the working code for anyone else who needs it.

// Read the analog values and convert
bool I2C_Services::ReadADCChannel(float &result , int iChannel)
{
bool blnOK = false;
uint8_t Buffer[2];
uint16_t iResult;

Buffer[0] = 0x80|((iChannel & 0x7)<<4 ...
by BryanJS
Fri Nov 14, 2025 6:18 pm
Forum: NetBurner Software
Topic: MODM7AE70 - I2C AD7998
Replies: 2
Views: 1478

MODM7AE70 - I2C AD7998

I am trying to read analog channels from AD7998 using the MODM7AE70.

In the past I read this successfully using the MOD5234 using the I2C.h however I am struggling to read 2 bytes from the device using the Wire.h library.

As this library is new to me, I am sure that the problem is the way I am ...
by BryanJS
Mon Jul 27, 2020 2:08 pm
Forum: NetBurner Software
Topic: RS485 Half Duplex
Replies: 1
Views: 2115

RS485 Half Duplex

I am using a Mod5234 , Uart 1 and using it for a Modbus RS485 ( Half Duplex ) communications.

The Uart_RX , Uart_Tx and Uart_RTS are controlling a SN65HVD1780 chip. I can see the data is been TX but the RX data is low. This is because the RTS Line just remains high.

How do I control the RTS line ...
by BryanJS
Thu Jun 06, 2019 3:57 pm
Forum: NetBurner Software
Topic: sscanf crashing Mod5234
Replies: 2
Views: 2972

Re: sscanf crashing Mod5234

It could be something related to the RTO task - I am using the console task skeleton to talk to serially on Port 0. From tests I think it could be related to the RTO scheduling as it seems to crash if I use on other functions as well.

Could it be a memory or task scheduling problem.



// Service ...
by BryanJS
Wed Jun 05, 2019 12:27 pm
Forum: NetBurner Software
Topic: sscanf crashing Mod5234
Replies: 2
Views: 2972

sscanf crashing Mod5234

I am having problem with the sscanf function.

It works in debug mode but as soon as I run the program it crashes. I am probably doing something fundamentally wrong.

I am trying to extract the time integers from a string I receive from the serial port 0. The string is in the format "SYNC<hh:mm:ss ...
by BryanJS
Mon Jun 18, 2018 3:21 pm
Forum: NetBurner Software
Topic: SetIntC - undefined reference
Replies: 2
Views: 2988

Re: SetIntC - undefined reference

Thank you

Removing the extern "C" resolved the problem.

extern void SetIntc(int intc, long func, int vector, int level, int prio); // Interrupt Setting
by BryanJS
Fri Jun 15, 2018 6:06 pm
Forum: NetBurner Software
Topic: SetIntC - undefined reference
Replies: 2
Views: 2988

SetIntC - undefined reference

I keep getting this error …

TCS_Utils\TCS_PIT.o: In function `InitMsPit':
C:\NetBurner\workspace\TCS_V0\Release/..\TCS_Utils/TCS_PIT.cpp:69: undefined reference to `SetIntc'

I have included all the includes so I am wondering why I am getting this error - any help would be appreciated ...