Search found 39 matches

by jtremel
Tue Mar 05, 2024 10:24 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Thanks Tom, This one definitely had me stumped. I'll rework my example (with your cache invalidation code implemented) into an endless looping "stress test" that continuously hammers the various memory locations... I'll let you now if any surprises come out. I really appreciate your quick troublesho...
by jtremel
Sun Mar 03, 2024 8:47 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Hey Tom, EDMA3CC_EMCR should be defined in hw_edma3cc.h I didn't modify any of the files from the original Kogna_I2C_LIB folder with the exception of: In my SPI dev project I renamed the folder to "TI_SOC_Lib" Kogna_edma.c - I modified the folder names in the #include statements to be "TI_SOC_Lib\" ...
by jtremel
Sun Mar 03, 2024 3:12 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Tom, Based off your example I2C program, I have been working on a demo to use the hardware SPI with and without EDMA. My demo is working well - with the exception when my transmit and receive arrays are defined outside of my main() routine. My example code is below. I have MISO and MOSI jumped toget...
by jtremel
Fri Feb 23, 2024 7:30 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Awesome!

Thank you for putting this example together!
by jtremel
Fri Feb 23, 2024 3:11 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Tom,

I can't seem to find the I2C Library folder in the download links.

The I2C_Hardware.zip just gives me a pdf datasheet to the IO expander.

Thanks,
Jim
by jtremel
Tue Feb 06, 2024 12:21 am
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Re: Kogna RS485 and I2C

Thanks Tom! I have a machine I am currently developing and I am getting ready to integrate a few mass flow controllers into the system. The MFC's can be interfaced with either RS485 or i2C communications. While I may end up settling on RS485, I have been VERY interested in building out my knowledge/...
by jtremel
Mon Feb 05, 2024 12:25 pm
Forum: C Programs
Topic: Kogna RS485 and I2C
Replies: 11
Views: 377

Kogna RS485 and I2C

Hi Tom, RS485 Question In the Kogna's Hardware/Connector Descriptions manual page it says: See the BufferedRS485Master.c and BufferedRS485 Slave Echo.c for an example of how 2 Kogna's might communicate over RS485. Where can I find these example programs? I don't see them in the typical "KmotionX.X.X...
by jtremel
Fri Sep 15, 2023 10:20 pm
Forum: C Programs
Topic: Multiple compile/link issues (Kflop works but Kogna fails)
Replies: 4
Views: 516

Re: Multiple compile/link issues (Kflop works but Kogna fails)

Thanks for the heads up on the workaround for the invalid pragma!! That was driving me nuts... This should only be an issue when using Thread #7. Were you? Yes - I was using thread 7 for my main development, but loading other test programs in the other threads. Super happy to now know why some progr...
by jtremel
Fri Sep 15, 2023 6:41 pm
Forum: C Programs
Topic: Multiple compile/link issues (Kflop works but Kogna fails)
Replies: 4
Views: 516

Re: Multiple compile/link issues (Kflop works but Kogna fails)

This is a follow up to Problem #2 in the previous post After some more googling, it seamed more than likely that the compiler is replacing memcpy() calls with a call to __c6xabi_strasgi (and apparently the appropriate library is missing from the build chain). I tested the theory by implementing mem...
by jtremel
Fri Sep 15, 2023 5:11 pm
Forum: C Programs
Topic: Multiple compile/link issues (Kflop works but Kogna fails)
Replies: 4
Views: 516

Multiple compile/link issues (Kflop works but Kogna fails)

Hi Tom, I have a "C" program that I have been developing over the last few weeks that works perfect with a Kflop board. I need to use a Kogna for this application, so I am attempting to port it over. I've run into several issues. I have NOT yet been been able to successfully build the code when targ...