RE: Real Time Clock Demo application code
Hi Tim,Ok, thank you. Im thinking the rtc_hal_calendarCounterStart, is what I need to execute to start it? So once power comes back up in a battery backed up rtc scenario, the time before the...
View ArticleRE: Real Time Clock Demo application code
Yes. Don't consider me an expert in the api for the rtc but it seemed that on startup if I just opened and then called calendarTimeGet repeatedly, I always got the same time back. It wasn't until I...
View ArticleRE: Real Time Clock Demo application code
Sorry I should have read your post more carefully. Yes, the calendarCounterStart call is enough. I'm not sure why I was getting then setting. Not as good as your suggestion. I just tested that and...
View ArticleRE: Real Time Clock Demo application code
Ok, cool. Thank you Tim. Yeah if we can help each other figure this out then great. Im thinking that there is a way to keep from loosing time. What point is a rtc if it cant keep time up over power...
View ArticleRE: How do I re-configure an RIIC pin after TX starts
OK. I figured out how to write to a register !!!I will demo and example of how to write to the ADST bit of ADCSR register to start an adc conversionAll the definitions are in "R7FS7G2x.h"All groups...
View ArticleHow do I re-configure an RIIC pin after TX starts
My hardware dictates that I must mix the suffix A and Suffix B pins on my RIIC channel 0.I have set up my touch screen using RIIC channel 0, pins are configured as suffix B.After thread X starts up I...
View ArticleRE: Fast adc read and control using Synergy
OK. I figured out how to write to a register !!!I will demo and example of how to write to the ADST bit of ADCSR register to start an adc conversionAll the definitions are in "R7FS7G2x.h"All groups...
View ArticleFast adc read and control using Synergy
I am using Synergy in an industrial controller. We picked Synergy because the controller is part of a complex system and must communicate via Ethernet to a master controller. We also liked the CPU...
View ArticleRE: Setting MAC Address
Hello Nate,You can find MAC address settings in the properties for sf_el_gx in the configurator:Regards
View ArticleRE: How do I re-configure an RIIC pin after TX starts
Hello Steve,Great stuff! Even though we discourage direct register access, it is still there for everyone to use in cases such as yours. Registers can either be accessed with their name, or as a group...
View ArticleRE: nx_packet_release returns 0x7 (NX_PTR_ERROR)
Hello Nandan,According to the NetX documentation, you shouldn't release this packet manually (I'm assuming it's done automatically):You're seeing pointer error because your send_packet_ptr is reset to...
View ArticleRE: nx_packet_release returns 0x7 (NX_PTR_ERROR)
Hi karol,But why is my nx_packet_allocate is returning the value 0x1(NX_NO_PACKET)?I added the nx_packet_release just because the allocate was returning as NX_NO_PACKET.When does nx_packet_allocate...
View ArticleRE: nx_packet_release returns 0x7 (NX_PTR_ERROR)
Hello Nandan,At line: nx_packet_allocate(&pool_0, &send_packet_ptr ,NX_TCP_SOCKET, 500), you misspelt third argument as it should say "NX_TCP_PACKET". Also verify that the IP fragmentation is...
View ArticleRE: nx_packet_release returns 0x7 (NX_PTR_ERROR)
Hi karol,"NX_TCP_SOCKET" was a typo here.But it is proper in my code.IP fragmentation is enabled while creating the socket.nx_tcp_create_scoket(&ip_0,&my_socket,(CHAR...
View ArticleRE: nx_packet_release returns 0x7 (NX_PTR_ERROR)
Hello Nandan,Please follow the example attached to see how my application handles sending TCP packets to the server. I ran this application for the past 5 minutes against an echo server and the...
View Articlenx_packet_release returns 0x7 (NX_PTR_ERROR)
Hi,I am using nx_packet_release API to release the allocated packet pointer.But always its returning the value 0x7( NX_PTR_ERROR).Same pointer which i have used for nx_packet_allocate, i am passing to...
View ArticleHELP ADC issue
I have tried many ways to get my ADC unit 0 to work (also tried on two PCB's):I tried the periodic frameworkI tried the HAL driversNow I have removed all adc set up from the configurator and am trying...
View ArticleRE: How do I re-configure an RIIC pin after TX starts
Solved !!! Figured out how to stand on my left foot, hold my right hand behind my back, then jump three times and it WORKS !!!Final code:void hmi_thread_entry(void){ // configurator is set up for...
View ArticleRE: HELP ADC issue
Here is a version of above using HAL.Set up g_adc0 on ADC Diver on r_adc in the configurator:ICU: ADC0_SCAN_END = Priority 4ADC0_SCAN_END_B = Priority 4Module: Name = g_adc0Unit = 0Resolution =...
View Article