Forum Post: RE: Real Time Clock Demo application code
Hi Warren, I have a question about the rtc. So I can use the rtc_hal_open and then something like rtc_hal_calendartimeget to get the time or the set call to set it. Anyway, lets say I have it up and...
View ArticleForum Post: RE: Real Time Clock Demo application code
Matt, Yes, but you do have to "start" the rtc again by setting the time with the clock_start flag set to true. Tim
View ArticleForum Post: 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 ArticleForum Post: RE: 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 ArticleForum Post: RE: 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 ArticleForum Post: RE: 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...
View ArticleForum Post: RE: 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 conversion All the definitions are in "R7FS7G2x.h" All...
View ArticleForum Post: RE: 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 conversion All the definitions are in "R7FS7G2x.h" All...
View ArticleForum Post: nx_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...
View ArticleForum Post: RE: Setting MAC Address
Hello Nate, You can find MAC address settings in the properties for sf_el_gx in the configurator: Regards
View ArticleForum Post: RE: 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...
View ArticleForum Post: RE: 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...
View ArticleForum Post: RE: 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...
View ArticleForum Post: RE: 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 ArticleForum Post: RE: 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 ArticleForum Post: RE: 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 ArticleForum Post: HELP 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 framework I tried the HAL drivers Now I have removed all adc set up from the configurator and am...
View ArticleForum Post: RE: 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 ArticleForum Post: RE: Which Synergy example apps support SSP v1.1.0?
Where are these example applications?
View Article